Skip to content

Follow-ups from the cd128e77 upstream sync review (#482) #484

Done

Description

@shuv1337

Follow-ups from the two fix-check reviews of #482 (upstream sync to cd128e7774, merged as 899676ecf7). None blocked the merge.

  • A watch "send" can be refused as busy just after a turn shows completed. Upstream now marks a run completed before its turn-end checkpoint is captured and holds commands until the capture commits. chore: sync with upstream pingdotgg/t3code cd128e7774 #482 applies the same hold to the fork's watch admission (apps/server/src/orchestration-v2/Orchestrator.ts, holdRunAwaitingCapture in the watch dispatch admission). During the capture window a requireIdle send is rejected with thread_busy although the thread reads "completed". Fork main behaved the same before the sync, when the run stayed "waiting" until capture. No test covers a plain send or a queue request while the hold is in effect: add one row to WatchAdmission.integration.test.ts between completion and drain (busy send refused, queue admitted), or have the watch client retry on thread_busy.
  • docs/rfcs/watch-voice-control.md links to upstream main. The RFC says its links are pinned and the files were read at the pinned commit. The links updated in chore: sync with upstream pingdotgg/t3code cd128e7774 #482 (lines ~36-37, 312, 317-318) point at main and will drift; pin them to cd128e7774. Line ~41 says 01_architecture.md supersedes the removed doc, without a source: soften or drop it.
  • One new createPullRequest test does not prove the reorder. apps/server/src/git/GitManager.test.ts (~6166-6189, unpushed branch with no usable origin) also passes with the old order, because the repository lookup already ran before the push. The second new case (gh-resolved mark) is the one that fails if the order is reverted. Either strengthen the first case or fold it into the second.
  • packages/ssh/src/tunnel.test.ts "concurrent launches on one remote home record the server that owns it" times out intermittently. It also fails on main before the sync. Find the cause; do not add a timeout or retry.
  • No planted-bug runs were recorded for the adapted desktop updater tests (apps/desktop/src/updates/DesktopUpdates.test.ts, same-channel floor and rollback). Both reviewers checked them by reading the code only.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions