Skip to content

fix(server): trim completed nodes from paged snapshots - #26209

Closed
fnkr wants to merge 1 commit into
pingdotgg:mainfrom
fnkr:fix/bound-thread-snapshot-execution-nodes
Closed

fnkr wants to merge 1 commit into
pingdotgg:mainfrom
fnkr:fix/bound-thread-snapshot-execution-nodes

Conversation

@fnkr

@fnkr fnkr commented Oct 28, 2026 •

Copy link
Copy Markdown

Problem

The T3 Code iPhone app worked on local Wi-Fi but repeatedly disconnected when opening a large thread over cellular through Tailscale. Safari was tested afterward for diagnosis and also disconnected.

A capture from the installed nightly showed a single 94 MB WebSocket message while the Tailscale tunnel stayed connected. Oversized downloads are a suspected contributor. The web client's 15-second heartbeat timeout provides a possible explanation for the Safari failure; we have not confirmed the native app's timeout or exact disconnect mechanism.

Change

Stop sending internal records for completed work outside the included history when nothing else needs them. Preserve active work, required records, and their parents. Stored history and the timeout stay unchanged.

Scope and approval

Focused follow-up to #24589, related to #24142, under CONTRIBUTING.md's focused bug-fix exception. No separate maintainer approval is claimed.

Verification

  • Regression tests fail before the fix and pass afterward.
  • Synthetic response size: 791 → 100 KB, or 759 → 68 KB in compact mode.
  • 55 focused tests passed; vp run check:changed passed.

Not yet tested on the affected iPhone app. The synthetic measurements do not measure the reduction for the observed 94 MB message.

Implemented with GPT-6.1 Sol in the Codex harness, running in T3 Code.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Oct 28, 2026
@fnkr

fnkr commented Oct 30, 2026

Copy link
Copy Markdown
Author

Was fixed in the latest release. Closing.

@fnkr fnkr closed this Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant