Skip to content

Reset iPhone New Thread state between sheet requests - #496

Closed
BunsDev with Copilot wants to merge 9 commits into
mainfrom
copilot/fix-github-actions-job-failure
Closed

BunsDev with Copilot wants to merge 9 commits into
mainfrom
copilot/fix-github-actions-job-failure

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

The iPhone companion CI flow failed because reopening New Thread after cancelling a project-specific sheet retained its previous project selection, hiding the Codex skill.

  • Isolate sheet state: Key each NewThreadSheet to its request ID so a new request gets fresh state.
    NewThreadSheet(initialProjectId: request.projectId) { ... }
        .id(request.id)
  • Add regression coverage: Assert the global New Thread sheet does not retain the cancelled project selection.

@vercel

vercel Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Nov 8, 2026 10:54am UTC

Request Review

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Reset iPhone New Thread state between sheet requests Nov 8, 2026
Copilot AI requested a review from BunsDev November 8, 2026 10:55
Base automatically changed from cf3-integration to main November 8, 2026 10:59
@BunsDev

BunsDev commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Superseded by #497, which is now on main as signed, GitHub-verified merge 85143ee4cf9cf3760c5552e2226950a7cbbeb7f1. Its landed tree aa4bd344a9fce749c459054dda72ab948ce33e04 exactly matches reviewed head d3d2eee; protected merge-group run 43011273304 passed its required macOS job; iPhone was skipped for that merge-group event. The earlier failed/cancelled queue attempts remain retained and do not establish a shutdown repair.

The landed testFreshNewThreadRequestsUseTheirOwnProjectContext independently repeats project-specific cancellation and fresh global requests three times, checks the global default project and exact unsent draft, and passes without .id(request.id). #497 also repairs the demonstrated command-picker timeout/draft recovery. A separate fresh-install integration qualification passed 44 executions: 43 ordinary passes, one intentional expected failure, no actual failures or skips.

This PR's proposed reset is therefore not needed for the demonstrated regression. Closing it as superseded; its branch and checkout are preserved. This is not a claim that every possible sheet-identity failure is impossible. Human and physical-device acceptance on #276/#281 remains open.

@BunsDev BunsDev closed this Nov 11, 2026

This branch was successfully deployed

1 active deployment
Preview — 59e54f6f Deployed Nov 8, 2026 by vercel[bot]
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.

2 participants