From 745c47e39e9630c225c611702b9dae7ea7c7a9de Mon Sep 17 00:00:00 2001 From: Mohammad Lareb Zafar Date: Sun, 6 Dec 2026 10:32:10 +0000 Subject: [PATCH] The review brief's rebuild marker write passes the scan for unnoted broad handlers test_degraded_unnoted fails on main: the second broad handler of _rebuild in server/code/app/review_brief.py logs, notes nothing and is not in the list. The handler guards the row that records a rebuild that failed, with the read that precedes it. The statement after it serves the stored brief through _stale_served, which notes code.review_brief: stale_brief_served and the build's notes whether the marker was written or not, so the answer says it is the stored brief either way. The scan reads a handler on its own, so the site is listed as a write with where the note is made. Signed-off-by: Mohammad Lareb Zafar Co-Authored-By: Claude Fable 5.2 --- tests/unit/degraded_unnoted.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/degraded_unnoted.txt b/tests/unit/degraded_unnoted.txt index 1f4a49ee29..ab444035b0 100644 --- a/tests/unit/degraded_unnoted.txt +++ b/tests/unit/degraded_unnoted.txt @@ -98,6 +98,7 @@ server/code/app/prose_candidates.py::discover_candidates::timeout::1 server/code/app/repo_admin.py::_inherit_tracker_links::1 write server/code/app/repos.py::_code_repo_rows::1 full_answer_fallback server/code/app/review_brief.py::_payload_for::1 cache_fallback +server/code/app/review_brief.py::_rebuild::2 write # the marker of a rebuild that failed; _stale_served notes stale_brief_served after it, marked or not server/code/app/risk.py::RiskPrefetch._run::1 full_answer_fallback server/code/app/risk.py::RiskPrefetch.start::1 full_answer_fallback server/code/app/search/definitions.py::_literal_leg::timeout::1 answer # the bound names nothing, as the leg's design says; the run counts it (`literal_read_cut`) and no cache keeps what it built (`degradations.unkeepable`)