Skip to content

fix(web): new worktree conversations no longer stay empty - #47

Merged
gabynevada merged 1 commit into
atlifrom
t3/fix-thread-worktree-stuck
Oct 30, 2026
Merged

gabynevada merged 1 commit into
atlifrom
t3/fix-thread-worktree-stuck

Conversation

@gabynevada

Copy link
Copy Markdown

Problem

New worktree conversations can remain on preparation or show an empty conversation even after the server creates the worktree and the agent replies. The chat lifecycle subscribes to stop status using a local draft’s reserved thread ID; the resulting pre-creation 404 is retained as a definitive missing thread until the client restarts.

Change

Wait for the server thread shell before subscribing to stop status. This fixes the shared web/desktop chat hook; mobile does not use this hook. Worktree creation and provider behavior are unchanged.

Scope and approval

Requested by the fork maintainer. This is a focused correction to an obvious lifecycle bug, with no new feature or setting.

Verification

  • Live logs confirmed snapshot requests returned thread_not_found before thread creation; the same thread subsequently completed workspace preparation and received an assistant reply.
  • Added a Chromium regression test that fails before the fix because rendering a draft loads thread detail. With the fix, it does not load until the server shell arrives.
  • vp run check:changed HEAD passed format, lint, knip, affected typechecks, the regression test, and React Compiler checks before rebasing onto current atli.
  • Full interactive client verification and before/after captures were not performed. The installed client has not been updated; this PR supplies the source fix.

Implemented with GPT-6 Astra through the Codex harness.

@atli-skald

atli-skald Bot commented Oct 30, 2026

Copy link
Copy Markdown

Skald review status

Skald: review ready (success) at review state version 10, head ff316fba5d0c64392ca5344f1b9ea87bc2e450dc.

Blocking

Nothing is holding this pull request open.

Cleared

Nothing is cleared at this epoch.

Blocking: 0. Advisory: 0. Cleared: 0. Fenced: 0.
Response required: 0.

Review rounds
  • ff316fba5d0c64392ca5344f1b9ea87bc2e450dc

@atli-skald atli-skald Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skald review is clean

Reviewed head ff316fba5d0c64392ca5344f1b9ea87bc2e450dc against base atli (d024685ace8dbbf0adfc75e27e91dcaabd9f368e).

First round

Standing summary: open

Review details

Completed reviewers:

  • architecture (hub-dispatch-v2:codex:gpt-6.1-sol:medium:8ef92ce46d3e55c4)
  • frontend (hub-dispatch-v2:codex:gpt-6.1-sol:medium:8ef92ce46d3e55c4)
  • testing (hub-dispatch-v2:codex:gpt-6.1-sol:medium:8ef92ce46d3e55c4)

@gabynevada
gabynevada merged commit 7f7c75d into atli Oct 30, 2026
4 checks passed
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