Skip to content

fix(show-runtime): own automatic request recovery - #1650

Draft
cyhhao wants to merge 1 commit into
masterfrom
fix/show-runtime-automatic-request-recovery
Draft

fix(show-runtime): own automatic request recovery#1650
cyhhao wants to merge 1 commit into
masterfrom
fix/show-runtime-automatic-request-recovery

Conversation

@cyhhao

@cyhhao cyhhao commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Stack

This draft is based on master after PR #1640 merged as 903414cc4. PR #1640 deliberately restores manual recovery and contains no automatic browser poller or request-level retry record. This successor is the only PR that may reintroduce that surface. The current commit records the seam and inherited review scope; implementation has not started.

Contract

  1. One exception-closed request owner spans precondition acquisition, transport attempt, and publication, with one publication point. Only a successful request clears request evidence; startup success cannot.
  2. The request owner publishes continuous, confirmation_pending, or manual_only. The browser owns pacing only and has no confirmation counter; a rejected fetch cannot consume manager admission.
  3. A bound on automatic attempts never gates user-initiated work. Page loads, assets, and an authorized owner Retry-now request always attempt transport. When automatic confirmation stops, public-viewer copy names actions the viewer can take: reload, then contact the owner.
  4. Polling state survives document replacement. The implementation must isolate script state or use real navigation, and must cover a non-terminal-to-non-terminal transition.
  5. A terminal response renders without another Runtime request. Header absence may reload because it proves the Runtime is serving; a terminal disposition may not manufacture the automatic attempt the owner just refused.

The recovery UI must continue projecting manager-owned reason, class, disposition, and action without a fabricating fallback. Only the authenticated instance owner may authorize explicit Retry-now; public and limited viewers remain automatic and never see an owner-only action.

Inherited Review Scope

These threads are resolved on PR #1640 because their code surface moved. Their behavioral discharge and consuming tests belong to this PR's exact-head close-out.

Verification

  • git diff --check
  • PRD records the full inherited constraints and thread links

@cyhhao
cyhhao force-pushed the fix/show-runtime-automatic-request-recovery branch from eb09d55 to 7bc1504 Compare August 23, 2026 00:45
@cyhhao
cyhhao changed the base branch from fix/show-runtime-retry-recovery to master August 23, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant