GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(server): a terminal commit refreshes cached Changes totals by juliusmarminge · Pull Request #42365 · pingdotgg/t3code Conversation
|
| Before | After | |
|---|---|---|
| Commit | 902d369808 | f5d2d98bd9 |
| Dirty collapsed row | ||
| 65 seconds after commit and push | ||
| Recording | Before recording | After recording |
Not shown:
vp test run src/vcs/VcsStatusBroadcaster.test.ts -t "terminal commit clears" (apps/server, before the fix): failed, reproducing the bugvp test run src/vcs/VcsStatusBroadcaster.test.ts (apps/server, after the fix): 58 passedvp run check:changed: format, lint, knip, graphql, typecheck (3 packages) and tests (2 files) all passedRun by the t3code factory in T3 Code.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…'s totals Reproduces #42347: the status watcher only reacts to the HEAD file, so a commit that moves refs/heads/<branch> and the index leaves cached working-tree totals stale for subscribers like Thread Details' collapsed repository rows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The status watcher only reacted to the HEAD file, but a terminal commit moves refs/heads/<branch> and the index, not HEAD. Collapsed repository rows in Thread Details kept the pre-commit counts until a turn ended or the row was expanded. Also react to the index, which every commit rewrites next to HEAD. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Linked Issues check | Linked issue #42347 requires that a collapsed submodule row stop showing stale working-tree counts after the submodule and parent are committed and pushed and the trees are clean. The PR adds index … |
Provide the diff hunk for watchHead in apps/server/src/vcs/VcsStatusBroadcaster.ts between merge base 902d369 and head f5d2d98, and the new test in apps/server/src/vcs/VcsStatusBroadcaster.test.ts. Also provide the output of `vp tes… |
Explanation
The title names the main change: a terminal commit now refreshes the cached Changes totals. The diff makes the status watcher react to the index file as well as HEAD, which is the fix for that behavior. The title uses the conventional commit form and is specific enough for a teammate scanning history. It omits the index-file mechanism, which is acceptable because the title does not need every detail.
Explanation
The change set, as described by the summary, has two files. The watcher filter change in apps/server/src/vcs/VcsStatusBroadcaster.ts adds index events to the existing HEAD events that trigger the status refresh. The test in apps/server/src/vcs/VcsStatusBroadcaster.test.ts covers that same trigger. Both changes connect directly to #42347. The PR states that push-only refs/remotes changes and the branchConfirmedUnder read cost are not part of this change. No unrelated file or behavior appears in the summary. The line-level content was not fully read, so this result relies on the summary.
Explanation
The description follows the repository template closely. It has a Problem section that explains the stale collapsed-row counts after a terminal commit, with reproduction steps on main. The Change section explains that the status watcher now reacts to the index file as well as HEAD, and why that fixes the stale totals. The Scope section links issue #42347 as the bug report. The Verification section lists the focused test that failed before the fix and passed after, the full test file run, the check:changed run, CI results, and an explicit note on what was not shown (reload persistence and expansion recovery). It also names the models and harnesses used, as the template requests. The title check is outside this assessment. Minor gaps: the Problem section is longer than the template's one-or-two-sentence guidance, and the Scope section does not say whether a maintainer requested the PR. Neither gap is critical.
Explanation
Linked issue #42347 requires that a collapsed submodule row stop showing stale working-tree counts after the submodule and parent are committed and pushed and the trees are clean. The PR adds index to the watchHead filter in apps/server/src/vcs/VcsStatusBroadcaster.ts (summary: +5/-1) and adds a test that simulates a terminal commit by updating index and refs/heads/main without touching HEAD. The PR description and objectives state the test failed before the fix and passed after (58 tests). Those results are author-reported. The whole-PR diff was unavailable because changed blobs are missing from the checkout. The head file read was truncated at 16000 bytes before the watchHead function, so the changed hunk and the new test body were not read. The behavior of the watcher change and the test result cannot be confirmed from source. The push-only case (refs/remotes/* movement) is excluded by the PR and is not needed for the working-tree totals that the issue describes. The premise that git commit rewrites the index file was also not verified.
Resolution
Provide the diff hunk for watchHead in apps/server/src/vcs/VcsStatusBroadcaster.ts between merge base 902d369 and head f5d2d98, and the new test in apps/server/src/vcs/VcsStatusBroadcaster.test.ts. Also provide the output of vp test run src/vcs/VcsStatusBroadcaster.test.ts at the head. With these, the requirement can be assessed directly.
f43e4842-c149-4ec2-aba2-5e1aafc1e3e4apps/server/src/vcs/VcsStatusBroadcaster.test.tsapps/server/src/vcs/VcsStatusBroadcaster.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
**v0.1.12-nightly.20261124.5209** · 23 changes from 11 contributors - **T3 Connect sign-in alerts.** Get notified when a new T3 Connect device signs in. - **Antigravity quota recovery.** Threads can resume or snooze automatically when Antigravity reports a quota reset time in its error message. - **Theme editor changes.** Canceling an input method candidate with Escape no longer closes the editor and discards unsaved changes. ### Plus 19 more bug fixes. <details> <summary>Full changelog</summary> ## What's Changed * fix(web): Voice Models language menu resets its search filter on close by @only21mil in pingdotgg/t3code#42321 * feat(connect): tell people when a new T3 Connect device signs in by @juliusmarminge in pingdotgg/t3code#42311 * fix(web): new-commits banner on a PR spans the full header width by @juliusmarminge in pingdotgg/t3code#42342 * fix(web): opening a resolved PR comment keeps its toggle under the cursor by @ipanasenko in pingdotgg/t3code#42312 * fix(web): large SVG project icons come back after their link expires by @smirea in pingdotgg/t3code#42329 * fix(server): Antigravity quota failures keep the 'Resets in' reset time by @juliusmarminge in pingdotgg/t3code#42339 * fix(server): file listing keeps gitignore status when a filename looks like a git pathspec by @only21mil in pingdotgg/t3code#42333 * fix(bitbucket): checkouts cloned from ssh.bitbucket.org match their pull requests by @adrhumphreys-atlas in pingdotgg/t3code#42330 * fix(client): a tab-indented fence line in a PR description code block no longer swaps which video plays by @Marve10s in pingdotgg/t3code#42331 * fix(web): script command field shows both hyphens with ligature fonts by @Mnigos in pingdotgg/t3code#42352 * fix(server): honor sort: "created" when merging IssueService.list entries by @AymanKhan9 in pingdotgg/t3code#42350 * fix(server): a terminal commit refreshes cached Changes totals by @juliusmarminge in pingdotgg/t3code#42365 * fix(web): an IME Escape no longer closes the theme editor or ends inspection by @omaribrahim6 in pingdotgg/t3code#42332 * fix(web): Esc in a font family field closes Settings when no edit is pending by @only21mil in pingdotgg/t3code#42361 * fix(relay): traces no longer record callers' IP addresses or user agents by @juliusmarminge in pingdotgg/t3code#42380 * fix(server): source control discovery no longer runs the auth command of a CLI that is not installed by @juliusmarminge in pingdotgg/t3code#42379 * fix(web): sidebar issue and pull request badges share one component by @Bil0000 in pingdotgg/t3code#42275 * feat(relay): delete a user's relay data when Clerk deletes the user by @juliusmarminge in pingdotgg/t3code#42285 * fix(web): Esc in Theme Editor color filter clears the filter without closing the editor by @juliusmarminge in pingdotgg/t3code#42395 * fix(mobile): analytics uses its own random device id by @juliusmarminge in pingdotgg/t3code#42394 * fix(desktop): Windows desktop applies the saved user telemetry opt-out by @juliusmarminge in pingdotgg/t3code#42376 * fix(web): Enter commits Background Activity interval values by @only21mil in pingdotgg/t3code#42392 * fix(server): analytics no longer reads or sends Codex and Claude account IDs by @gabrielelpidio in pingdotgg/t3code#42299 ## New Contributors * @adrhumphreys-atlas made their first contribution in pingdotgg/t3code#42330 **Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261124.5204...v0.1.12-nightly.20261124.5209 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261124.5209
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Collapsed submodule row shows stale change counts after commit and push
There was an error while loading. Please reload this page.