GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — fix(desktop): drive renderer recovery with an explicit state machine by Hona · Pull Request #61908 · anomalyco/opencode Conversation
Member
Replaces the Bugs
Statetype RecoveryState = | { status: "idle"; attempt: number } | { status: "sampling"; attempt: number; sample: SampleSession } // Keep Waiting while the 15 s sampler runs | { status: "dialog"; attempt: number; incident: RecoveryIncident; sample: SampleSession | undefined } | { status: "exporting"; attempt: number; incident: RecoveryIncident | undefined; resumeSampling: boolean } | { status: "closed" } type RecoveryIncident = | { kind: "unresponsive" } | { kind: "load-failed"; url: string; code: number; description: string } | { kind: "terminated"; reason: string; exitCode: number | undefined } stateDiagram-v2
[*] --> idle
idle --> dialog: unresponsive / load.failed / process.gone
dialog --> dialog: higher-priority incident (abort + reopen)
dialog --> idle: responsive (unresponsive only) / Keep Waiting
dialog --> sampling: Keep Waiting while sampling
sampling --> idle: responsive / sample window elapsed
sampling --> dialog: new incident
dialog --> exporting: Export Logs
exporting --> exporting: responsive clears incident / higher-priority incident
exporting --> dialog: export settled or timed out, incident present
exporting --> idle: export settled, incident cleared
dialog --> closed: Relaunch / Quit
idle --> closed: window.closed
sampling --> closed: window.closed
dialog --> closed: window.closed
exporting --> closed: window.closed
Deleted
Product calls
Deviations from the design
Tests
The change is off the hot path, so it has no benchmark. Visual<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none" stroke="currentColor"> <rect x="20" y="6" width="200" height="60" opacity="0.35"/> <line x1="20" y1="14" x2="220" y2="14" opacity="0.35"/> <g opacity="0"> <rect x="70" y="20" width="100" height="40" stroke-dasharray="3 2"/> <line x1="80" y1="30" x2="140" y2="30" opacity="0.6"/> <rect x="80" y="44" width="22" height="8" opacity="0.6"/> <rect x="109" y="44" width="22" height="8" opacity="0.6"/> <rect x="138" y="44" width="22" height="8" opacity="0.6"/> <animate attributeName="opacity" values="0;1;1;0;0" keyTimes="0;0.1;0.45;0.55;1" dur="4s" repeatCount="indefinite"/> </g> <g> <rect x="70" y="20" width="100" height="40" stroke-width="1.5"/> <line x1="80" y1="30" x2="150" y2="30"/> <line x1="80" y1="36" x2="130" y2="36" opacity="0.5"/> <rect x="80" y="44" width="22" height="8" fill="currentColor" fill-opacity="0.25"/> <rect x="109" y="44" width="22" height="8"/> <rect x="138" y="44" width="22" height="8"/> <animate attributeName="opacity" values="0;0;1;1;0" keyTimes="0;0.5;0.6;0.92;1" dur="4s" repeatCount="indefinite"/> </g> </svg>
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level. An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The change looks sound. I couldn't run it end to end: it's the Electron desktop app, and the sandbox has no display. In Public API: unchanged. Everything is internal to the desktop main process, and the No blocking concerns.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
1 task
This was referenced
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reviewers
Copilot code review
Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | ||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |