Skip to content

Wait for restored companion state before visual capture - #13

Merged
pedrobritx merged 1 commit into
mainfrom
fix/companion-restore-readiness
Oct 26, 2026
Merged

pedrobritx merged 1 commit into
mainfrom
fix/companion-restore-readiness

Conversation

@pedrobritx

Copy link
Copy Markdown
Owner

Merged-main WebKit CI 40402855500 passed 25/26 cases, then the companion capture waited on a hidden Essentials radio. Its retained trace shows the eager Return to choices visibility check returning false while a completed dry run was being restored; the final snapshot shows the progress view and its return button.

The session banner is set before initial run restoration finishes. Register the initial /api/state response wait before navigation, decide from its actual status, and let the return-button click wait for rendering. An idle companion stays on choices. This changes only test readiness; application code, assertions and the 60-second budget are unchanged.

Validation:

  • Three controlled Chromium delayed-state probes reproduced the old skipped-return/hidden-radio mechanism and verified the response-based branch restores choices.
  • Three real Chromium companion captures passed, covering idle and previously completed state, without retries.
  • Formatting and whitespace passed. Published tree matches locally tested tree 8343439f8dbe1c7b82ff7f5bcc8d4d2b24bb6feb.
  • Docker, native macOS, Firefox and WebKit were unavailable locally for this pass; hosted full-suite revalidation remains required.

Failure evidence: https://github.com/pedrobritx/mac-setup/actions/runs/40402855500/artifacts/12690630070

PR #12's component plan is already merged and removed. This evidenced visual-test race does not establish the cause of the historical PR #8 timeout. The production gate for 67d334b was skipped after main CI failed. A local live probe confirmed equality of all seven deployed assets but its two browser cases hit ERR_CERT_AUTHORITY_INVALID under the local proxy; TLS verification was not disabled. Real installation and human acceptance remain Not run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T21:33:23.760094Z c44b692 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pedrobritx
pedrobritx merged commit bd56168 into main Oct 26, 2026
10 checks passed
@pedrobritx
pedrobritx deleted the fix/companion-restore-readiness branch October 26, 2026 22:20
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