Repository navigation
Conversation
Collaborator
Author
|
Thanks. Reveals sent after the renderer goes away already fail fast. This PR only speeds up the failure of a reveal that is in flight during a reload or crash, which fails either way. It also adds plumbing, churn in the shared fixture, and an N=1/10/100 loop test. Closing because the gain is too small for the code it adds. Closing per maintainer triage (low-risk / zero user trade-off / material-gain bar). |
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.
LoC: +125/-14
Retire pending terminal-session reveal replies on committed navigation, renderer crash, destruction or window close. Reuse the existing renderer lifetime and event fanout; preserve payloads, sender/request and expected-process identity checks, the live ten-second deadline, and existing runtime_unavailable errors. Concurrent requests share one native reply listener.
Validation: 35 focused tests and all five unchanged normal precommit tasks pass. Exact old source fails five retirement checks while two controls pass. Actual bundled production notifier/sender/navigation comparisons at N1/10/100 release every pending deadline and reply callback; healthy identity, foreign sender, sibling, send failure and original deadline controls pass. Five relevant base sources equal main9dd4dc5d. No native app, CPU/RSS/latency or full-app claim. TypeScript and aggregate validation are queued after #35453; no aggregate pass or Claude takeover claimed.
Reliability invariant
terminal-session.renderer-reveal-ownership: exact current-owner acknowledgement, immediate obsolete-request cleanup and preserved durable provider state. Focus requests are globally coalesced; N is a resource-ownership workload, not N simultaneous focus operations. Gate oracle: focused retirement/receipt/sibling/deadline tests. Accepted coverage gap: rendered/native and live local/daemon/SSH/WSL/mobile transition acceptance. No provider, path, workspace-kind or remote schema change. Internal error-page commits remain outside this PR's helper coverage.Frozen head
464d30c9d9527f527b986d2fca2c47c9cdb363e5, base50182418667d99313fab4ff18efde230b08b79f3. Report and preserved diagnostics:/home/neil/.local/state/orca-electron-audit/terminal-session-reveal-retirement/report.md. Existing installed dependencies reused without installation or repair.