docs(agents): a repair that succeeded and reported failure #145
No reviewers
Labels
No labels
blocked
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
waiting-on-julian
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jlxq0/matrix-mcp!145
Loading…
Reference in a new issue
No description provided.
Delete branch "repair-lesson"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two entries a reader cannot get from a diff.
A repair can succeed and report failure. The device-key heal said "device keys still not published after rebuild" about a rebuild that had published. It re-checked 531 ms after wiping, and a rebuilt client publishes from the background sync loop rather than from
for_user. What found it was re-running the same check an hour later and getting a normal answer, with Synapse's row count for that device moving 0 at 12:25:13Z to 1 at 16:13:10Z.Every line of that code was correct and it was wrong about when it looked, which is why no test caught it. The entry is: when a repair reports failure, re-run its own check before believing it, because a verification immediately after the thing it verifies measures the repair rather than the repaired.
Which event published the keys is an inference from timing, not something the rows record, and the entry says so: two samples four hours apart cannot separate the rebuild from anything between.
The second entry closes a question. An
Unexpected errorpage was reported as a defect here. This repository never renders that string —error_pageproduces a headed page with the escaped message and a Start over link, and greppingsrc/for it returns nothing. The page was MAS's. Recorded because where this surface ends is a fact, and the next person handed the same screenshot should not search this tree for it again.Gates: fmt, clippy
-D warnings,308 passed; 0 failed.