Files
orca/src
Brennan Benson 215604f458 fix(tasks): hold dialog-confirmed issue state over stale Tasks list refetches (STA-3343) (#12830)
* fix(tasks): hold dialog-confirmed issue state over stale list refetches (STA-3343)

Closing an issue from GitHubItemDialog patched workItemsCache directly
with no mutation-registry record, so a search-lagged Tasks refetch
(GitHub search index eventual consistency + gh's ~120s URL cache)
silently reverted the row to Open. Record the confirmed state as
registry authority (same mechanism the list-row mutations use) so list
fetch paths re-assert it until search catches up; quiet adopt still
releases it on match, so external reverts win once the index is fresh.

Covers issue close/reopen, PR close/reopen, and PR merge in the dialog.

* fix(tasks): preserve newer state authority on rollback
2026-08-05 22:25:01 -07:00
..