Repository navigation
#722 Repoint the quarantined view test at an open issue — fixes main - #723
Merged
Merged
Conversation
Fixes main. The #703 suppression lint requires every [Ignore] to name an OPEN issue; PR #721 closed #718 while leaving ViewCreatedBeforeTheSpawns_ConvergesWithOneCreatedAfter quarantined against it, so the lint went red on main. The lint is right and its own message says what to do: this is a distinct defect and needs its own issue, not a stale reference. #718's headline was a SYSTEM never seeing entities spawned after startup, and that is fixed. What remains is a pull View held by user code that nobody refreshes, filed as #722 with the reason direction 1 is a design rather than a repair — ViewRegistry is keyed per indexed FIELD and an unfiltered query has no field to register under. Note the timing hole, because it will recur: the lint passed on the PR (#718 was open) and failed on main (the merge closed it). Any change that both closes an issue and leaves an [Ignore] pointing at it is green before merge and red after, so the closing-keyword check wants a companion that asks whether anything in the tree still cites what the message closes. Suite 5055/0/13. One run also lost ConcurrentAllocateAndFree_MaintainsConsistency, which is a named victim of #720; it passes in isolation and the re-run was clean.
This was referenced Aug 8, 2026
nockawa
added a commit
that referenced
this pull request
Aug 9, 2026
update-on-merge ran `gh issue close` on the first #N in the PR TITLE, unconditionally. That made the title a third way to close an issue, alongside a closing keyword in the squash message and one in the PR description — and it is the one nobody designed. It collides head-on with this repo's own convention of prefixing a title with the issue a change RELATES to. A leading #N means "about", not "completes". It closed issue #722 minutes after that issue was filed to track REMAINING work, because PR #723 was titled "#722 Repoint the quarantined view test ...". That turned an [Ignore("#722")] into a reference to a closed issue and reddened main. Neither the closing-keywords gate nor the suppression companion from #725 could see it: both read keywords, and this path used none. Three mechanisms, one gate. Closing is now GitHub's job alone, from an explicit Closes #N. One mechanism, and it is the one already guarded. The board still moves, which is the half worth keeping — and it is now more correct than before, not merely preserved. It reads the issue's ACTUAL state instead of assuming the merge completed it: closed -> Done (a keyword or a human closed it; update-status-on-close usually does this via the issues.closed event, and doing it here too covers an issue closed BEFORE the merge, where no such event fires at merge time) open -> Todo (its PR is no longer open, so by the three-state lifecycle it is neither Done nor In Progress — "an issue stays In Progress while its PR is open") So a title that merely names a related issue now parks it in Todo rather than claiming Done for work that did not happen. That open -> Todo transition is exactly the correction I had to apply by hand to #582 and #688 earlier today. Verified: no live `gh issue close` remains, the mutation binds $TARGET_STATUS, `bash -n` clean, and the branch simulated both ways — closed gives Done, open gives Todo.
nockawa
added a commit
that referenced
this pull request
Aug 9, 2026
update-on-merge ran `gh issue close` on the first #N in the PR TITLE, unconditionally. That made the title a third way to close an issue, alongside a closing keyword in the squash message and one in the PR description — and it is the one nobody designed. It collides head-on with this repo's own convention of prefixing a title with the issue a change RELATES to. A leading #N means "about", not "completes". It closed issue #722 minutes after that issue was filed to track REMAINING work, because PR #723 was titled "#722 Repoint the quarantined view test ...". That turned an [Ignore("#722")] into a reference to a closed issue and reddened main. Neither the closing-keywords gate nor the suppression companion from #725 could see it: both read keywords, and this path used none. Three mechanisms, one gate. Closing is now GitHub's job alone, from an explicit Closes #N. One mechanism, and it is the one already guarded. The board still moves, which is the half worth keeping — and it is now more correct than before, not merely preserved. It reads the issue's ACTUAL state instead of assuming the merge completed it: closed -> Done (a keyword or a human closed it; update-status-on-close usually does this via the issues.closed event, and doing it here too covers an issue closed BEFORE the merge, where no such event fires at merge time) open -> Todo (its PR is no longer open, so by the three-state lifecycle it is neither Done nor In Progress — "an issue stays In Progress while its PR is open") So a title that merely names a related issue now parks it in Todo rather than claiming Done for work that did not happen. That open -> Todo transition is exactly the correction I had to apply by hand to #582 and #688 earlier today. Verified: no live `gh issue close` remains, the mutation binds $TARGET_STATUS, `bash -n` clean, and the branch simulated both ways — closed gives Done, open gives Todo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
main, red since4956f242oninvariants:Depends on log2n-io/typhon-claude#72 (docs-first).
What happened
PR #721 said
Closes #718and leftViewCreatedBeforeTheSpawns_ConvergesWithOneCreatedAfterquarantined against #718 for direction 1, which it deliberately did not implement. My error — the quarantine reason literally says "needs direction 1" and I still let the message close the issue.Why the PR gate could not catch it
The lint passed on #721 (#718 was open then) and failed on
main(the merge closed it). Any change that both closes an issue and leaves an[Ignore]pointing at it is green before merge and red after. Same shape as the cross-repo deadlock #70 fixed: a check evaluated against a world the merge changes.Worth a companion to
closing-keywordsthat asks whether anything in the tree still cites what the message closes. Not in this PR.The fix
The lint's own message prescribes it: "that is a NEW defect and needs a new issue, not a stale reference." And the two cases really are distinct:
SystemInputView_SeesEntitiesSpawnedWhileTheRuntimeIsRunninggreenReopening #718 would also have cleared the lint, and would have misrepresented merged work: the P0 it was filed for is fixed.
#722 carries the reason direction 1 is a design and not a repair —
ViewRegistryis keyed per indexed field, every publisher iterates fields to find subscribers, and an unfiltered query has no field to register under. Typed Bug, P2, Area Query, Estimate L.Verified
One run also lost
ConcurrentAllocateAndFree_MaintainsConsistency— a named victim of #720. It passes in isolation and the re-run was clean; recorded rather than ignored.🤖 Generated with Claude Code
https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk