test: prune trivial error and layout tests - #8400

Merged
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2
Aug 27, 2026
Merged

test: prune trivial error and layout tests#8400
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2

Conversation

@t3-code

@t3-codet3-codeBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

this removes seven complete low-signal test files and narrows three source symbols that were public only for those tests.

removals

  • deletes error-value tests that repeated tagged-error constructor fields and message getters
  • deletes sidebar width tests that mirrored simple clamp expressions and searched raw source for tailwind classes
  • deletes direct mirrors of string truncation, session fallback, and catalog error construction
  • keeps CatalogDependencyResolutionError, initialConfigOption, and THREAD_SIDEBAR_DEFAULT_WIDTH local now that no production consumer imports them

this removes 15 tests and 213 test lines. production behavior is unchanged.

verification

before deletion:

  • vp test run <seven removed files> passed, 7 files and 15 tests

after deletion:

  • retained checkpointing, terminal, and client-runtime neighbor suites passed, 7 files and 85 tests
  • affected scripts, web, client-runtime, shared, and server package typechecks passed
  • typechecks emitted only existing effect suggestion diagnostics
  • targeted lint passed
  • targeted formatting passed
  • git diff --check passed
  • all 1,030 open pull requests were checked for path conflicts; none touches these files

generated by gpt-5.6-sol with hermes agent.

request provenance


Note

Low Risk
Test-only deletions and export-to-module-private refactors with no runtime logic changes.

Overview
Removes seven low-signal test files (~213 lines, 15 tests) that mostly asserted tagged-error fields/messages, mirrored simple clamp math for the thread sidebar, or read source files for Tailwind class strings. Production behavior is unchanged.

Tightens module boundaries by making symbols test-only exports private: THREAD_SIDEBAR_DEFAULT_WIDTH in threadSidebarWidth.ts, initialConfigOption in session.ts, and CatalogDependencyResolutionError in resolve-catalog.ts.

Reviewed by Cursor Bugbot for commit 746f1fd. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Remove trivial error and layout test files and privatize now-unused exports

  • Deletes nine test files that validated simple error constructors, schema checks, layout constants, and string utilities.
  • Removes the export keyword from THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, and CatalogDependencyResolutionError, making them module-private since their tests no longer reference them externally.
  • Risk: any out-of-tree code importing THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, or CatalogDependencyResolutionError from threadSidebarWidth.ts, session.ts, or resolve-catalog.ts will break.

Macroscope summarized 746f1fd.

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
@github-actionsgithub-actionsBot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.8%)15.1 KiB
CodexThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+26.1%)7.3 KiB
CodexLive turn WebSocket wire5.9 KiB6.4 KiB+599 B (+10.0%)7.8 KiB
CodexLive turn WebSocket decoded49.7 KiB55.6 KiB+5.9 KiB (+11.8%)66.4 KiB
CodexLive turn messages1611−5 (−31.3%)21
ClaudeTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.7%)15.1 KiB
ClaudeThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+25.9%)7.3 KiB
ClaudeLive turn WebSocket wire5.9 KiB6.4 KiB+604 B (+10.1%)7.8 KiB
ClaudeLive turn WebSocket decoded50.6 KiB56.4 KiB+5.9 KiB (+11.6%)66.4 KiB
ClaudeLive turn messages1611−5 (−31.3%)21

Baseline: 83d769f · PR result: 746f1fd · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 746f1fd

Macroscope's review found this PR approvable — The change is limited to deleting test-only files and making three previously test-only exports module-private; the underlying production logic and request-path behavior remain unchanged. The only residual impact is a narrow reduction of undocumented export surface, with no in-repository consumers found.

You can add or adjust custom eligibility rules. Learn more.

@t3-code
t3-codeBot merged commit f6f2be3 into mainAug 27, 2026
22 checks passed
@t3-code
t3-codeBot deleted the test/prune-low-signal-tests-2 branch August 27, 2026 13:50
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 28, 2026
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
github-actionsBot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 29, 2026
## What's Changed
* fix(grok): improve skills, plans, usage, and turn reliability by @t3dotgg in pingdotgg/t3code#8358
* fix(server): recover stale Codex approval callbacks by @luckyPipewrench in pingdotgg/t3code#5195
* test(server): remove duplicate missing worktree test by @t3-code[bot] in pingdotgg/t3code#8252
* fix(server): replay all un-applied events during projection bootstrap by @krutftw in pingdotgg/t3code#7538
* test: remove low-signal test files by @t3-code[bot] in pingdotgg/t3code#8397
* test: prune trivial error and layout tests by @t3-code[bot] in pingdotgg/t3code#8400
* Fix Android adaptive launcher icon by @colonelpanic8 in pingdotgg/t3code#4332
* feat(web): split provider settings into list and editor by @t3dotgg in pingdotgg/t3code#8380
* fix(codex): accept Codex 0.150 account plans by @gsimone in pingdotgg/t3code#8447
* fix(tooling): allow ignored-only staged changes by @juliusmarminge in pingdotgg/t3code#8468
* fix(mobile): keep iOS home header stable by @juliusmarminge in pingdotgg/t3code#8467
* fix(web): stop showing red x summaries for ordinary tool failures by @t3dotgg in pingdotgg/t3code#8395
* fix(mobile): refine Git action toast glass styling by @juliusmarminge in pingdotgg/t3code#8399
* fix(desktop): allow preview automation in agent-created threads by @t3dotgg in pingdotgg/t3code#8483
* test(web): remove redundant cache key test by @t3-code[bot] in pingdotgg/t3code#8484
* fix(release): move nightly schedule to minute 38 by @t3dotgg in pingdotgg/t3code#8509
* fix(web): stabilize the provider settings editor by @t3dotgg in pingdotgg/t3code#8472
* fix(web): open GitHub pull requests in browser when loading fails by @t3dotgg in pingdotgg/t3code#8507
* fix(codex): show sub-agent models by @t3dotgg in pingdotgg/t3code#8502
* feat(analytics): report connected client platforms by @t3dotgg in pingdotgg/t3code#8481
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB by @t3dotgg in pingdotgg/t3code#8235
* feat(web): toggle a thread's pin from the keyboard by @ipanasenko in pingdotgg/t3code#8440
* fix(web): add back button to project settings by @StiensWout in pingdotgg/t3code#8168
* refactor(mobile): compile semantic themes for Uniwind by @juliusmarminge in pingdotgg/t3code#7327
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times by @ikifar2012 in pingdotgg/t3code#5769
* fix(mobile): show OpenCode model sources in picker by @juliusmarminge in pingdotgg/t3code#8573
* fix(clients): honor project default models in new threads by @anirudhsama in pingdotgg/t3code#6011
* fix(mobile): show file actions on Android by @none23 in pingdotgg/t3code#8215
* fix(connect): explain DPoP connection failures by @extoci in pingdotgg/t3code#8351
* feat(web): make the sidebar project filter a searchable combobox by @SunkenInTime in pingdotgg/t3code#5931
* fix(server): a draft can retry its first send after a failed bootstrap by @shivamhwp in pingdotgg/t3code#8226
* fix(desktop): stop hidden previews draining battery by @Bil0000 in pingdotgg/t3code#8567
* fix(desktop): oauth popups open from the browser preview by @walid-baharwal in pingdotgg/t3code#8435
* fix(web): keep long task drawers usable on small screens by @shivamhwp in pingdotgg/t3code#8313
* fix(opencode): handle child approvals, stops, and model catalogs by @t3dotgg in pingdotgg/t3code#8480
* fix: make thread auto-settling opt-in by @shivamhwp in pingdotgg/t3code#8321
* fix(web): stop session activity timing test from blocking releases by @t3dotgg in pingdotgg/t3code#8585
* fix(mobile): show composer menus when starting a task by @juliusmarminge in pingdotgg/t3code#8587
* fix(web): show the configured stash shortcut by @UtkarshUsername in pingdotgg/t3code#8437
* feat(web): add toggleable confirmation before unpinning a thread by @UtkarshUsername in pingdotgg/t3code#7313
* fix: restore automatic thread settling defaults by @t3dotgg in pingdotgg/t3code#8596
* fix(mobile): restore composer glass and rounded shadows by @juliusmarminge in pingdotgg/t3code#8597
## New Contributors
* @luckyPipewrench made their first contribution in pingdotgg/t3code#5195
* @krutftw made their first contribution in pingdotgg/t3code#7538
* @colonelpanic8 made their first contribution in pingdotgg/t3code#4332
* @ikifar2012 made their first contribution in pingdotgg/t3code#5769
* @walid-baharwal made their first contribution in pingdotgg/t3code#8435
**Full Changelog**: pingdotgg/t3code@v0.0.35...v0.0.36
Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.36
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Aug 29, 2026
* fix(grok): improve skills, plans, usage, and turn reliability (pingdotgg#8358)
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
* fix(server): recover stale Codex approval callbacks (pingdotgg#5195)
* test(server): remove duplicate missing worktree test (pingdotgg#8252)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(server): replay all un-applied events during projection bootstrap (pingdotgg#7538)
Co-authored-by: Theo Browne <me@t3.gg>
* test: remove low-signal test files (pingdotgg#8397)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* test: prune trivial error and layout tests (pingdotgg#8400)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* Fix Android adaptive launcher icon (pingdotgg#4332)
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
* feat(web): split provider settings into list and editor (pingdotgg#8380)
* fix(codex): accept Codex 0.150 account plans (pingdotgg#8447)
* fix(tooling): allow ignored-only staged changes (pingdotgg#8468)
* fix(mobile): keep iOS home header stable (pingdotgg#8467)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): stop showing red x summaries for ordinary tool failures (pingdotgg#8395)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(mobile): refine Git action toast glass styling (pingdotgg#8399)
* fix(desktop): allow preview automation in agent-created threads (pingdotgg#8483)
* test(web): remove redundant cache key test (pingdotgg#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(release): move nightly schedule to minute 38
Recent scheduled nightlies have been delayed or skipped.
Move the nightly cron from minute 7 to minute 38. Keep the existing three-hour interval. This tests a different point in each three-hour window without claiming it will fix GitHub schedule delivery.
Authored by GPT-5.6 Sol with the Codex harness.
* fix(web): stabilize the provider settings editor (pingdotgg#8472)
* fix(web): open GitHub pull requests in browser when loading fails (pingdotgg#8507)
* fix(codex): show sub-agent models (pingdotgg#8502)
* feat(analytics): report connected client platforms (pingdotgg#8481)
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB (pingdotgg#8235)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(web): toggle thread pin from the keyboard
Add a mod+shift+p shortcut that pins or unpins the active thread. Ignore the shortcut during terminal focus and when the server does not support thread pinning.
* fix(web): add back button to project settings (pingdotgg#8168)
* refactor(mobile): compile semantic themes for Uniwind (pingdotgg#7327)
Co-authored-by: codex <codex@users.noreply.github.com>
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times (pingdotgg#5769)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
* fix(mobile): show OpenCode model sources in picker (pingdotgg#8573)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(clients): honor project default models in new threads (pingdotgg#6011)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(mobile): show file actions on Android (pingdotgg#8215)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(connect): explain DPoP connection failures (pingdotgg#8351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): make the sidebar project filter a searchable combobox (pingdotgg#5931)
* fix(server): a draft can retry its first send after a failed bootstrap (pingdotgg#8226)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(desktop): stop hidden previews draining battery (pingdotgg#8567)
* fix(desktop): oauth popups open from the browser preview (pingdotgg#8435)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep long task drawers usable on small screens (pingdotgg#8313)
* fix(opencode): handle child approvals, stops, and model catalogs (pingdotgg#8480)
* fix: make thread auto-settling opt-in (pingdotgg#8321)
* fix(web): stop session activity timing test from blocking releases (pingdotgg#8585)
* fix(mobile): show composer menus when starting a task (pingdotgg#8587)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): show the configured stash shortcut (pingdotgg#8437)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* feat(web): add toggleable confirmation before unpinning a thread (pingdotgg#7313)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix: restore automatic thread settling defaults (pingdotgg#8596)
* fix(mobile): restore composer glass and rounded shadows (pingdotgg#8597)
Co-authored-by: Julius Marminge <julius@mac.lan>
* Remove Messages Glass Lab experiment (pingdotgg#8599)
* chore(release): prepare v0.0.36
---------
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
Co-authored-by: Josh <gitlucky@pipelab.org>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Tradi3 <56069280+krutftw@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Gianmarco <gianmarcosimone89@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Anirudh Coontoor <anirudh@gosupernova.live>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Muhammad Waleed <114993336+walid-baharwal@users.noreply.github.com>
longtngo added a commit to longtngo/t3code that referenced this pull request Aug 29, 2026
Range: a3a8cbd..f6f2be3, 9 commits, 64 files, +4793/-625.
Shape: mostly one-sided. 13 files touched by both sides, 2 conflicts, both in
the same subsystem (ProviderCommandReactor). Upstream's bulk is the Grok ACP
work (pingdotgg#8358, ~1,700 lines across GrokAdapter/GrokProvider/GrokSkills/
AcpRuntimeModel/XAiAcpExtension), a usage contract widening for Grok (v4 -> v5),
and 15 deleted low-signal test files (pingdotgg#8397, pingdotgg#8400, pingdotgg#8252).
CONFLICTS AND RESOLUTIONS
1. apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Upstream pingdotgg#5195 and the fork made the SAME fix independently, byte-identical:
`detail.includes("unknown pending codex approval request")` plus lowercasing
`Cause.pretty`. Only the fork's explanatory comment conflicted. Resolved to
HEAD (comment kept); the shared code merged either way.
2. apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
A SPLICE, not a choice. Git paired upstream's retargeted test header with
the fork's unrelated "continues as a new turn ... (user-input)" test header,
over a shared `const harness = await createHarness(); const now = ...`
preamble; the body below the markers is the fork's. Head and tail describe
different subjects — the documented tell.
Resolved to HEAD. Upstream did not add a test here: it RETARGETED its single
"surfaces stale provider approval request failures" case from the permission
phrasing to the Codex one. The fork had already turned that same test into an
`it.each` over all three phrasings, INCLUDING upstream's exact new detail
string. The fork's version is a strict superset, so nothing is owed.
INVARIANTS (docs/fork/README.md) — all 12 re-probed against the merged tree
1 migrations 49 entries, ids unique + monotonic, max 50, 34 still burned
2 fork patch @effect/platform-node@4.0.0-beta.103 still pinned, 16 patches
3 sidebar Sidebar.tsx default, LegacySidebar behind useLegacySidebarEnabled
4 deletions ContextWindowMeter{.tsx,.test.tsx} absent; MessagesTimeline's
three dropped helpers absent (3 hits are the FORK comments);
ComposerPendingUserInputPanel has 0 Collapsible
4b send state 4 `isSendBlocked=` in ChatComposer.tsx
5 steer test absent (the single grep hit is the FORK comment marking it)
5b footer SidebarLocalModels + SidebarResourceQueue inside SidebarUtilityMenu
5c boot BootTurnReconciler.ts present; reconcileProviderSessions absent
(FORK note at serverRuntimeStartup.ts:305)
6 projects 4 `/projects/$projectKey` call sites, dialog intact
7 stop ladder STOP_INTERRUPT_GRACE + INTERRUPT_REQUEST_GRACE both live,
interruptTurn and stopSessionInternal still separate rungs
8 interrupt 4 `hasLiveSessionForThread` in ProviderCommandReactor.ts
9 entrypoint test still realpaths the temp root
10 meter logic ContextWindowMeter.logic.ts present; both rejected exports absent
11 markdown ChatMarkdown.tsx carries both environmentId and fileEnvironmentId
Also verified by hand, since a clean automerge cannot: the fork's four edits to
GrokAdapter.ts survived upstream's 597-line rewrite intact — the identity-guarded
`sessions.delete`, the `!stopped` filter in `listSessions`, `refreshAccountUsage`
and `withdrawQueuedTurn`.
SWEEPS (union of both sides, 671 files, 13 two-sided)
resurrected 0 fork-loss 0 both-kept 0 dropped 3
The 3 dropped are the deliberate rejection above: upstream's renamed `it(...)`
header, its `detail:` line (the fork carries the same string as an `it.each`
table row, so the text differs) and its `method: "item/requestApproval/decision"`
fixture field, which nothing in the matcher reads.
18 files reported ABSENT from the result: 15 are upstream's own test deletions,
3 are the fork's deliberate ones (ContextWindowMeter.tsx, its test, and
serverRuntimeStartup.reconcile.test.ts under invariant 5c).
`--upstream-deleted` run as well: 364 lines / 52 files, every one upstream
rewording or replacing its own text (0.0.34 -> 0.0.35 version bumps, usage v4
-> v5, the Grok expansions, doc rewrites). No fork reference to a removed thing.
GATE
pnpm install: lockfile unchanged by the merge.
pnpm run verify (fmt:check -> typecheck -> lint -> test): EXIT=0 (read from the log, not the task notification).
14 test blocks, 10,201 passed, 10 skipped, 0 failed. Baseline at 5d4cd0b
was 10,170, so +31.
Arithmetic checked per file rather than by netting totals, because a netted
total is exactly what hid four destroyed tests in a previous session. Test
DECLARATIONS across all 2,526 fork test files: 18,268 -> 18,297 (+29), and
every file that lost any is accounted for — upstream's 15 deletions plus
GitVcsDriverCore.test.ts 76 -> 75, which is pingdotgg#8252 removing one duplicate.
NO fork test file lost a declaration. The residual +2 between declarations
and executed tests is `.each` expansion the declaration regex cannot see.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS0-9 changed lines (additions + deletions).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

test: prune trivial error and layout tests - #8400

Merged
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2
Aug 27, 2026
Merged

test: prune trivial error and layout tests#8400
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2

Conversation

@t3-code

@t3-codet3-codeBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

this removes seven complete low-signal test files and narrows three source symbols that were public only for those tests.

removals

  • deletes error-value tests that repeated tagged-error constructor fields and message getters
  • deletes sidebar width tests that mirrored simple clamp expressions and searched raw source for tailwind classes
  • deletes direct mirrors of string truncation, session fallback, and catalog error construction
  • keeps CatalogDependencyResolutionError, initialConfigOption, and THREAD_SIDEBAR_DEFAULT_WIDTH local now that no production consumer imports them

this removes 15 tests and 213 test lines. production behavior is unchanged.

verification

before deletion:

  • vp test run <seven removed files> passed, 7 files and 15 tests

after deletion:

  • retained checkpointing, terminal, and client-runtime neighbor suites passed, 7 files and 85 tests
  • affected scripts, web, client-runtime, shared, and server package typechecks passed
  • typechecks emitted only existing effect suggestion diagnostics
  • targeted lint passed
  • targeted formatting passed
  • git diff --check passed
  • all 1,030 open pull requests were checked for path conflicts; none touches these files

generated by gpt-5.6-sol with hermes agent.

request provenance


Note

Low Risk
Test-only deletions and export-to-module-private refactors with no runtime logic changes.

Overview
Removes seven low-signal test files (~213 lines, 15 tests) that mostly asserted tagged-error fields/messages, mirrored simple clamp math for the thread sidebar, or read source files for Tailwind class strings. Production behavior is unchanged.

Tightens module boundaries by making symbols test-only exports private: THREAD_SIDEBAR_DEFAULT_WIDTH in threadSidebarWidth.ts, initialConfigOption in session.ts, and CatalogDependencyResolutionError in resolve-catalog.ts.

Reviewed by Cursor Bugbot for commit 746f1fd. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Remove trivial error and layout test files and privatize now-unused exports

  • Deletes nine test files that validated simple error constructors, schema checks, layout constants, and string utilities.
  • Removes the export keyword from THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, and CatalogDependencyResolutionError, making them module-private since their tests no longer reference them externally.
  • Risk: any out-of-tree code importing THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, or CatalogDependencyResolutionError from threadSidebarWidth.ts, session.ts, or resolve-catalog.ts will break.

Macroscope summarized 746f1fd.

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
@github-actionsgithub-actionsBot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.8%)15.1 KiB
CodexThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+26.1%)7.3 KiB
CodexLive turn WebSocket wire5.9 KiB6.4 KiB+599 B (+10.0%)7.8 KiB
CodexLive turn WebSocket decoded49.7 KiB55.6 KiB+5.9 KiB (+11.8%)66.4 KiB
CodexLive turn messages1611−5 (−31.3%)21
ClaudeTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.7%)15.1 KiB
ClaudeThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+25.9%)7.3 KiB
ClaudeLive turn WebSocket wire5.9 KiB6.4 KiB+604 B (+10.1%)7.8 KiB
ClaudeLive turn WebSocket decoded50.6 KiB56.4 KiB+5.9 KiB (+11.6%)66.4 KiB
ClaudeLive turn messages1611−5 (−31.3%)21

Baseline: 83d769f · PR result: 746f1fd · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 746f1fd

Macroscope's review found this PR approvable — The change is limited to deleting test-only files and making three previously test-only exports module-private; the underlying production logic and request-path behavior remain unchanged. The only residual impact is a narrow reduction of undocumented export surface, with no in-repository consumers found.

You can add or adjust custom eligibility rules. Learn more.

@t3-code
t3-codeBot merged commit f6f2be3 into mainAug 27, 2026
22 checks passed
@t3-code
t3-codeBot deleted the test/prune-low-signal-tests-2 branch August 27, 2026 13:50
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 28, 2026
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
github-actionsBot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 29, 2026
## What's Changed
* fix(grok): improve skills, plans, usage, and turn reliability by @t3dotgg in pingdotgg/t3code#8358
* fix(server): recover stale Codex approval callbacks by @luckyPipewrench in pingdotgg/t3code#5195
* test(server): remove duplicate missing worktree test by @t3-code[bot] in pingdotgg/t3code#8252
* fix(server): replay all un-applied events during projection bootstrap by @krutftw in pingdotgg/t3code#7538
* test: remove low-signal test files by @t3-code[bot] in pingdotgg/t3code#8397
* test: prune trivial error and layout tests by @t3-code[bot] in pingdotgg/t3code#8400
* Fix Android adaptive launcher icon by @colonelpanic8 in pingdotgg/t3code#4332
* feat(web): split provider settings into list and editor by @t3dotgg in pingdotgg/t3code#8380
* fix(codex): accept Codex 0.150 account plans by @gsimone in pingdotgg/t3code#8447
* fix(tooling): allow ignored-only staged changes by @juliusmarminge in pingdotgg/t3code#8468
* fix(mobile): keep iOS home header stable by @juliusmarminge in pingdotgg/t3code#8467
* fix(web): stop showing red x summaries for ordinary tool failures by @t3dotgg in pingdotgg/t3code#8395
* fix(mobile): refine Git action toast glass styling by @juliusmarminge in pingdotgg/t3code#8399
* fix(desktop): allow preview automation in agent-created threads by @t3dotgg in pingdotgg/t3code#8483
* test(web): remove redundant cache key test by @t3-code[bot] in pingdotgg/t3code#8484
* fix(release): move nightly schedule to minute 38 by @t3dotgg in pingdotgg/t3code#8509
* fix(web): stabilize the provider settings editor by @t3dotgg in pingdotgg/t3code#8472
* fix(web): open GitHub pull requests in browser when loading fails by @t3dotgg in pingdotgg/t3code#8507
* fix(codex): show sub-agent models by @t3dotgg in pingdotgg/t3code#8502
* feat(analytics): report connected client platforms by @t3dotgg in pingdotgg/t3code#8481
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB by @t3dotgg in pingdotgg/t3code#8235
* feat(web): toggle a thread's pin from the keyboard by @ipanasenko in pingdotgg/t3code#8440
* fix(web): add back button to project settings by @StiensWout in pingdotgg/t3code#8168
* refactor(mobile): compile semantic themes for Uniwind by @juliusmarminge in pingdotgg/t3code#7327
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times by @ikifar2012 in pingdotgg/t3code#5769
* fix(mobile): show OpenCode model sources in picker by @juliusmarminge in pingdotgg/t3code#8573
* fix(clients): honor project default models in new threads by @anirudhsama in pingdotgg/t3code#6011
* fix(mobile): show file actions on Android by @none23 in pingdotgg/t3code#8215
* fix(connect): explain DPoP connection failures by @extoci in pingdotgg/t3code#8351
* feat(web): make the sidebar project filter a searchable combobox by @SunkenInTime in pingdotgg/t3code#5931
* fix(server): a draft can retry its first send after a failed bootstrap by @shivamhwp in pingdotgg/t3code#8226
* fix(desktop): stop hidden previews draining battery by @Bil0000 in pingdotgg/t3code#8567
* fix(desktop): oauth popups open from the browser preview by @walid-baharwal in pingdotgg/t3code#8435
* fix(web): keep long task drawers usable on small screens by @shivamhwp in pingdotgg/t3code#8313
* fix(opencode): handle child approvals, stops, and model catalogs by @t3dotgg in pingdotgg/t3code#8480
* fix: make thread auto-settling opt-in by @shivamhwp in pingdotgg/t3code#8321
* fix(web): stop session activity timing test from blocking releases by @t3dotgg in pingdotgg/t3code#8585
* fix(mobile): show composer menus when starting a task by @juliusmarminge in pingdotgg/t3code#8587
* fix(web): show the configured stash shortcut by @UtkarshUsername in pingdotgg/t3code#8437
* feat(web): add toggleable confirmation before unpinning a thread by @UtkarshUsername in pingdotgg/t3code#7313
* fix: restore automatic thread settling defaults by @t3dotgg in pingdotgg/t3code#8596
* fix(mobile): restore composer glass and rounded shadows by @juliusmarminge in pingdotgg/t3code#8597
## New Contributors
* @luckyPipewrench made their first contribution in pingdotgg/t3code#5195
* @krutftw made their first contribution in pingdotgg/t3code#7538
* @colonelpanic8 made their first contribution in pingdotgg/t3code#4332
* @ikifar2012 made their first contribution in pingdotgg/t3code#5769
* @walid-baharwal made their first contribution in pingdotgg/t3code#8435
**Full Changelog**: pingdotgg/t3code@v0.0.35...v0.0.36
Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.36
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Aug 29, 2026
* fix(grok): improve skills, plans, usage, and turn reliability (pingdotgg#8358)
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
* fix(server): recover stale Codex approval callbacks (pingdotgg#5195)
* test(server): remove duplicate missing worktree test (pingdotgg#8252)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(server): replay all un-applied events during projection bootstrap (pingdotgg#7538)
Co-authored-by: Theo Browne <me@t3.gg>
* test: remove low-signal test files (pingdotgg#8397)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* test: prune trivial error and layout tests (pingdotgg#8400)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* Fix Android adaptive launcher icon (pingdotgg#4332)
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
* feat(web): split provider settings into list and editor (pingdotgg#8380)
* fix(codex): accept Codex 0.150 account plans (pingdotgg#8447)
* fix(tooling): allow ignored-only staged changes (pingdotgg#8468)
* fix(mobile): keep iOS home header stable (pingdotgg#8467)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): stop showing red x summaries for ordinary tool failures (pingdotgg#8395)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(mobile): refine Git action toast glass styling (pingdotgg#8399)
* fix(desktop): allow preview automation in agent-created threads (pingdotgg#8483)
* test(web): remove redundant cache key test (pingdotgg#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(release): move nightly schedule to minute 38
Recent scheduled nightlies have been delayed or skipped.
Move the nightly cron from minute 7 to minute 38. Keep the existing three-hour interval. This tests a different point in each three-hour window without claiming it will fix GitHub schedule delivery.
Authored by GPT-5.6 Sol with the Codex harness.
* fix(web): stabilize the provider settings editor (pingdotgg#8472)
* fix(web): open GitHub pull requests in browser when loading fails (pingdotgg#8507)
* fix(codex): show sub-agent models (pingdotgg#8502)
* feat(analytics): report connected client platforms (pingdotgg#8481)
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB (pingdotgg#8235)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(web): toggle thread pin from the keyboard
Add a mod+shift+p shortcut that pins or unpins the active thread. Ignore the shortcut during terminal focus and when the server does not support thread pinning.
* fix(web): add back button to project settings (pingdotgg#8168)
* refactor(mobile): compile semantic themes for Uniwind (pingdotgg#7327)
Co-authored-by: codex <codex@users.noreply.github.com>
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times (pingdotgg#5769)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
* fix(mobile): show OpenCode model sources in picker (pingdotgg#8573)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(clients): honor project default models in new threads (pingdotgg#6011)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(mobile): show file actions on Android (pingdotgg#8215)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(connect): explain DPoP connection failures (pingdotgg#8351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): make the sidebar project filter a searchable combobox (pingdotgg#5931)
* fix(server): a draft can retry its first send after a failed bootstrap (pingdotgg#8226)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(desktop): stop hidden previews draining battery (pingdotgg#8567)
* fix(desktop): oauth popups open from the browser preview (pingdotgg#8435)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep long task drawers usable on small screens (pingdotgg#8313)
* fix(opencode): handle child approvals, stops, and model catalogs (pingdotgg#8480)
* fix: make thread auto-settling opt-in (pingdotgg#8321)
* fix(web): stop session activity timing test from blocking releases (pingdotgg#8585)
* fix(mobile): show composer menus when starting a task (pingdotgg#8587)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): show the configured stash shortcut (pingdotgg#8437)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* feat(web): add toggleable confirmation before unpinning a thread (pingdotgg#7313)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix: restore automatic thread settling defaults (pingdotgg#8596)
* fix(mobile): restore composer glass and rounded shadows (pingdotgg#8597)
Co-authored-by: Julius Marminge <julius@mac.lan>
* Remove Messages Glass Lab experiment (pingdotgg#8599)
* chore(release): prepare v0.0.36
---------
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
Co-authored-by: Josh <gitlucky@pipelab.org>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Tradi3 <56069280+krutftw@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Gianmarco <gianmarcosimone89@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Anirudh Coontoor <anirudh@gosupernova.live>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Muhammad Waleed <114993336+walid-baharwal@users.noreply.github.com>
longtngo added a commit to longtngo/t3code that referenced this pull request Aug 29, 2026
Range: a3a8cbd..f6f2be3, 9 commits, 64 files, +4793/-625.
Shape: mostly one-sided. 13 files touched by both sides, 2 conflicts, both in
the same subsystem (ProviderCommandReactor). Upstream's bulk is the Grok ACP
work (pingdotgg#8358, ~1,700 lines across GrokAdapter/GrokProvider/GrokSkills/
AcpRuntimeModel/XAiAcpExtension), a usage contract widening for Grok (v4 -> v5),
and 15 deleted low-signal test files (pingdotgg#8397, pingdotgg#8400, pingdotgg#8252).
CONFLICTS AND RESOLUTIONS
1. apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Upstream pingdotgg#5195 and the fork made the SAME fix independently, byte-identical:
`detail.includes("unknown pending codex approval request")` plus lowercasing
`Cause.pretty`. Only the fork's explanatory comment conflicted. Resolved to
HEAD (comment kept); the shared code merged either way.
2. apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
A SPLICE, not a choice. Git paired upstream's retargeted test header with
the fork's unrelated "continues as a new turn ... (user-input)" test header,
over a shared `const harness = await createHarness(); const now = ...`
preamble; the body below the markers is the fork's. Head and tail describe
different subjects — the documented tell.
Resolved to HEAD. Upstream did not add a test here: it RETARGETED its single
"surfaces stale provider approval request failures" case from the permission
phrasing to the Codex one. The fork had already turned that same test into an
`it.each` over all three phrasings, INCLUDING upstream's exact new detail
string. The fork's version is a strict superset, so nothing is owed.
INVARIANTS (docs/fork/README.md) — all 12 re-probed against the merged tree
1 migrations 49 entries, ids unique + monotonic, max 50, 34 still burned
2 fork patch @effect/platform-node@4.0.0-beta.103 still pinned, 16 patches
3 sidebar Sidebar.tsx default, LegacySidebar behind useLegacySidebarEnabled
4 deletions ContextWindowMeter{.tsx,.test.tsx} absent; MessagesTimeline's
three dropped helpers absent (3 hits are the FORK comments);
ComposerPendingUserInputPanel has 0 Collapsible
4b send state 4 `isSendBlocked=` in ChatComposer.tsx
5 steer test absent (the single grep hit is the FORK comment marking it)
5b footer SidebarLocalModels + SidebarResourceQueue inside SidebarUtilityMenu
5c boot BootTurnReconciler.ts present; reconcileProviderSessions absent
(FORK note at serverRuntimeStartup.ts:305)
6 projects 4 `/projects/$projectKey` call sites, dialog intact
7 stop ladder STOP_INTERRUPT_GRACE + INTERRUPT_REQUEST_GRACE both live,
interruptTurn and stopSessionInternal still separate rungs
8 interrupt 4 `hasLiveSessionForThread` in ProviderCommandReactor.ts
9 entrypoint test still realpaths the temp root
10 meter logic ContextWindowMeter.logic.ts present; both rejected exports absent
11 markdown ChatMarkdown.tsx carries both environmentId and fileEnvironmentId
Also verified by hand, since a clean automerge cannot: the fork's four edits to
GrokAdapter.ts survived upstream's 597-line rewrite intact — the identity-guarded
`sessions.delete`, the `!stopped` filter in `listSessions`, `refreshAccountUsage`
and `withdrawQueuedTurn`.
SWEEPS (union of both sides, 671 files, 13 two-sided)
resurrected 0 fork-loss 0 both-kept 0 dropped 3
The 3 dropped are the deliberate rejection above: upstream's renamed `it(...)`
header, its `detail:` line (the fork carries the same string as an `it.each`
table row, so the text differs) and its `method: "item/requestApproval/decision"`
fixture field, which nothing in the matcher reads.
18 files reported ABSENT from the result: 15 are upstream's own test deletions,
3 are the fork's deliberate ones (ContextWindowMeter.tsx, its test, and
serverRuntimeStartup.reconcile.test.ts under invariant 5c).
`--upstream-deleted` run as well: 364 lines / 52 files, every one upstream
rewording or replacing its own text (0.0.34 -> 0.0.35 version bumps, usage v4
-> v5, the Grok expansions, doc rewrites). No fork reference to a removed thing.
GATE
pnpm install: lockfile unchanged by the merge.
pnpm run verify (fmt:check -> typecheck -> lint -> test): EXIT=0 (read from the log, not the task notification).
14 test blocks, 10,201 passed, 10 skipped, 0 failed. Baseline at 5d4cd0b
was 10,170, so +31.
Arithmetic checked per file rather than by netting totals, because a netted
total is exactly what hid four destroyed tests in a previous session. Test
DECLARATIONS across all 2,526 fork test files: 18,268 -> 18,297 (+29), and
every file that lost any is accounted for — upstream's 15 deletions plus
GitVcsDriverCore.test.ts 76 -> 75, which is pingdotgg#8252 removing one duplicate.
NO fork test file lost a declaration. The residual +2 between declarations
and executed tests is `.each` expansion the declaration regex cannot see.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS0-9 changed lines (additions + deletions).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

test: prune trivial error and layout tests - #8400

Merged
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2
Aug 27, 2026
Merged

test: prune trivial error and layout tests#8400
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2

Conversation

@t3-code

@t3-codet3-codeBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

this removes seven complete low-signal test files and narrows three source symbols that were public only for those tests.

removals

  • deletes error-value tests that repeated tagged-error constructor fields and message getters
  • deletes sidebar width tests that mirrored simple clamp expressions and searched raw source for tailwind classes
  • deletes direct mirrors of string truncation, session fallback, and catalog error construction
  • keeps CatalogDependencyResolutionError, initialConfigOption, and THREAD_SIDEBAR_DEFAULT_WIDTH local now that no production consumer imports them

this removes 15 tests and 213 test lines. production behavior is unchanged.

verification

before deletion:

  • vp test run <seven removed files> passed, 7 files and 15 tests

after deletion:

  • retained checkpointing, terminal, and client-runtime neighbor suites passed, 7 files and 85 tests
  • affected scripts, web, client-runtime, shared, and server package typechecks passed
  • typechecks emitted only existing effect suggestion diagnostics
  • targeted lint passed
  • targeted formatting passed
  • git diff --check passed
  • all 1,030 open pull requests were checked for path conflicts; none touches these files

generated by gpt-5.6-sol with hermes agent.

request provenance


Note

Low Risk
Test-only deletions and export-to-module-private refactors with no runtime logic changes.

Overview
Removes seven low-signal test files (~213 lines, 15 tests) that mostly asserted tagged-error fields/messages, mirrored simple clamp math for the thread sidebar, or read source files for Tailwind class strings. Production behavior is unchanged.

Tightens module boundaries by making symbols test-only exports private: THREAD_SIDEBAR_DEFAULT_WIDTH in threadSidebarWidth.ts, initialConfigOption in session.ts, and CatalogDependencyResolutionError in resolve-catalog.ts.

Reviewed by Cursor Bugbot for commit 746f1fd. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Remove trivial error and layout test files and privatize now-unused exports

  • Deletes nine test files that validated simple error constructors, schema checks, layout constants, and string utilities.
  • Removes the export keyword from THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, and CatalogDependencyResolutionError, making them module-private since their tests no longer reference them externally.
  • Risk: any out-of-tree code importing THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, or CatalogDependencyResolutionError from threadSidebarWidth.ts, session.ts, or resolve-catalog.ts will break.

Macroscope summarized 746f1fd.

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
@github-actionsgithub-actionsBot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.8%)15.1 KiB
CodexThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+26.1%)7.3 KiB
CodexLive turn WebSocket wire5.9 KiB6.4 KiB+599 B (+10.0%)7.8 KiB
CodexLive turn WebSocket decoded49.7 KiB55.6 KiB+5.9 KiB (+11.8%)66.4 KiB
CodexLive turn messages1611−5 (−31.3%)21
ClaudeTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.7%)15.1 KiB
ClaudeThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+25.9%)7.3 KiB
ClaudeLive turn WebSocket wire5.9 KiB6.4 KiB+604 B (+10.1%)7.8 KiB
ClaudeLive turn WebSocket decoded50.6 KiB56.4 KiB+5.9 KiB (+11.6%)66.4 KiB
ClaudeLive turn messages1611−5 (−31.3%)21

Baseline: 83d769f · PR result: 746f1fd · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 746f1fd

Macroscope's review found this PR approvable — The change is limited to deleting test-only files and making three previously test-only exports module-private; the underlying production logic and request-path behavior remain unchanged. The only residual impact is a narrow reduction of undocumented export surface, with no in-repository consumers found.

You can add or adjust custom eligibility rules. Learn more.

@t3-code
t3-codeBot merged commit f6f2be3 into mainAug 27, 2026
22 checks passed
@t3-code
t3-codeBot deleted the test/prune-low-signal-tests-2 branch August 27, 2026 13:50
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 28, 2026
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
github-actionsBot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 29, 2026
## What's Changed
* fix(grok): improve skills, plans, usage, and turn reliability by @t3dotgg in pingdotgg/t3code#8358
* fix(server): recover stale Codex approval callbacks by @luckyPipewrench in pingdotgg/t3code#5195
* test(server): remove duplicate missing worktree test by @t3-code[bot] in pingdotgg/t3code#8252
* fix(server): replay all un-applied events during projection bootstrap by @krutftw in pingdotgg/t3code#7538
* test: remove low-signal test files by @t3-code[bot] in pingdotgg/t3code#8397
* test: prune trivial error and layout tests by @t3-code[bot] in pingdotgg/t3code#8400
* Fix Android adaptive launcher icon by @colonelpanic8 in pingdotgg/t3code#4332
* feat(web): split provider settings into list and editor by @t3dotgg in pingdotgg/t3code#8380
* fix(codex): accept Codex 0.150 account plans by @gsimone in pingdotgg/t3code#8447
* fix(tooling): allow ignored-only staged changes by @juliusmarminge in pingdotgg/t3code#8468
* fix(mobile): keep iOS home header stable by @juliusmarminge in pingdotgg/t3code#8467
* fix(web): stop showing red x summaries for ordinary tool failures by @t3dotgg in pingdotgg/t3code#8395
* fix(mobile): refine Git action toast glass styling by @juliusmarminge in pingdotgg/t3code#8399
* fix(desktop): allow preview automation in agent-created threads by @t3dotgg in pingdotgg/t3code#8483
* test(web): remove redundant cache key test by @t3-code[bot] in pingdotgg/t3code#8484
* fix(release): move nightly schedule to minute 38 by @t3dotgg in pingdotgg/t3code#8509
* fix(web): stabilize the provider settings editor by @t3dotgg in pingdotgg/t3code#8472
* fix(web): open GitHub pull requests in browser when loading fails by @t3dotgg in pingdotgg/t3code#8507
* fix(codex): show sub-agent models by @t3dotgg in pingdotgg/t3code#8502
* feat(analytics): report connected client platforms by @t3dotgg in pingdotgg/t3code#8481
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB by @t3dotgg in pingdotgg/t3code#8235
* feat(web): toggle a thread's pin from the keyboard by @ipanasenko in pingdotgg/t3code#8440
* fix(web): add back button to project settings by @StiensWout in pingdotgg/t3code#8168
* refactor(mobile): compile semantic themes for Uniwind by @juliusmarminge in pingdotgg/t3code#7327
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times by @ikifar2012 in pingdotgg/t3code#5769
* fix(mobile): show OpenCode model sources in picker by @juliusmarminge in pingdotgg/t3code#8573
* fix(clients): honor project default models in new threads by @anirudhsama in pingdotgg/t3code#6011
* fix(mobile): show file actions on Android by @none23 in pingdotgg/t3code#8215
* fix(connect): explain DPoP connection failures by @extoci in pingdotgg/t3code#8351
* feat(web): make the sidebar project filter a searchable combobox by @SunkenInTime in pingdotgg/t3code#5931
* fix(server): a draft can retry its first send after a failed bootstrap by @shivamhwp in pingdotgg/t3code#8226
* fix(desktop): stop hidden previews draining battery by @Bil0000 in pingdotgg/t3code#8567
* fix(desktop): oauth popups open from the browser preview by @walid-baharwal in pingdotgg/t3code#8435
* fix(web): keep long task drawers usable on small screens by @shivamhwp in pingdotgg/t3code#8313
* fix(opencode): handle child approvals, stops, and model catalogs by @t3dotgg in pingdotgg/t3code#8480
* fix: make thread auto-settling opt-in by @shivamhwp in pingdotgg/t3code#8321
* fix(web): stop session activity timing test from blocking releases by @t3dotgg in pingdotgg/t3code#8585
* fix(mobile): show composer menus when starting a task by @juliusmarminge in pingdotgg/t3code#8587
* fix(web): show the configured stash shortcut by @UtkarshUsername in pingdotgg/t3code#8437
* feat(web): add toggleable confirmation before unpinning a thread by @UtkarshUsername in pingdotgg/t3code#7313
* fix: restore automatic thread settling defaults by @t3dotgg in pingdotgg/t3code#8596
* fix(mobile): restore composer glass and rounded shadows by @juliusmarminge in pingdotgg/t3code#8597
## New Contributors
* @luckyPipewrench made their first contribution in pingdotgg/t3code#5195
* @krutftw made their first contribution in pingdotgg/t3code#7538
* @colonelpanic8 made their first contribution in pingdotgg/t3code#4332
* @ikifar2012 made their first contribution in pingdotgg/t3code#5769
* @walid-baharwal made their first contribution in pingdotgg/t3code#8435
**Full Changelog**: pingdotgg/t3code@v0.0.35...v0.0.36
Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.36
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Aug 29, 2026
* fix(grok): improve skills, plans, usage, and turn reliability (pingdotgg#8358)
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
* fix(server): recover stale Codex approval callbacks (pingdotgg#5195)
* test(server): remove duplicate missing worktree test (pingdotgg#8252)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(server): replay all un-applied events during projection bootstrap (pingdotgg#7538)
Co-authored-by: Theo Browne <me@t3.gg>
* test: remove low-signal test files (pingdotgg#8397)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* test: prune trivial error and layout tests (pingdotgg#8400)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* Fix Android adaptive launcher icon (pingdotgg#4332)
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
* feat(web): split provider settings into list and editor (pingdotgg#8380)
* fix(codex): accept Codex 0.150 account plans (pingdotgg#8447)
* fix(tooling): allow ignored-only staged changes (pingdotgg#8468)
* fix(mobile): keep iOS home header stable (pingdotgg#8467)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): stop showing red x summaries for ordinary tool failures (pingdotgg#8395)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(mobile): refine Git action toast glass styling (pingdotgg#8399)
* fix(desktop): allow preview automation in agent-created threads (pingdotgg#8483)
* test(web): remove redundant cache key test (pingdotgg#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(release): move nightly schedule to minute 38
Recent scheduled nightlies have been delayed or skipped.
Move the nightly cron from minute 7 to minute 38. Keep the existing three-hour interval. This tests a different point in each three-hour window without claiming it will fix GitHub schedule delivery.
Authored by GPT-5.6 Sol with the Codex harness.
* fix(web): stabilize the provider settings editor (pingdotgg#8472)
* fix(web): open GitHub pull requests in browser when loading fails (pingdotgg#8507)
* fix(codex): show sub-agent models (pingdotgg#8502)
* feat(analytics): report connected client platforms (pingdotgg#8481)
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB (pingdotgg#8235)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(web): toggle thread pin from the keyboard
Add a mod+shift+p shortcut that pins or unpins the active thread. Ignore the shortcut during terminal focus and when the server does not support thread pinning.
* fix(web): add back button to project settings (pingdotgg#8168)
* refactor(mobile): compile semantic themes for Uniwind (pingdotgg#7327)
Co-authored-by: codex <codex@users.noreply.github.com>
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times (pingdotgg#5769)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
* fix(mobile): show OpenCode model sources in picker (pingdotgg#8573)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(clients): honor project default models in new threads (pingdotgg#6011)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(mobile): show file actions on Android (pingdotgg#8215)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(connect): explain DPoP connection failures (pingdotgg#8351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): make the sidebar project filter a searchable combobox (pingdotgg#5931)
* fix(server): a draft can retry its first send after a failed bootstrap (pingdotgg#8226)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(desktop): stop hidden previews draining battery (pingdotgg#8567)
* fix(desktop): oauth popups open from the browser preview (pingdotgg#8435)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep long task drawers usable on small screens (pingdotgg#8313)
* fix(opencode): handle child approvals, stops, and model catalogs (pingdotgg#8480)
* fix: make thread auto-settling opt-in (pingdotgg#8321)
* fix(web): stop session activity timing test from blocking releases (pingdotgg#8585)
* fix(mobile): show composer menus when starting a task (pingdotgg#8587)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): show the configured stash shortcut (pingdotgg#8437)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* feat(web): add toggleable confirmation before unpinning a thread (pingdotgg#7313)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix: restore automatic thread settling defaults (pingdotgg#8596)
* fix(mobile): restore composer glass and rounded shadows (pingdotgg#8597)
Co-authored-by: Julius Marminge <julius@mac.lan>
* Remove Messages Glass Lab experiment (pingdotgg#8599)
* chore(release): prepare v0.0.36
---------
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
Co-authored-by: Josh <gitlucky@pipelab.org>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Tradi3 <56069280+krutftw@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Gianmarco <gianmarcosimone89@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Anirudh Coontoor <anirudh@gosupernova.live>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Muhammad Waleed <114993336+walid-baharwal@users.noreply.github.com>
longtngo added a commit to longtngo/t3code that referenced this pull request Aug 29, 2026
Range: a3a8cbd..f6f2be3, 9 commits, 64 files, +4793/-625.
Shape: mostly one-sided. 13 files touched by both sides, 2 conflicts, both in
the same subsystem (ProviderCommandReactor). Upstream's bulk is the Grok ACP
work (pingdotgg#8358, ~1,700 lines across GrokAdapter/GrokProvider/GrokSkills/
AcpRuntimeModel/XAiAcpExtension), a usage contract widening for Grok (v4 -> v5),
and 15 deleted low-signal test files (pingdotgg#8397, pingdotgg#8400, pingdotgg#8252).
CONFLICTS AND RESOLUTIONS
1. apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Upstream pingdotgg#5195 and the fork made the SAME fix independently, byte-identical:
`detail.includes("unknown pending codex approval request")` plus lowercasing
`Cause.pretty`. Only the fork's explanatory comment conflicted. Resolved to
HEAD (comment kept); the shared code merged either way.
2. apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
A SPLICE, not a choice. Git paired upstream's retargeted test header with
the fork's unrelated "continues as a new turn ... (user-input)" test header,
over a shared `const harness = await createHarness(); const now = ...`
preamble; the body below the markers is the fork's. Head and tail describe
different subjects — the documented tell.
Resolved to HEAD. Upstream did not add a test here: it RETARGETED its single
"surfaces stale provider approval request failures" case from the permission
phrasing to the Codex one. The fork had already turned that same test into an
`it.each` over all three phrasings, INCLUDING upstream's exact new detail
string. The fork's version is a strict superset, so nothing is owed.
INVARIANTS (docs/fork/README.md) — all 12 re-probed against the merged tree
1 migrations 49 entries, ids unique + monotonic, max 50, 34 still burned
2 fork patch @effect/platform-node@4.0.0-beta.103 still pinned, 16 patches
3 sidebar Sidebar.tsx default, LegacySidebar behind useLegacySidebarEnabled
4 deletions ContextWindowMeter{.tsx,.test.tsx} absent; MessagesTimeline's
three dropped helpers absent (3 hits are the FORK comments);
ComposerPendingUserInputPanel has 0 Collapsible
4b send state 4 `isSendBlocked=` in ChatComposer.tsx
5 steer test absent (the single grep hit is the FORK comment marking it)
5b footer SidebarLocalModels + SidebarResourceQueue inside SidebarUtilityMenu
5c boot BootTurnReconciler.ts present; reconcileProviderSessions absent
(FORK note at serverRuntimeStartup.ts:305)
6 projects 4 `/projects/$projectKey` call sites, dialog intact
7 stop ladder STOP_INTERRUPT_GRACE + INTERRUPT_REQUEST_GRACE both live,
interruptTurn and stopSessionInternal still separate rungs
8 interrupt 4 `hasLiveSessionForThread` in ProviderCommandReactor.ts
9 entrypoint test still realpaths the temp root
10 meter logic ContextWindowMeter.logic.ts present; both rejected exports absent
11 markdown ChatMarkdown.tsx carries both environmentId and fileEnvironmentId
Also verified by hand, since a clean automerge cannot: the fork's four edits to
GrokAdapter.ts survived upstream's 597-line rewrite intact — the identity-guarded
`sessions.delete`, the `!stopped` filter in `listSessions`, `refreshAccountUsage`
and `withdrawQueuedTurn`.
SWEEPS (union of both sides, 671 files, 13 two-sided)
resurrected 0 fork-loss 0 both-kept 0 dropped 3
The 3 dropped are the deliberate rejection above: upstream's renamed `it(...)`
header, its `detail:` line (the fork carries the same string as an `it.each`
table row, so the text differs) and its `method: "item/requestApproval/decision"`
fixture field, which nothing in the matcher reads.
18 files reported ABSENT from the result: 15 are upstream's own test deletions,
3 are the fork's deliberate ones (ContextWindowMeter.tsx, its test, and
serverRuntimeStartup.reconcile.test.ts under invariant 5c).
`--upstream-deleted` run as well: 364 lines / 52 files, every one upstream
rewording or replacing its own text (0.0.34 -> 0.0.35 version bumps, usage v4
-> v5, the Grok expansions, doc rewrites). No fork reference to a removed thing.
GATE
pnpm install: lockfile unchanged by the merge.
pnpm run verify (fmt:check -> typecheck -> lint -> test): EXIT=0 (read from the log, not the task notification).
14 test blocks, 10,201 passed, 10 skipped, 0 failed. Baseline at 5d4cd0b
was 10,170, so +31.
Arithmetic checked per file rather than by netting totals, because a netted
total is exactly what hid four destroyed tests in a previous session. Test
DECLARATIONS across all 2,526 fork test files: 18,268 -> 18,297 (+29), and
every file that lost any is accounted for — upstream's 15 deletions plus
GitVcsDriverCore.test.ts 76 -> 75, which is pingdotgg#8252 removing one duplicate.
NO fork test file lost a declaration. The residual +2 between declarations
and executed tests is `.each` expansion the declaration regex cannot see.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS0-9 changed lines (additions + deletions).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

test: prune trivial error and layout tests - #8400

Merged
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2
Aug 27, 2026
Merged

test: prune trivial error and layout tests#8400
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2

Conversation

@t3-code

@t3-codet3-codeBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

this removes seven complete low-signal test files and narrows three source symbols that were public only for those tests.

removals

  • deletes error-value tests that repeated tagged-error constructor fields and message getters
  • deletes sidebar width tests that mirrored simple clamp expressions and searched raw source for tailwind classes
  • deletes direct mirrors of string truncation, session fallback, and catalog error construction
  • keeps CatalogDependencyResolutionError, initialConfigOption, and THREAD_SIDEBAR_DEFAULT_WIDTH local now that no production consumer imports them

this removes 15 tests and 213 test lines. production behavior is unchanged.

verification

before deletion:

  • vp test run <seven removed files> passed, 7 files and 15 tests

after deletion:

  • retained checkpointing, terminal, and client-runtime neighbor suites passed, 7 files and 85 tests
  • affected scripts, web, client-runtime, shared, and server package typechecks passed
  • typechecks emitted only existing effect suggestion diagnostics
  • targeted lint passed
  • targeted formatting passed
  • git diff --check passed
  • all 1,030 open pull requests were checked for path conflicts; none touches these files

generated by gpt-5.6-sol with hermes agent.

request provenance


Note

Low Risk
Test-only deletions and export-to-module-private refactors with no runtime logic changes.

Overview
Removes seven low-signal test files (~213 lines, 15 tests) that mostly asserted tagged-error fields/messages, mirrored simple clamp math for the thread sidebar, or read source files for Tailwind class strings. Production behavior is unchanged.

Tightens module boundaries by making symbols test-only exports private: THREAD_SIDEBAR_DEFAULT_WIDTH in threadSidebarWidth.ts, initialConfigOption in session.ts, and CatalogDependencyResolutionError in resolve-catalog.ts.

Reviewed by Cursor Bugbot for commit 746f1fd. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Remove trivial error and layout test files and privatize now-unused exports

  • Deletes nine test files that validated simple error constructors, schema checks, layout constants, and string utilities.
  • Removes the export keyword from THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, and CatalogDependencyResolutionError, making them module-private since their tests no longer reference them externally.
  • Risk: any out-of-tree code importing THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, or CatalogDependencyResolutionError from threadSidebarWidth.ts, session.ts, or resolve-catalog.ts will break.

Macroscope summarized 746f1fd.

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
@github-actionsgithub-actionsBot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.8%)15.1 KiB
CodexThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+26.1%)7.3 KiB
CodexLive turn WebSocket wire5.9 KiB6.4 KiB+599 B (+10.0%)7.8 KiB
CodexLive turn WebSocket decoded49.7 KiB55.6 KiB+5.9 KiB (+11.8%)66.4 KiB
CodexLive turn messages1611−5 (−31.3%)21
ClaudeTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.7%)15.1 KiB
ClaudeThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+25.9%)7.3 KiB
ClaudeLive turn WebSocket wire5.9 KiB6.4 KiB+604 B (+10.1%)7.8 KiB
ClaudeLive turn WebSocket decoded50.6 KiB56.4 KiB+5.9 KiB (+11.6%)66.4 KiB
ClaudeLive turn messages1611−5 (−31.3%)21

Baseline: 83d769f · PR result: 746f1fd · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 746f1fd

Macroscope's review found this PR approvable — The change is limited to deleting test-only files and making three previously test-only exports module-private; the underlying production logic and request-path behavior remain unchanged. The only residual impact is a narrow reduction of undocumented export surface, with no in-repository consumers found.

You can add or adjust custom eligibility rules. Learn more.

@t3-code
t3-codeBot merged commit f6f2be3 into mainAug 27, 2026
22 checks passed
@t3-code
t3-codeBot deleted the test/prune-low-signal-tests-2 branch August 27, 2026 13:50
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 28, 2026
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
github-actionsBot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 29, 2026
## What's Changed
* fix(grok): improve skills, plans, usage, and turn reliability by @t3dotgg in pingdotgg/t3code#8358
* fix(server): recover stale Codex approval callbacks by @luckyPipewrench in pingdotgg/t3code#5195
* test(server): remove duplicate missing worktree test by @t3-code[bot] in pingdotgg/t3code#8252
* fix(server): replay all un-applied events during projection bootstrap by @krutftw in pingdotgg/t3code#7538
* test: remove low-signal test files by @t3-code[bot] in pingdotgg/t3code#8397
* test: prune trivial error and layout tests by @t3-code[bot] in pingdotgg/t3code#8400
* Fix Android adaptive launcher icon by @colonelpanic8 in pingdotgg/t3code#4332
* feat(web): split provider settings into list and editor by @t3dotgg in pingdotgg/t3code#8380
* fix(codex): accept Codex 0.150 account plans by @gsimone in pingdotgg/t3code#8447
* fix(tooling): allow ignored-only staged changes by @juliusmarminge in pingdotgg/t3code#8468
* fix(mobile): keep iOS home header stable by @juliusmarminge in pingdotgg/t3code#8467
* fix(web): stop showing red x summaries for ordinary tool failures by @t3dotgg in pingdotgg/t3code#8395
* fix(mobile): refine Git action toast glass styling by @juliusmarminge in pingdotgg/t3code#8399
* fix(desktop): allow preview automation in agent-created threads by @t3dotgg in pingdotgg/t3code#8483
* test(web): remove redundant cache key test by @t3-code[bot] in pingdotgg/t3code#8484
* fix(release): move nightly schedule to minute 38 by @t3dotgg in pingdotgg/t3code#8509
* fix(web): stabilize the provider settings editor by @t3dotgg in pingdotgg/t3code#8472
* fix(web): open GitHub pull requests in browser when loading fails by @t3dotgg in pingdotgg/t3code#8507
* fix(codex): show sub-agent models by @t3dotgg in pingdotgg/t3code#8502
* feat(analytics): report connected client platforms by @t3dotgg in pingdotgg/t3code#8481
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB by @t3dotgg in pingdotgg/t3code#8235
* feat(web): toggle a thread's pin from the keyboard by @ipanasenko in pingdotgg/t3code#8440
* fix(web): add back button to project settings by @StiensWout in pingdotgg/t3code#8168
* refactor(mobile): compile semantic themes for Uniwind by @juliusmarminge in pingdotgg/t3code#7327
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times by @ikifar2012 in pingdotgg/t3code#5769
* fix(mobile): show OpenCode model sources in picker by @juliusmarminge in pingdotgg/t3code#8573
* fix(clients): honor project default models in new threads by @anirudhsama in pingdotgg/t3code#6011
* fix(mobile): show file actions on Android by @none23 in pingdotgg/t3code#8215
* fix(connect): explain DPoP connection failures by @extoci in pingdotgg/t3code#8351
* feat(web): make the sidebar project filter a searchable combobox by @SunkenInTime in pingdotgg/t3code#5931
* fix(server): a draft can retry its first send after a failed bootstrap by @shivamhwp in pingdotgg/t3code#8226
* fix(desktop): stop hidden previews draining battery by @Bil0000 in pingdotgg/t3code#8567
* fix(desktop): oauth popups open from the browser preview by @walid-baharwal in pingdotgg/t3code#8435
* fix(web): keep long task drawers usable on small screens by @shivamhwp in pingdotgg/t3code#8313
* fix(opencode): handle child approvals, stops, and model catalogs by @t3dotgg in pingdotgg/t3code#8480
* fix: make thread auto-settling opt-in by @shivamhwp in pingdotgg/t3code#8321
* fix(web): stop session activity timing test from blocking releases by @t3dotgg in pingdotgg/t3code#8585
* fix(mobile): show composer menus when starting a task by @juliusmarminge in pingdotgg/t3code#8587
* fix(web): show the configured stash shortcut by @UtkarshUsername in pingdotgg/t3code#8437
* feat(web): add toggleable confirmation before unpinning a thread by @UtkarshUsername in pingdotgg/t3code#7313
* fix: restore automatic thread settling defaults by @t3dotgg in pingdotgg/t3code#8596
* fix(mobile): restore composer glass and rounded shadows by @juliusmarminge in pingdotgg/t3code#8597
## New Contributors
* @luckyPipewrench made their first contribution in pingdotgg/t3code#5195
* @krutftw made their first contribution in pingdotgg/t3code#7538
* @colonelpanic8 made their first contribution in pingdotgg/t3code#4332
* @ikifar2012 made their first contribution in pingdotgg/t3code#5769
* @walid-baharwal made their first contribution in pingdotgg/t3code#8435
**Full Changelog**: pingdotgg/t3code@v0.0.35...v0.0.36
Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.36
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Aug 29, 2026
* fix(grok): improve skills, plans, usage, and turn reliability (pingdotgg#8358)
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
* fix(server): recover stale Codex approval callbacks (pingdotgg#5195)
* test(server): remove duplicate missing worktree test (pingdotgg#8252)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(server): replay all un-applied events during projection bootstrap (pingdotgg#7538)
Co-authored-by: Theo Browne <me@t3.gg>
* test: remove low-signal test files (pingdotgg#8397)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* test: prune trivial error and layout tests (pingdotgg#8400)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* Fix Android adaptive launcher icon (pingdotgg#4332)
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
* feat(web): split provider settings into list and editor (pingdotgg#8380)
* fix(codex): accept Codex 0.150 account plans (pingdotgg#8447)
* fix(tooling): allow ignored-only staged changes (pingdotgg#8468)
* fix(mobile): keep iOS home header stable (pingdotgg#8467)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): stop showing red x summaries for ordinary tool failures (pingdotgg#8395)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(mobile): refine Git action toast glass styling (pingdotgg#8399)
* fix(desktop): allow preview automation in agent-created threads (pingdotgg#8483)
* test(web): remove redundant cache key test (pingdotgg#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(release): move nightly schedule to minute 38
Recent scheduled nightlies have been delayed or skipped.
Move the nightly cron from minute 7 to minute 38. Keep the existing three-hour interval. This tests a different point in each three-hour window without claiming it will fix GitHub schedule delivery.
Authored by GPT-5.6 Sol with the Codex harness.
* fix(web): stabilize the provider settings editor (pingdotgg#8472)
* fix(web): open GitHub pull requests in browser when loading fails (pingdotgg#8507)
* fix(codex): show sub-agent models (pingdotgg#8502)
* feat(analytics): report connected client platforms (pingdotgg#8481)
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB (pingdotgg#8235)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(web): toggle thread pin from the keyboard
Add a mod+shift+p shortcut that pins or unpins the active thread. Ignore the shortcut during terminal focus and when the server does not support thread pinning.
* fix(web): add back button to project settings (pingdotgg#8168)
* refactor(mobile): compile semantic themes for Uniwind (pingdotgg#7327)
Co-authored-by: codex <codex@users.noreply.github.com>
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times (pingdotgg#5769)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
* fix(mobile): show OpenCode model sources in picker (pingdotgg#8573)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(clients): honor project default models in new threads (pingdotgg#6011)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(mobile): show file actions on Android (pingdotgg#8215)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(connect): explain DPoP connection failures (pingdotgg#8351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): make the sidebar project filter a searchable combobox (pingdotgg#5931)
* fix(server): a draft can retry its first send after a failed bootstrap (pingdotgg#8226)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(desktop): stop hidden previews draining battery (pingdotgg#8567)
* fix(desktop): oauth popups open from the browser preview (pingdotgg#8435)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep long task drawers usable on small screens (pingdotgg#8313)
* fix(opencode): handle child approvals, stops, and model catalogs (pingdotgg#8480)
* fix: make thread auto-settling opt-in (pingdotgg#8321)
* fix(web): stop session activity timing test from blocking releases (pingdotgg#8585)
* fix(mobile): show composer menus when starting a task (pingdotgg#8587)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): show the configured stash shortcut (pingdotgg#8437)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* feat(web): add toggleable confirmation before unpinning a thread (pingdotgg#7313)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix: restore automatic thread settling defaults (pingdotgg#8596)
* fix(mobile): restore composer glass and rounded shadows (pingdotgg#8597)
Co-authored-by: Julius Marminge <julius@mac.lan>
* Remove Messages Glass Lab experiment (pingdotgg#8599)
* chore(release): prepare v0.0.36
---------
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
Co-authored-by: Josh <gitlucky@pipelab.org>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Tradi3 <56069280+krutftw@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Gianmarco <gianmarcosimone89@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Anirudh Coontoor <anirudh@gosupernova.live>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Muhammad Waleed <114993336+walid-baharwal@users.noreply.github.com>
longtngo added a commit to longtngo/t3code that referenced this pull request Aug 29, 2026
Range: a3a8cbd..f6f2be3, 9 commits, 64 files, +4793/-625.
Shape: mostly one-sided. 13 files touched by both sides, 2 conflicts, both in
the same subsystem (ProviderCommandReactor). Upstream's bulk is the Grok ACP
work (pingdotgg#8358, ~1,700 lines across GrokAdapter/GrokProvider/GrokSkills/
AcpRuntimeModel/XAiAcpExtension), a usage contract widening for Grok (v4 -> v5),
and 15 deleted low-signal test files (pingdotgg#8397, pingdotgg#8400, pingdotgg#8252).
CONFLICTS AND RESOLUTIONS
1. apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Upstream pingdotgg#5195 and the fork made the SAME fix independently, byte-identical:
`detail.includes("unknown pending codex approval request")` plus lowercasing
`Cause.pretty`. Only the fork's explanatory comment conflicted. Resolved to
HEAD (comment kept); the shared code merged either way.
2. apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
A SPLICE, not a choice. Git paired upstream's retargeted test header with
the fork's unrelated "continues as a new turn ... (user-input)" test header,
over a shared `const harness = await createHarness(); const now = ...`
preamble; the body below the markers is the fork's. Head and tail describe
different subjects — the documented tell.
Resolved to HEAD. Upstream did not add a test here: it RETARGETED its single
"surfaces stale provider approval request failures" case from the permission
phrasing to the Codex one. The fork had already turned that same test into an
`it.each` over all three phrasings, INCLUDING upstream's exact new detail
string. The fork's version is a strict superset, so nothing is owed.
INVARIANTS (docs/fork/README.md) — all 12 re-probed against the merged tree
1 migrations 49 entries, ids unique + monotonic, max 50, 34 still burned
2 fork patch @effect/platform-node@4.0.0-beta.103 still pinned, 16 patches
3 sidebar Sidebar.tsx default, LegacySidebar behind useLegacySidebarEnabled
4 deletions ContextWindowMeter{.tsx,.test.tsx} absent; MessagesTimeline's
three dropped helpers absent (3 hits are the FORK comments);
ComposerPendingUserInputPanel has 0 Collapsible
4b send state 4 `isSendBlocked=` in ChatComposer.tsx
5 steer test absent (the single grep hit is the FORK comment marking it)
5b footer SidebarLocalModels + SidebarResourceQueue inside SidebarUtilityMenu
5c boot BootTurnReconciler.ts present; reconcileProviderSessions absent
(FORK note at serverRuntimeStartup.ts:305)
6 projects 4 `/projects/$projectKey` call sites, dialog intact
7 stop ladder STOP_INTERRUPT_GRACE + INTERRUPT_REQUEST_GRACE both live,
interruptTurn and stopSessionInternal still separate rungs
8 interrupt 4 `hasLiveSessionForThread` in ProviderCommandReactor.ts
9 entrypoint test still realpaths the temp root
10 meter logic ContextWindowMeter.logic.ts present; both rejected exports absent
11 markdown ChatMarkdown.tsx carries both environmentId and fileEnvironmentId
Also verified by hand, since a clean automerge cannot: the fork's four edits to
GrokAdapter.ts survived upstream's 597-line rewrite intact — the identity-guarded
`sessions.delete`, the `!stopped` filter in `listSessions`, `refreshAccountUsage`
and `withdrawQueuedTurn`.
SWEEPS (union of both sides, 671 files, 13 two-sided)
resurrected 0 fork-loss 0 both-kept 0 dropped 3
The 3 dropped are the deliberate rejection above: upstream's renamed `it(...)`
header, its `detail:` line (the fork carries the same string as an `it.each`
table row, so the text differs) and its `method: "item/requestApproval/decision"`
fixture field, which nothing in the matcher reads.
18 files reported ABSENT from the result: 15 are upstream's own test deletions,
3 are the fork's deliberate ones (ContextWindowMeter.tsx, its test, and
serverRuntimeStartup.reconcile.test.ts under invariant 5c).
`--upstream-deleted` run as well: 364 lines / 52 files, every one upstream
rewording or replacing its own text (0.0.34 -> 0.0.35 version bumps, usage v4
-> v5, the Grok expansions, doc rewrites). No fork reference to a removed thing.
GATE
pnpm install: lockfile unchanged by the merge.
pnpm run verify (fmt:check -> typecheck -> lint -> test): EXIT=0 (read from the log, not the task notification).
14 test blocks, 10,201 passed, 10 skipped, 0 failed. Baseline at 5d4cd0b
was 10,170, so +31.
Arithmetic checked per file rather than by netting totals, because a netted
total is exactly what hid four destroyed tests in a previous session. Test
DECLARATIONS across all 2,526 fork test files: 18,268 -> 18,297 (+29), and
every file that lost any is accounted for — upstream's 15 deletions plus
GitVcsDriverCore.test.ts 76 -> 75, which is pingdotgg#8252 removing one duplicate.
NO fork test file lost a declaration. The residual +2 between declarations
and executed tests is `.each` expansion the declaration regex cannot see.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS0-9 changed lines (additions + deletions).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

test: prune trivial error and layout tests - #8400

Merged
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2
Aug 27, 2026
Merged

test: prune trivial error and layout tests#8400
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2

Conversation

@t3-code

@t3-codet3-codeBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

this removes seven complete low-signal test files and narrows three source symbols that were public only for those tests.

removals

  • deletes error-value tests that repeated tagged-error constructor fields and message getters
  • deletes sidebar width tests that mirrored simple clamp expressions and searched raw source for tailwind classes
  • deletes direct mirrors of string truncation, session fallback, and catalog error construction
  • keeps CatalogDependencyResolutionError, initialConfigOption, and THREAD_SIDEBAR_DEFAULT_WIDTH local now that no production consumer imports them

this removes 15 tests and 213 test lines. production behavior is unchanged.

verification

before deletion:

  • vp test run <seven removed files> passed, 7 files and 15 tests

after deletion:

  • retained checkpointing, terminal, and client-runtime neighbor suites passed, 7 files and 85 tests
  • affected scripts, web, client-runtime, shared, and server package typechecks passed
  • typechecks emitted only existing effect suggestion diagnostics
  • targeted lint passed
  • targeted formatting passed
  • git diff --check passed
  • all 1,030 open pull requests were checked for path conflicts; none touches these files

generated by gpt-5.6-sol with hermes agent.

request provenance


Note

Low Risk
Test-only deletions and export-to-module-private refactors with no runtime logic changes.

Overview
Removes seven low-signal test files (~213 lines, 15 tests) that mostly asserted tagged-error fields/messages, mirrored simple clamp math for the thread sidebar, or read source files for Tailwind class strings. Production behavior is unchanged.

Tightens module boundaries by making symbols test-only exports private: THREAD_SIDEBAR_DEFAULT_WIDTH in threadSidebarWidth.ts, initialConfigOption in session.ts, and CatalogDependencyResolutionError in resolve-catalog.ts.

Reviewed by Cursor Bugbot for commit 746f1fd. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Remove trivial error and layout test files and privatize now-unused exports

  • Deletes nine test files that validated simple error constructors, schema checks, layout constants, and string utilities.
  • Removes the export keyword from THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, and CatalogDependencyResolutionError, making them module-private since their tests no longer reference them externally.
  • Risk: any out-of-tree code importing THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, or CatalogDependencyResolutionError from threadSidebarWidth.ts, session.ts, or resolve-catalog.ts will break.

Macroscope summarized 746f1fd.

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
@github-actionsgithub-actionsBot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.8%)15.1 KiB
CodexThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+26.1%)7.3 KiB
CodexLive turn WebSocket wire5.9 KiB6.4 KiB+599 B (+10.0%)7.8 KiB
CodexLive turn WebSocket decoded49.7 KiB55.6 KiB+5.9 KiB (+11.8%)66.4 KiB
CodexLive turn messages1611−5 (−31.3%)21
ClaudeTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.7%)15.1 KiB
ClaudeThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+25.9%)7.3 KiB
ClaudeLive turn WebSocket wire5.9 KiB6.4 KiB+604 B (+10.1%)7.8 KiB
ClaudeLive turn WebSocket decoded50.6 KiB56.4 KiB+5.9 KiB (+11.6%)66.4 KiB
ClaudeLive turn messages1611−5 (−31.3%)21

Baseline: 83d769f · PR result: 746f1fd · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 746f1fd

Macroscope's review found this PR approvable — The change is limited to deleting test-only files and making three previously test-only exports module-private; the underlying production logic and request-path behavior remain unchanged. The only residual impact is a narrow reduction of undocumented export surface, with no in-repository consumers found.

You can add or adjust custom eligibility rules. Learn more.

@t3-code
t3-codeBot merged commit f6f2be3 into mainAug 27, 2026
22 checks passed
@t3-code
t3-codeBot deleted the test/prune-low-signal-tests-2 branch August 27, 2026 13:50
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 28, 2026
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
github-actionsBot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 29, 2026
## What's Changed
* fix(grok): improve skills, plans, usage, and turn reliability by @t3dotgg in pingdotgg/t3code#8358
* fix(server): recover stale Codex approval callbacks by @luckyPipewrench in pingdotgg/t3code#5195
* test(server): remove duplicate missing worktree test by @t3-code[bot] in pingdotgg/t3code#8252
* fix(server): replay all un-applied events during projection bootstrap by @krutftw in pingdotgg/t3code#7538
* test: remove low-signal test files by @t3-code[bot] in pingdotgg/t3code#8397
* test: prune trivial error and layout tests by @t3-code[bot] in pingdotgg/t3code#8400
* Fix Android adaptive launcher icon by @colonelpanic8 in pingdotgg/t3code#4332
* feat(web): split provider settings into list and editor by @t3dotgg in pingdotgg/t3code#8380
* fix(codex): accept Codex 0.150 account plans by @gsimone in pingdotgg/t3code#8447
* fix(tooling): allow ignored-only staged changes by @juliusmarminge in pingdotgg/t3code#8468
* fix(mobile): keep iOS home header stable by @juliusmarminge in pingdotgg/t3code#8467
* fix(web): stop showing red x summaries for ordinary tool failures by @t3dotgg in pingdotgg/t3code#8395
* fix(mobile): refine Git action toast glass styling by @juliusmarminge in pingdotgg/t3code#8399
* fix(desktop): allow preview automation in agent-created threads by @t3dotgg in pingdotgg/t3code#8483
* test(web): remove redundant cache key test by @t3-code[bot] in pingdotgg/t3code#8484
* fix(release): move nightly schedule to minute 38 by @t3dotgg in pingdotgg/t3code#8509
* fix(web): stabilize the provider settings editor by @t3dotgg in pingdotgg/t3code#8472
* fix(web): open GitHub pull requests in browser when loading fails by @t3dotgg in pingdotgg/t3code#8507
* fix(codex): show sub-agent models by @t3dotgg in pingdotgg/t3code#8502
* feat(analytics): report connected client platforms by @t3dotgg in pingdotgg/t3code#8481
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB by @t3dotgg in pingdotgg/t3code#8235
* feat(web): toggle a thread's pin from the keyboard by @ipanasenko in pingdotgg/t3code#8440
* fix(web): add back button to project settings by @StiensWout in pingdotgg/t3code#8168
* refactor(mobile): compile semantic themes for Uniwind by @juliusmarminge in pingdotgg/t3code#7327
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times by @ikifar2012 in pingdotgg/t3code#5769
* fix(mobile): show OpenCode model sources in picker by @juliusmarminge in pingdotgg/t3code#8573
* fix(clients): honor project default models in new threads by @anirudhsama in pingdotgg/t3code#6011
* fix(mobile): show file actions on Android by @none23 in pingdotgg/t3code#8215
* fix(connect): explain DPoP connection failures by @extoci in pingdotgg/t3code#8351
* feat(web): make the sidebar project filter a searchable combobox by @SunkenInTime in pingdotgg/t3code#5931
* fix(server): a draft can retry its first send after a failed bootstrap by @shivamhwp in pingdotgg/t3code#8226
* fix(desktop): stop hidden previews draining battery by @Bil0000 in pingdotgg/t3code#8567
* fix(desktop): oauth popups open from the browser preview by @walid-baharwal in pingdotgg/t3code#8435
* fix(web): keep long task drawers usable on small screens by @shivamhwp in pingdotgg/t3code#8313
* fix(opencode): handle child approvals, stops, and model catalogs by @t3dotgg in pingdotgg/t3code#8480
* fix: make thread auto-settling opt-in by @shivamhwp in pingdotgg/t3code#8321
* fix(web): stop session activity timing test from blocking releases by @t3dotgg in pingdotgg/t3code#8585
* fix(mobile): show composer menus when starting a task by @juliusmarminge in pingdotgg/t3code#8587
* fix(web): show the configured stash shortcut by @UtkarshUsername in pingdotgg/t3code#8437
* feat(web): add toggleable confirmation before unpinning a thread by @UtkarshUsername in pingdotgg/t3code#7313
* fix: restore automatic thread settling defaults by @t3dotgg in pingdotgg/t3code#8596
* fix(mobile): restore composer glass and rounded shadows by @juliusmarminge in pingdotgg/t3code#8597
## New Contributors
* @luckyPipewrench made their first contribution in pingdotgg/t3code#5195
* @krutftw made their first contribution in pingdotgg/t3code#7538
* @colonelpanic8 made their first contribution in pingdotgg/t3code#4332
* @ikifar2012 made their first contribution in pingdotgg/t3code#5769
* @walid-baharwal made their first contribution in pingdotgg/t3code#8435
**Full Changelog**: pingdotgg/t3code@v0.0.35...v0.0.36
Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.36
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Aug 29, 2026
* fix(grok): improve skills, plans, usage, and turn reliability (pingdotgg#8358)
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
* fix(server): recover stale Codex approval callbacks (pingdotgg#5195)
* test(server): remove duplicate missing worktree test (pingdotgg#8252)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(server): replay all un-applied events during projection bootstrap (pingdotgg#7538)
Co-authored-by: Theo Browne <me@t3.gg>
* test: remove low-signal test files (pingdotgg#8397)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* test: prune trivial error and layout tests (pingdotgg#8400)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* Fix Android adaptive launcher icon (pingdotgg#4332)
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
* feat(web): split provider settings into list and editor (pingdotgg#8380)
* fix(codex): accept Codex 0.150 account plans (pingdotgg#8447)
* fix(tooling): allow ignored-only staged changes (pingdotgg#8468)
* fix(mobile): keep iOS home header stable (pingdotgg#8467)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): stop showing red x summaries for ordinary tool failures (pingdotgg#8395)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(mobile): refine Git action toast glass styling (pingdotgg#8399)
* fix(desktop): allow preview automation in agent-created threads (pingdotgg#8483)
* test(web): remove redundant cache key test (pingdotgg#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(release): move nightly schedule to minute 38
Recent scheduled nightlies have been delayed or skipped.
Move the nightly cron from minute 7 to minute 38. Keep the existing three-hour interval. This tests a different point in each three-hour window without claiming it will fix GitHub schedule delivery.
Authored by GPT-5.6 Sol with the Codex harness.
* fix(web): stabilize the provider settings editor (pingdotgg#8472)
* fix(web): open GitHub pull requests in browser when loading fails (pingdotgg#8507)
* fix(codex): show sub-agent models (pingdotgg#8502)
* feat(analytics): report connected client platforms (pingdotgg#8481)
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB (pingdotgg#8235)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(web): toggle thread pin from the keyboard
Add a mod+shift+p shortcut that pins or unpins the active thread. Ignore the shortcut during terminal focus and when the server does not support thread pinning.
* fix(web): add back button to project settings (pingdotgg#8168)
* refactor(mobile): compile semantic themes for Uniwind (pingdotgg#7327)
Co-authored-by: codex <codex@users.noreply.github.com>
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times (pingdotgg#5769)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
* fix(mobile): show OpenCode model sources in picker (pingdotgg#8573)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(clients): honor project default models in new threads (pingdotgg#6011)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(mobile): show file actions on Android (pingdotgg#8215)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(connect): explain DPoP connection failures (pingdotgg#8351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): make the sidebar project filter a searchable combobox (pingdotgg#5931)
* fix(server): a draft can retry its first send after a failed bootstrap (pingdotgg#8226)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(desktop): stop hidden previews draining battery (pingdotgg#8567)
* fix(desktop): oauth popups open from the browser preview (pingdotgg#8435)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep long task drawers usable on small screens (pingdotgg#8313)
* fix(opencode): handle child approvals, stops, and model catalogs (pingdotgg#8480)
* fix: make thread auto-settling opt-in (pingdotgg#8321)
* fix(web): stop session activity timing test from blocking releases (pingdotgg#8585)
* fix(mobile): show composer menus when starting a task (pingdotgg#8587)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): show the configured stash shortcut (pingdotgg#8437)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* feat(web): add toggleable confirmation before unpinning a thread (pingdotgg#7313)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix: restore automatic thread settling defaults (pingdotgg#8596)
* fix(mobile): restore composer glass and rounded shadows (pingdotgg#8597)
Co-authored-by: Julius Marminge <julius@mac.lan>
* Remove Messages Glass Lab experiment (pingdotgg#8599)
* chore(release): prepare v0.0.36
---------
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
Co-authored-by: Josh <gitlucky@pipelab.org>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Tradi3 <56069280+krutftw@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Gianmarco <gianmarcosimone89@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Anirudh Coontoor <anirudh@gosupernova.live>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Muhammad Waleed <114993336+walid-baharwal@users.noreply.github.com>
longtngo added a commit to longtngo/t3code that referenced this pull request Aug 29, 2026
Range: a3a8cbd..f6f2be3, 9 commits, 64 files, +4793/-625.
Shape: mostly one-sided. 13 files touched by both sides, 2 conflicts, both in
the same subsystem (ProviderCommandReactor). Upstream's bulk is the Grok ACP
work (pingdotgg#8358, ~1,700 lines across GrokAdapter/GrokProvider/GrokSkills/
AcpRuntimeModel/XAiAcpExtension), a usage contract widening for Grok (v4 -> v5),
and 15 deleted low-signal test files (pingdotgg#8397, pingdotgg#8400, pingdotgg#8252).
CONFLICTS AND RESOLUTIONS
1. apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Upstream pingdotgg#5195 and the fork made the SAME fix independently, byte-identical:
`detail.includes("unknown pending codex approval request")` plus lowercasing
`Cause.pretty`. Only the fork's explanatory comment conflicted. Resolved to
HEAD (comment kept); the shared code merged either way.
2. apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
A SPLICE, not a choice. Git paired upstream's retargeted test header with
the fork's unrelated "continues as a new turn ... (user-input)" test header,
over a shared `const harness = await createHarness(); const now = ...`
preamble; the body below the markers is the fork's. Head and tail describe
different subjects — the documented tell.
Resolved to HEAD. Upstream did not add a test here: it RETARGETED its single
"surfaces stale provider approval request failures" case from the permission
phrasing to the Codex one. The fork had already turned that same test into an
`it.each` over all three phrasings, INCLUDING upstream's exact new detail
string. The fork's version is a strict superset, so nothing is owed.
INVARIANTS (docs/fork/README.md) — all 12 re-probed against the merged tree
1 migrations 49 entries, ids unique + monotonic, max 50, 34 still burned
2 fork patch @effect/platform-node@4.0.0-beta.103 still pinned, 16 patches
3 sidebar Sidebar.tsx default, LegacySidebar behind useLegacySidebarEnabled
4 deletions ContextWindowMeter{.tsx,.test.tsx} absent; MessagesTimeline's
three dropped helpers absent (3 hits are the FORK comments);
ComposerPendingUserInputPanel has 0 Collapsible
4b send state 4 `isSendBlocked=` in ChatComposer.tsx
5 steer test absent (the single grep hit is the FORK comment marking it)
5b footer SidebarLocalModels + SidebarResourceQueue inside SidebarUtilityMenu
5c boot BootTurnReconciler.ts present; reconcileProviderSessions absent
(FORK note at serverRuntimeStartup.ts:305)
6 projects 4 `/projects/$projectKey` call sites, dialog intact
7 stop ladder STOP_INTERRUPT_GRACE + INTERRUPT_REQUEST_GRACE both live,
interruptTurn and stopSessionInternal still separate rungs
8 interrupt 4 `hasLiveSessionForThread` in ProviderCommandReactor.ts
9 entrypoint test still realpaths the temp root
10 meter logic ContextWindowMeter.logic.ts present; both rejected exports absent
11 markdown ChatMarkdown.tsx carries both environmentId and fileEnvironmentId
Also verified by hand, since a clean automerge cannot: the fork's four edits to
GrokAdapter.ts survived upstream's 597-line rewrite intact — the identity-guarded
`sessions.delete`, the `!stopped` filter in `listSessions`, `refreshAccountUsage`
and `withdrawQueuedTurn`.
SWEEPS (union of both sides, 671 files, 13 two-sided)
resurrected 0 fork-loss 0 both-kept 0 dropped 3
The 3 dropped are the deliberate rejection above: upstream's renamed `it(...)`
header, its `detail:` line (the fork carries the same string as an `it.each`
table row, so the text differs) and its `method: "item/requestApproval/decision"`
fixture field, which nothing in the matcher reads.
18 files reported ABSENT from the result: 15 are upstream's own test deletions,
3 are the fork's deliberate ones (ContextWindowMeter.tsx, its test, and
serverRuntimeStartup.reconcile.test.ts under invariant 5c).
`--upstream-deleted` run as well: 364 lines / 52 files, every one upstream
rewording or replacing its own text (0.0.34 -> 0.0.35 version bumps, usage v4
-> v5, the Grok expansions, doc rewrites). No fork reference to a removed thing.
GATE
pnpm install: lockfile unchanged by the merge.
pnpm run verify (fmt:check -> typecheck -> lint -> test): EXIT=0 (read from the log, not the task notification).
14 test blocks, 10,201 passed, 10 skipped, 0 failed. Baseline at 5d4cd0b
was 10,170, so +31.
Arithmetic checked per file rather than by netting totals, because a netted
total is exactly what hid four destroyed tests in a previous session. Test
DECLARATIONS across all 2,526 fork test files: 18,268 -> 18,297 (+29), and
every file that lost any is accounted for — upstream's 15 deletions plus
GitVcsDriverCore.test.ts 76 -> 75, which is pingdotgg#8252 removing one duplicate.
NO fork test file lost a declaration. The residual +2 between declarations
and executed tests is `.each` expansion the declaration regex cannot see.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS0-9 changed lines (additions + deletions).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

test: prune trivial error and layout tests - #8400

Merged
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2
Aug 27, 2026
Merged

test: prune trivial error and layout tests#8400
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2

Conversation

@t3-code

@t3-codet3-codeBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

this removes seven complete low-signal test files and narrows three source symbols that were public only for those tests.

removals

  • deletes error-value tests that repeated tagged-error constructor fields and message getters
  • deletes sidebar width tests that mirrored simple clamp expressions and searched raw source for tailwind classes
  • deletes direct mirrors of string truncation, session fallback, and catalog error construction
  • keeps CatalogDependencyResolutionError, initialConfigOption, and THREAD_SIDEBAR_DEFAULT_WIDTH local now that no production consumer imports them

this removes 15 tests and 213 test lines. production behavior is unchanged.

verification

before deletion:

  • vp test run <seven removed files> passed, 7 files and 15 tests

after deletion:

  • retained checkpointing, terminal, and client-runtime neighbor suites passed, 7 files and 85 tests
  • affected scripts, web, client-runtime, shared, and server package typechecks passed
  • typechecks emitted only existing effect suggestion diagnostics
  • targeted lint passed
  • targeted formatting passed
  • git diff --check passed
  • all 1,030 open pull requests were checked for path conflicts; none touches these files

generated by gpt-5.6-sol with hermes agent.

request provenance


Note

Low Risk
Test-only deletions and export-to-module-private refactors with no runtime logic changes.

Overview
Removes seven low-signal test files (~213 lines, 15 tests) that mostly asserted tagged-error fields/messages, mirrored simple clamp math for the thread sidebar, or read source files for Tailwind class strings. Production behavior is unchanged.

Tightens module boundaries by making symbols test-only exports private: THREAD_SIDEBAR_DEFAULT_WIDTH in threadSidebarWidth.ts, initialConfigOption in session.ts, and CatalogDependencyResolutionError in resolve-catalog.ts.

Reviewed by Cursor Bugbot for commit 746f1fd. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Remove trivial error and layout test files and privatize now-unused exports

  • Deletes nine test files that validated simple error constructors, schema checks, layout constants, and string utilities.
  • Removes the export keyword from THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, and CatalogDependencyResolutionError, making them module-private since their tests no longer reference them externally.
  • Risk: any out-of-tree code importing THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, or CatalogDependencyResolutionError from threadSidebarWidth.ts, session.ts, or resolve-catalog.ts will break.

Macroscope summarized 746f1fd.

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
@github-actionsgithub-actionsBot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.8%)15.1 KiB
CodexThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+26.1%)7.3 KiB
CodexLive turn WebSocket wire5.9 KiB6.4 KiB+599 B (+10.0%)7.8 KiB
CodexLive turn WebSocket decoded49.7 KiB55.6 KiB+5.9 KiB (+11.8%)66.4 KiB
CodexLive turn messages1611−5 (−31.3%)21
ClaudeTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.7%)15.1 KiB
ClaudeThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+25.9%)7.3 KiB
ClaudeLive turn WebSocket wire5.9 KiB6.4 KiB+604 B (+10.1%)7.8 KiB
ClaudeLive turn WebSocket decoded50.6 KiB56.4 KiB+5.9 KiB (+11.6%)66.4 KiB
ClaudeLive turn messages1611−5 (−31.3%)21

Baseline: 83d769f · PR result: 746f1fd · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 746f1fd

Macroscope's review found this PR approvable — The change is limited to deleting test-only files and making three previously test-only exports module-private; the underlying production logic and request-path behavior remain unchanged. The only residual impact is a narrow reduction of undocumented export surface, with no in-repository consumers found.

You can add or adjust custom eligibility rules. Learn more.

@t3-code
t3-codeBot merged commit f6f2be3 into mainAug 27, 2026
22 checks passed
@t3-code
t3-codeBot deleted the test/prune-low-signal-tests-2 branch August 27, 2026 13:50
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 28, 2026
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
github-actionsBot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 29, 2026
## What's Changed
* fix(grok): improve skills, plans, usage, and turn reliability by @t3dotgg in pingdotgg/t3code#8358
* fix(server): recover stale Codex approval callbacks by @luckyPipewrench in pingdotgg/t3code#5195
* test(server): remove duplicate missing worktree test by @t3-code[bot] in pingdotgg/t3code#8252
* fix(server): replay all un-applied events during projection bootstrap by @krutftw in pingdotgg/t3code#7538
* test: remove low-signal test files by @t3-code[bot] in pingdotgg/t3code#8397
* test: prune trivial error and layout tests by @t3-code[bot] in pingdotgg/t3code#8400
* Fix Android adaptive launcher icon by @colonelpanic8 in pingdotgg/t3code#4332
* feat(web): split provider settings into list and editor by @t3dotgg in pingdotgg/t3code#8380
* fix(codex): accept Codex 0.150 account plans by @gsimone in pingdotgg/t3code#8447
* fix(tooling): allow ignored-only staged changes by @juliusmarminge in pingdotgg/t3code#8468
* fix(mobile): keep iOS home header stable by @juliusmarminge in pingdotgg/t3code#8467
* fix(web): stop showing red x summaries for ordinary tool failures by @t3dotgg in pingdotgg/t3code#8395
* fix(mobile): refine Git action toast glass styling by @juliusmarminge in pingdotgg/t3code#8399
* fix(desktop): allow preview automation in agent-created threads by @t3dotgg in pingdotgg/t3code#8483
* test(web): remove redundant cache key test by @t3-code[bot] in pingdotgg/t3code#8484
* fix(release): move nightly schedule to minute 38 by @t3dotgg in pingdotgg/t3code#8509
* fix(web): stabilize the provider settings editor by @t3dotgg in pingdotgg/t3code#8472
* fix(web): open GitHub pull requests in browser when loading fails by @t3dotgg in pingdotgg/t3code#8507
* fix(codex): show sub-agent models by @t3dotgg in pingdotgg/t3code#8502
* feat(analytics): report connected client platforms by @t3dotgg in pingdotgg/t3code#8481
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB by @t3dotgg in pingdotgg/t3code#8235
* feat(web): toggle a thread's pin from the keyboard by @ipanasenko in pingdotgg/t3code#8440
* fix(web): add back button to project settings by @StiensWout in pingdotgg/t3code#8168
* refactor(mobile): compile semantic themes for Uniwind by @juliusmarminge in pingdotgg/t3code#7327
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times by @ikifar2012 in pingdotgg/t3code#5769
* fix(mobile): show OpenCode model sources in picker by @juliusmarminge in pingdotgg/t3code#8573
* fix(clients): honor project default models in new threads by @anirudhsama in pingdotgg/t3code#6011
* fix(mobile): show file actions on Android by @none23 in pingdotgg/t3code#8215
* fix(connect): explain DPoP connection failures by @extoci in pingdotgg/t3code#8351
* feat(web): make the sidebar project filter a searchable combobox by @SunkenInTime in pingdotgg/t3code#5931
* fix(server): a draft can retry its first send after a failed bootstrap by @shivamhwp in pingdotgg/t3code#8226
* fix(desktop): stop hidden previews draining battery by @Bil0000 in pingdotgg/t3code#8567
* fix(desktop): oauth popups open from the browser preview by @walid-baharwal in pingdotgg/t3code#8435
* fix(web): keep long task drawers usable on small screens by @shivamhwp in pingdotgg/t3code#8313
* fix(opencode): handle child approvals, stops, and model catalogs by @t3dotgg in pingdotgg/t3code#8480
* fix: make thread auto-settling opt-in by @shivamhwp in pingdotgg/t3code#8321
* fix(web): stop session activity timing test from blocking releases by @t3dotgg in pingdotgg/t3code#8585
* fix(mobile): show composer menus when starting a task by @juliusmarminge in pingdotgg/t3code#8587
* fix(web): show the configured stash shortcut by @UtkarshUsername in pingdotgg/t3code#8437
* feat(web): add toggleable confirmation before unpinning a thread by @UtkarshUsername in pingdotgg/t3code#7313
* fix: restore automatic thread settling defaults by @t3dotgg in pingdotgg/t3code#8596
* fix(mobile): restore composer glass and rounded shadows by @juliusmarminge in pingdotgg/t3code#8597
## New Contributors
* @luckyPipewrench made their first contribution in pingdotgg/t3code#5195
* @krutftw made their first contribution in pingdotgg/t3code#7538
* @colonelpanic8 made their first contribution in pingdotgg/t3code#4332
* @ikifar2012 made their first contribution in pingdotgg/t3code#5769
* @walid-baharwal made their first contribution in pingdotgg/t3code#8435
**Full Changelog**: pingdotgg/t3code@v0.0.35...v0.0.36
Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.36
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Aug 29, 2026
* fix(grok): improve skills, plans, usage, and turn reliability (pingdotgg#8358)
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
* fix(server): recover stale Codex approval callbacks (pingdotgg#5195)
* test(server): remove duplicate missing worktree test (pingdotgg#8252)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(server): replay all un-applied events during projection bootstrap (pingdotgg#7538)
Co-authored-by: Theo Browne <me@t3.gg>
* test: remove low-signal test files (pingdotgg#8397)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* test: prune trivial error and layout tests (pingdotgg#8400)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* Fix Android adaptive launcher icon (pingdotgg#4332)
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
* feat(web): split provider settings into list and editor (pingdotgg#8380)
* fix(codex): accept Codex 0.150 account plans (pingdotgg#8447)
* fix(tooling): allow ignored-only staged changes (pingdotgg#8468)
* fix(mobile): keep iOS home header stable (pingdotgg#8467)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): stop showing red x summaries for ordinary tool failures (pingdotgg#8395)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(mobile): refine Git action toast glass styling (pingdotgg#8399)
* fix(desktop): allow preview automation in agent-created threads (pingdotgg#8483)
* test(web): remove redundant cache key test (pingdotgg#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(release): move nightly schedule to minute 38
Recent scheduled nightlies have been delayed or skipped.
Move the nightly cron from minute 7 to minute 38. Keep the existing three-hour interval. This tests a different point in each three-hour window without claiming it will fix GitHub schedule delivery.
Authored by GPT-5.6 Sol with the Codex harness.
* fix(web): stabilize the provider settings editor (pingdotgg#8472)
* fix(web): open GitHub pull requests in browser when loading fails (pingdotgg#8507)
* fix(codex): show sub-agent models (pingdotgg#8502)
* feat(analytics): report connected client platforms (pingdotgg#8481)
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB (pingdotgg#8235)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(web): toggle thread pin from the keyboard
Add a mod+shift+p shortcut that pins or unpins the active thread. Ignore the shortcut during terminal focus and when the server does not support thread pinning.
* fix(web): add back button to project settings (pingdotgg#8168)
* refactor(mobile): compile semantic themes for Uniwind (pingdotgg#7327)
Co-authored-by: codex <codex@users.noreply.github.com>
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times (pingdotgg#5769)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
* fix(mobile): show OpenCode model sources in picker (pingdotgg#8573)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(clients): honor project default models in new threads (pingdotgg#6011)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(mobile): show file actions on Android (pingdotgg#8215)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(connect): explain DPoP connection failures (pingdotgg#8351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): make the sidebar project filter a searchable combobox (pingdotgg#5931)
* fix(server): a draft can retry its first send after a failed bootstrap (pingdotgg#8226)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(desktop): stop hidden previews draining battery (pingdotgg#8567)
* fix(desktop): oauth popups open from the browser preview (pingdotgg#8435)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep long task drawers usable on small screens (pingdotgg#8313)
* fix(opencode): handle child approvals, stops, and model catalogs (pingdotgg#8480)
* fix: make thread auto-settling opt-in (pingdotgg#8321)
* fix(web): stop session activity timing test from blocking releases (pingdotgg#8585)
* fix(mobile): show composer menus when starting a task (pingdotgg#8587)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): show the configured stash shortcut (pingdotgg#8437)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* feat(web): add toggleable confirmation before unpinning a thread (pingdotgg#7313)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix: restore automatic thread settling defaults (pingdotgg#8596)
* fix(mobile): restore composer glass and rounded shadows (pingdotgg#8597)
Co-authored-by: Julius Marminge <julius@mac.lan>
* Remove Messages Glass Lab experiment (pingdotgg#8599)
* chore(release): prepare v0.0.36
---------
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
Co-authored-by: Josh <gitlucky@pipelab.org>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Tradi3 <56069280+krutftw@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Gianmarco <gianmarcosimone89@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Anirudh Coontoor <anirudh@gosupernova.live>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Muhammad Waleed <114993336+walid-baharwal@users.noreply.github.com>
longtngo added a commit to longtngo/t3code that referenced this pull request Aug 29, 2026
Range: a3a8cbd..f6f2be3, 9 commits, 64 files, +4793/-625.
Shape: mostly one-sided. 13 files touched by both sides, 2 conflicts, both in
the same subsystem (ProviderCommandReactor). Upstream's bulk is the Grok ACP
work (pingdotgg#8358, ~1,700 lines across GrokAdapter/GrokProvider/GrokSkills/
AcpRuntimeModel/XAiAcpExtension), a usage contract widening for Grok (v4 -> v5),
and 15 deleted low-signal test files (pingdotgg#8397, pingdotgg#8400, pingdotgg#8252).
CONFLICTS AND RESOLUTIONS
1. apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Upstream pingdotgg#5195 and the fork made the SAME fix independently, byte-identical:
`detail.includes("unknown pending codex approval request")` plus lowercasing
`Cause.pretty`. Only the fork's explanatory comment conflicted. Resolved to
HEAD (comment kept); the shared code merged either way.
2. apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
A SPLICE, not a choice. Git paired upstream's retargeted test header with
the fork's unrelated "continues as a new turn ... (user-input)" test header,
over a shared `const harness = await createHarness(); const now = ...`
preamble; the body below the markers is the fork's. Head and tail describe
different subjects — the documented tell.
Resolved to HEAD. Upstream did not add a test here: it RETARGETED its single
"surfaces stale provider approval request failures" case from the permission
phrasing to the Codex one. The fork had already turned that same test into an
`it.each` over all three phrasings, INCLUDING upstream's exact new detail
string. The fork's version is a strict superset, so nothing is owed.
INVARIANTS (docs/fork/README.md) — all 12 re-probed against the merged tree
1 migrations 49 entries, ids unique + monotonic, max 50, 34 still burned
2 fork patch @effect/platform-node@4.0.0-beta.103 still pinned, 16 patches
3 sidebar Sidebar.tsx default, LegacySidebar behind useLegacySidebarEnabled
4 deletions ContextWindowMeter{.tsx,.test.tsx} absent; MessagesTimeline's
three dropped helpers absent (3 hits are the FORK comments);
ComposerPendingUserInputPanel has 0 Collapsible
4b send state 4 `isSendBlocked=` in ChatComposer.tsx
5 steer test absent (the single grep hit is the FORK comment marking it)
5b footer SidebarLocalModels + SidebarResourceQueue inside SidebarUtilityMenu
5c boot BootTurnReconciler.ts present; reconcileProviderSessions absent
(FORK note at serverRuntimeStartup.ts:305)
6 projects 4 `/projects/$projectKey` call sites, dialog intact
7 stop ladder STOP_INTERRUPT_GRACE + INTERRUPT_REQUEST_GRACE both live,
interruptTurn and stopSessionInternal still separate rungs
8 interrupt 4 `hasLiveSessionForThread` in ProviderCommandReactor.ts
9 entrypoint test still realpaths the temp root
10 meter logic ContextWindowMeter.logic.ts present; both rejected exports absent
11 markdown ChatMarkdown.tsx carries both environmentId and fileEnvironmentId
Also verified by hand, since a clean automerge cannot: the fork's four edits to
GrokAdapter.ts survived upstream's 597-line rewrite intact — the identity-guarded
`sessions.delete`, the `!stopped` filter in `listSessions`, `refreshAccountUsage`
and `withdrawQueuedTurn`.
SWEEPS (union of both sides, 671 files, 13 two-sided)
resurrected 0 fork-loss 0 both-kept 0 dropped 3
The 3 dropped are the deliberate rejection above: upstream's renamed `it(...)`
header, its `detail:` line (the fork carries the same string as an `it.each`
table row, so the text differs) and its `method: "item/requestApproval/decision"`
fixture field, which nothing in the matcher reads.
18 files reported ABSENT from the result: 15 are upstream's own test deletions,
3 are the fork's deliberate ones (ContextWindowMeter.tsx, its test, and
serverRuntimeStartup.reconcile.test.ts under invariant 5c).
`--upstream-deleted` run as well: 364 lines / 52 files, every one upstream
rewording or replacing its own text (0.0.34 -> 0.0.35 version bumps, usage v4
-> v5, the Grok expansions, doc rewrites). No fork reference to a removed thing.
GATE
pnpm install: lockfile unchanged by the merge.
pnpm run verify (fmt:check -> typecheck -> lint -> test): EXIT=0 (read from the log, not the task notification).
14 test blocks, 10,201 passed, 10 skipped, 0 failed. Baseline at 5d4cd0b
was 10,170, so +31.
Arithmetic checked per file rather than by netting totals, because a netted
total is exactly what hid four destroyed tests in a previous session. Test
DECLARATIONS across all 2,526 fork test files: 18,268 -> 18,297 (+29), and
every file that lost any is accounted for — upstream's 15 deletions plus
GitVcsDriverCore.test.ts 76 -> 75, which is pingdotgg#8252 removing one duplicate.
NO fork test file lost a declaration. The residual +2 between declarations
and executed tests is `.each` expansion the declaration regex cannot see.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS0-9 changed lines (additions + deletions).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

test: prune trivial error and layout tests - #8400

Merged
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2
Aug 27, 2026
Merged

test: prune trivial error and layout tests#8400
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2

Conversation

@t3-code

@t3-codet3-codeBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

this removes seven complete low-signal test files and narrows three source symbols that were public only for those tests.

removals

  • deletes error-value tests that repeated tagged-error constructor fields and message getters
  • deletes sidebar width tests that mirrored simple clamp expressions and searched raw source for tailwind classes
  • deletes direct mirrors of string truncation, session fallback, and catalog error construction
  • keeps CatalogDependencyResolutionError, initialConfigOption, and THREAD_SIDEBAR_DEFAULT_WIDTH local now that no production consumer imports them

this removes 15 tests and 213 test lines. production behavior is unchanged.

verification

before deletion:

  • vp test run <seven removed files> passed, 7 files and 15 tests

after deletion:

  • retained checkpointing, terminal, and client-runtime neighbor suites passed, 7 files and 85 tests
  • affected scripts, web, client-runtime, shared, and server package typechecks passed
  • typechecks emitted only existing effect suggestion diagnostics
  • targeted lint passed
  • targeted formatting passed
  • git diff --check passed
  • all 1,030 open pull requests were checked for path conflicts; none touches these files

generated by gpt-5.6-sol with hermes agent.

request provenance


Note

Low Risk
Test-only deletions and export-to-module-private refactors with no runtime logic changes.

Overview
Removes seven low-signal test files (~213 lines, 15 tests) that mostly asserted tagged-error fields/messages, mirrored simple clamp math for the thread sidebar, or read source files for Tailwind class strings. Production behavior is unchanged.

Tightens module boundaries by making symbols test-only exports private: THREAD_SIDEBAR_DEFAULT_WIDTH in threadSidebarWidth.ts, initialConfigOption in session.ts, and CatalogDependencyResolutionError in resolve-catalog.ts.

Reviewed by Cursor Bugbot for commit 746f1fd. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Remove trivial error and layout test files and privatize now-unused exports

  • Deletes nine test files that validated simple error constructors, schema checks, layout constants, and string utilities.
  • Removes the export keyword from THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, and CatalogDependencyResolutionError, making them module-private since their tests no longer reference them externally.
  • Risk: any out-of-tree code importing THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, or CatalogDependencyResolutionError from threadSidebarWidth.ts, session.ts, or resolve-catalog.ts will break.

Macroscope summarized 746f1fd.

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
@github-actionsgithub-actionsBot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.8%)15.1 KiB
CodexThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+26.1%)7.3 KiB
CodexLive turn WebSocket wire5.9 KiB6.4 KiB+599 B (+10.0%)7.8 KiB
CodexLive turn WebSocket decoded49.7 KiB55.6 KiB+5.9 KiB (+11.8%)66.4 KiB
CodexLive turn messages1611−5 (−31.3%)21
ClaudeTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.7%)15.1 KiB
ClaudeThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+25.9%)7.3 KiB
ClaudeLive turn WebSocket wire5.9 KiB6.4 KiB+604 B (+10.1%)7.8 KiB
ClaudeLive turn WebSocket decoded50.6 KiB56.4 KiB+5.9 KiB (+11.6%)66.4 KiB
ClaudeLive turn messages1611−5 (−31.3%)21

Baseline: 83d769f · PR result: 746f1fd · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 746f1fd

Macroscope's review found this PR approvable — The change is limited to deleting test-only files and making three previously test-only exports module-private; the underlying production logic and request-path behavior remain unchanged. The only residual impact is a narrow reduction of undocumented export surface, with no in-repository consumers found.

You can add or adjust custom eligibility rules. Learn more.

@t3-code
t3-codeBot merged commit f6f2be3 into mainAug 27, 2026
22 checks passed
@t3-code
t3-codeBot deleted the test/prune-low-signal-tests-2 branch August 27, 2026 13:50
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 28, 2026
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
github-actionsBot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 29, 2026
## What's Changed
* fix(grok): improve skills, plans, usage, and turn reliability by @t3dotgg in pingdotgg/t3code#8358
* fix(server): recover stale Codex approval callbacks by @luckyPipewrench in pingdotgg/t3code#5195
* test(server): remove duplicate missing worktree test by @t3-code[bot] in pingdotgg/t3code#8252
* fix(server): replay all un-applied events during projection bootstrap by @krutftw in pingdotgg/t3code#7538
* test: remove low-signal test files by @t3-code[bot] in pingdotgg/t3code#8397
* test: prune trivial error and layout tests by @t3-code[bot] in pingdotgg/t3code#8400
* Fix Android adaptive launcher icon by @colonelpanic8 in pingdotgg/t3code#4332
* feat(web): split provider settings into list and editor by @t3dotgg in pingdotgg/t3code#8380
* fix(codex): accept Codex 0.150 account plans by @gsimone in pingdotgg/t3code#8447
* fix(tooling): allow ignored-only staged changes by @juliusmarminge in pingdotgg/t3code#8468
* fix(mobile): keep iOS home header stable by @juliusmarminge in pingdotgg/t3code#8467
* fix(web): stop showing red x summaries for ordinary tool failures by @t3dotgg in pingdotgg/t3code#8395
* fix(mobile): refine Git action toast glass styling by @juliusmarminge in pingdotgg/t3code#8399
* fix(desktop): allow preview automation in agent-created threads by @t3dotgg in pingdotgg/t3code#8483
* test(web): remove redundant cache key test by @t3-code[bot] in pingdotgg/t3code#8484
* fix(release): move nightly schedule to minute 38 by @t3dotgg in pingdotgg/t3code#8509
* fix(web): stabilize the provider settings editor by @t3dotgg in pingdotgg/t3code#8472
* fix(web): open GitHub pull requests in browser when loading fails by @t3dotgg in pingdotgg/t3code#8507
* fix(codex): show sub-agent models by @t3dotgg in pingdotgg/t3code#8502
* feat(analytics): report connected client platforms by @t3dotgg in pingdotgg/t3code#8481
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB by @t3dotgg in pingdotgg/t3code#8235
* feat(web): toggle a thread's pin from the keyboard by @ipanasenko in pingdotgg/t3code#8440
* fix(web): add back button to project settings by @StiensWout in pingdotgg/t3code#8168
* refactor(mobile): compile semantic themes for Uniwind by @juliusmarminge in pingdotgg/t3code#7327
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times by @ikifar2012 in pingdotgg/t3code#5769
* fix(mobile): show OpenCode model sources in picker by @juliusmarminge in pingdotgg/t3code#8573
* fix(clients): honor project default models in new threads by @anirudhsama in pingdotgg/t3code#6011
* fix(mobile): show file actions on Android by @none23 in pingdotgg/t3code#8215
* fix(connect): explain DPoP connection failures by @extoci in pingdotgg/t3code#8351
* feat(web): make the sidebar project filter a searchable combobox by @SunkenInTime in pingdotgg/t3code#5931
* fix(server): a draft can retry its first send after a failed bootstrap by @shivamhwp in pingdotgg/t3code#8226
* fix(desktop): stop hidden previews draining battery by @Bil0000 in pingdotgg/t3code#8567
* fix(desktop): oauth popups open from the browser preview by @walid-baharwal in pingdotgg/t3code#8435
* fix(web): keep long task drawers usable on small screens by @shivamhwp in pingdotgg/t3code#8313
* fix(opencode): handle child approvals, stops, and model catalogs by @t3dotgg in pingdotgg/t3code#8480
* fix: make thread auto-settling opt-in by @shivamhwp in pingdotgg/t3code#8321
* fix(web): stop session activity timing test from blocking releases by @t3dotgg in pingdotgg/t3code#8585
* fix(mobile): show composer menus when starting a task by @juliusmarminge in pingdotgg/t3code#8587
* fix(web): show the configured stash shortcut by @UtkarshUsername in pingdotgg/t3code#8437
* feat(web): add toggleable confirmation before unpinning a thread by @UtkarshUsername in pingdotgg/t3code#7313
* fix: restore automatic thread settling defaults by @t3dotgg in pingdotgg/t3code#8596
* fix(mobile): restore composer glass and rounded shadows by @juliusmarminge in pingdotgg/t3code#8597
## New Contributors
* @luckyPipewrench made their first contribution in pingdotgg/t3code#5195
* @krutftw made their first contribution in pingdotgg/t3code#7538
* @colonelpanic8 made their first contribution in pingdotgg/t3code#4332
* @ikifar2012 made their first contribution in pingdotgg/t3code#5769
* @walid-baharwal made their first contribution in pingdotgg/t3code#8435
**Full Changelog**: pingdotgg/t3code@v0.0.35...v0.0.36
Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.36
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Aug 29, 2026
* fix(grok): improve skills, plans, usage, and turn reliability (pingdotgg#8358)
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
* fix(server): recover stale Codex approval callbacks (pingdotgg#5195)
* test(server): remove duplicate missing worktree test (pingdotgg#8252)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(server): replay all un-applied events during projection bootstrap (pingdotgg#7538)
Co-authored-by: Theo Browne <me@t3.gg>
* test: remove low-signal test files (pingdotgg#8397)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* test: prune trivial error and layout tests (pingdotgg#8400)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* Fix Android adaptive launcher icon (pingdotgg#4332)
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
* feat(web): split provider settings into list and editor (pingdotgg#8380)
* fix(codex): accept Codex 0.150 account plans (pingdotgg#8447)
* fix(tooling): allow ignored-only staged changes (pingdotgg#8468)
* fix(mobile): keep iOS home header stable (pingdotgg#8467)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): stop showing red x summaries for ordinary tool failures (pingdotgg#8395)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(mobile): refine Git action toast glass styling (pingdotgg#8399)
* fix(desktop): allow preview automation in agent-created threads (pingdotgg#8483)
* test(web): remove redundant cache key test (pingdotgg#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(release): move nightly schedule to minute 38
Recent scheduled nightlies have been delayed or skipped.
Move the nightly cron from minute 7 to minute 38. Keep the existing three-hour interval. This tests a different point in each three-hour window without claiming it will fix GitHub schedule delivery.
Authored by GPT-5.6 Sol with the Codex harness.
* fix(web): stabilize the provider settings editor (pingdotgg#8472)
* fix(web): open GitHub pull requests in browser when loading fails (pingdotgg#8507)
* fix(codex): show sub-agent models (pingdotgg#8502)
* feat(analytics): report connected client platforms (pingdotgg#8481)
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB (pingdotgg#8235)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(web): toggle thread pin from the keyboard
Add a mod+shift+p shortcut that pins or unpins the active thread. Ignore the shortcut during terminal focus and when the server does not support thread pinning.
* fix(web): add back button to project settings (pingdotgg#8168)
* refactor(mobile): compile semantic themes for Uniwind (pingdotgg#7327)
Co-authored-by: codex <codex@users.noreply.github.com>
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times (pingdotgg#5769)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
* fix(mobile): show OpenCode model sources in picker (pingdotgg#8573)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(clients): honor project default models in new threads (pingdotgg#6011)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(mobile): show file actions on Android (pingdotgg#8215)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(connect): explain DPoP connection failures (pingdotgg#8351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): make the sidebar project filter a searchable combobox (pingdotgg#5931)
* fix(server): a draft can retry its first send after a failed bootstrap (pingdotgg#8226)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(desktop): stop hidden previews draining battery (pingdotgg#8567)
* fix(desktop): oauth popups open from the browser preview (pingdotgg#8435)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep long task drawers usable on small screens (pingdotgg#8313)
* fix(opencode): handle child approvals, stops, and model catalogs (pingdotgg#8480)
* fix: make thread auto-settling opt-in (pingdotgg#8321)
* fix(web): stop session activity timing test from blocking releases (pingdotgg#8585)
* fix(mobile): show composer menus when starting a task (pingdotgg#8587)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): show the configured stash shortcut (pingdotgg#8437)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* feat(web): add toggleable confirmation before unpinning a thread (pingdotgg#7313)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix: restore automatic thread settling defaults (pingdotgg#8596)
* fix(mobile): restore composer glass and rounded shadows (pingdotgg#8597)
Co-authored-by: Julius Marminge <julius@mac.lan>
* Remove Messages Glass Lab experiment (pingdotgg#8599)
* chore(release): prepare v0.0.36
---------
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
Co-authored-by: Josh <gitlucky@pipelab.org>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Tradi3 <56069280+krutftw@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Gianmarco <gianmarcosimone89@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Anirudh Coontoor <anirudh@gosupernova.live>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Muhammad Waleed <114993336+walid-baharwal@users.noreply.github.com>
longtngo added a commit to longtngo/t3code that referenced this pull request Aug 29, 2026
Range: a3a8cbd..f6f2be3, 9 commits, 64 files, +4793/-625.
Shape: mostly one-sided. 13 files touched by both sides, 2 conflicts, both in
the same subsystem (ProviderCommandReactor). Upstream's bulk is the Grok ACP
work (pingdotgg#8358, ~1,700 lines across GrokAdapter/GrokProvider/GrokSkills/
AcpRuntimeModel/XAiAcpExtension), a usage contract widening for Grok (v4 -> v5),
and 15 deleted low-signal test files (pingdotgg#8397, pingdotgg#8400, pingdotgg#8252).
CONFLICTS AND RESOLUTIONS
1. apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Upstream pingdotgg#5195 and the fork made the SAME fix independently, byte-identical:
`detail.includes("unknown pending codex approval request")` plus lowercasing
`Cause.pretty`. Only the fork's explanatory comment conflicted. Resolved to
HEAD (comment kept); the shared code merged either way.
2. apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
A SPLICE, not a choice. Git paired upstream's retargeted test header with
the fork's unrelated "continues as a new turn ... (user-input)" test header,
over a shared `const harness = await createHarness(); const now = ...`
preamble; the body below the markers is the fork's. Head and tail describe
different subjects — the documented tell.
Resolved to HEAD. Upstream did not add a test here: it RETARGETED its single
"surfaces stale provider approval request failures" case from the permission
phrasing to the Codex one. The fork had already turned that same test into an
`it.each` over all three phrasings, INCLUDING upstream's exact new detail
string. The fork's version is a strict superset, so nothing is owed.
INVARIANTS (docs/fork/README.md) — all 12 re-probed against the merged tree
1 migrations 49 entries, ids unique + monotonic, max 50, 34 still burned
2 fork patch @effect/platform-node@4.0.0-beta.103 still pinned, 16 patches
3 sidebar Sidebar.tsx default, LegacySidebar behind useLegacySidebarEnabled
4 deletions ContextWindowMeter{.tsx,.test.tsx} absent; MessagesTimeline's
three dropped helpers absent (3 hits are the FORK comments);
ComposerPendingUserInputPanel has 0 Collapsible
4b send state 4 `isSendBlocked=` in ChatComposer.tsx
5 steer test absent (the single grep hit is the FORK comment marking it)
5b footer SidebarLocalModels + SidebarResourceQueue inside SidebarUtilityMenu
5c boot BootTurnReconciler.ts present; reconcileProviderSessions absent
(FORK note at serverRuntimeStartup.ts:305)
6 projects 4 `/projects/$projectKey` call sites, dialog intact
7 stop ladder STOP_INTERRUPT_GRACE + INTERRUPT_REQUEST_GRACE both live,
interruptTurn and stopSessionInternal still separate rungs
8 interrupt 4 `hasLiveSessionForThread` in ProviderCommandReactor.ts
9 entrypoint test still realpaths the temp root
10 meter logic ContextWindowMeter.logic.ts present; both rejected exports absent
11 markdown ChatMarkdown.tsx carries both environmentId and fileEnvironmentId
Also verified by hand, since a clean automerge cannot: the fork's four edits to
GrokAdapter.ts survived upstream's 597-line rewrite intact — the identity-guarded
`sessions.delete`, the `!stopped` filter in `listSessions`, `refreshAccountUsage`
and `withdrawQueuedTurn`.
SWEEPS (union of both sides, 671 files, 13 two-sided)
resurrected 0 fork-loss 0 both-kept 0 dropped 3
The 3 dropped are the deliberate rejection above: upstream's renamed `it(...)`
header, its `detail:` line (the fork carries the same string as an `it.each`
table row, so the text differs) and its `method: "item/requestApproval/decision"`
fixture field, which nothing in the matcher reads.
18 files reported ABSENT from the result: 15 are upstream's own test deletions,
3 are the fork's deliberate ones (ContextWindowMeter.tsx, its test, and
serverRuntimeStartup.reconcile.test.ts under invariant 5c).
`--upstream-deleted` run as well: 364 lines / 52 files, every one upstream
rewording or replacing its own text (0.0.34 -> 0.0.35 version bumps, usage v4
-> v5, the Grok expansions, doc rewrites). No fork reference to a removed thing.
GATE
pnpm install: lockfile unchanged by the merge.
pnpm run verify (fmt:check -> typecheck -> lint -> test): EXIT=0 (read from the log, not the task notification).
14 test blocks, 10,201 passed, 10 skipped, 0 failed. Baseline at 5d4cd0b
was 10,170, so +31.
Arithmetic checked per file rather than by netting totals, because a netted
total is exactly what hid four destroyed tests in a previous session. Test
DECLARATIONS across all 2,526 fork test files: 18,268 -> 18,297 (+29), and
every file that lost any is accounted for — upstream's 15 deletions plus
GitVcsDriverCore.test.ts 76 -> 75, which is pingdotgg#8252 removing one duplicate.
NO fork test file lost a declaration. The residual +2 between declarations
and executed tests is `.each` expansion the declaration regex cannot see.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS0-9 changed lines (additions + deletions).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

test: prune trivial error and layout tests - #8400

Merged
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2
Aug 27, 2026
Merged

test: prune trivial error and layout tests#8400
t3-code[bot] merged 1 commit into
mainfrom
test/prune-low-signal-tests-2

Conversation

@t3-code

@t3-codet3-codeBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

this removes seven complete low-signal test files and narrows three source symbols that were public only for those tests.

removals

  • deletes error-value tests that repeated tagged-error constructor fields and message getters
  • deletes sidebar width tests that mirrored simple clamp expressions and searched raw source for tailwind classes
  • deletes direct mirrors of string truncation, session fallback, and catalog error construction
  • keeps CatalogDependencyResolutionError, initialConfigOption, and THREAD_SIDEBAR_DEFAULT_WIDTH local now that no production consumer imports them

this removes 15 tests and 213 test lines. production behavior is unchanged.

verification

before deletion:

  • vp test run <seven removed files> passed, 7 files and 15 tests

after deletion:

  • retained checkpointing, terminal, and client-runtime neighbor suites passed, 7 files and 85 tests
  • affected scripts, web, client-runtime, shared, and server package typechecks passed
  • typechecks emitted only existing effect suggestion diagnostics
  • targeted lint passed
  • targeted formatting passed
  • git diff --check passed
  • all 1,030 open pull requests were checked for path conflicts; none touches these files

generated by gpt-5.6-sol with hermes agent.

request provenance


Note

Low Risk
Test-only deletions and export-to-module-private refactors with no runtime logic changes.

Overview
Removes seven low-signal test files (~213 lines, 15 tests) that mostly asserted tagged-error fields/messages, mirrored simple clamp math for the thread sidebar, or read source files for Tailwind class strings. Production behavior is unchanged.

Tightens module boundaries by making symbols test-only exports private: THREAD_SIDEBAR_DEFAULT_WIDTH in threadSidebarWidth.ts, initialConfigOption in session.ts, and CatalogDependencyResolutionError in resolve-catalog.ts.

Reviewed by Cursor Bugbot for commit 746f1fd. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Remove trivial error and layout test files and privatize now-unused exports

  • Deletes nine test files that validated simple error constructors, schema checks, layout constants, and string utilities.
  • Removes the export keyword from THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, and CatalogDependencyResolutionError, making them module-private since their tests no longer reference them externally.
  • Risk: any out-of-tree code importing THREAD_SIDEBAR_DEFAULT_WIDTH, initialConfigOption, or CatalogDependencyResolutionError from threadSidebarWidth.ts, session.ts, or resolve-catalog.ts will break.

Macroscope summarized 746f1fd.

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
@github-actionsgithub-actionsBot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.8%)15.1 KiB
CodexThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+26.1%)7.3 KiB
CodexLive turn WebSocket wire5.9 KiB6.4 KiB+599 B (+10.0%)7.8 KiB
CodexLive turn WebSocket decoded49.7 KiB55.6 KiB+5.9 KiB (+11.8%)66.4 KiB
CodexLive turn messages1611−5 (−31.3%)21
ClaudeTotal thread wire11.3 KiB13.3 KiB+2.0 KiB (+17.7%)15.1 KiB
ClaudeThread snapshot wire5.5 KiB6.9 KiB+1.4 KiB (+25.9%)7.3 KiB
ClaudeLive turn WebSocket wire5.9 KiB6.4 KiB+604 B (+10.1%)7.8 KiB
ClaudeLive turn WebSocket decoded50.6 KiB56.4 KiB+5.9 KiB (+11.6%)66.4 KiB
ClaudeLive turn messages1611−5 (−31.3%)21

Baseline: 83d769f · PR result: 746f1fd · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 109.4 KiB
  • Claude decoded thread snapshot: 110.1 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@macroscopeapp

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 746f1fd

Macroscope's review found this PR approvable — The change is limited to deleting test-only files and making three previously test-only exports module-private; the underlying production logic and request-path behavior remain unchanged. The only residual impact is a narrow reduction of undocumented export surface, with no in-repository consumers found.

You can add or adjust custom eligibility rules. Learn more.

@t3-code
t3-codeBot merged commit f6f2be3 into mainAug 27, 2026
22 checks passed
@t3-code
t3-codeBot deleted the test/prune-low-signal-tests-2 branch August 27, 2026 13:50
frankdavidcorona pushed a commit to frankdavidcorona/t3code that referenced this pull request Aug 28, 2026
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
github-actionsBot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 29, 2026
## What's Changed
* fix(grok): improve skills, plans, usage, and turn reliability by @t3dotgg in pingdotgg/t3code#8358
* fix(server): recover stale Codex approval callbacks by @luckyPipewrench in pingdotgg/t3code#5195
* test(server): remove duplicate missing worktree test by @t3-code[bot] in pingdotgg/t3code#8252
* fix(server): replay all un-applied events during projection bootstrap by @krutftw in pingdotgg/t3code#7538
* test: remove low-signal test files by @t3-code[bot] in pingdotgg/t3code#8397
* test: prune trivial error and layout tests by @t3-code[bot] in pingdotgg/t3code#8400
* Fix Android adaptive launcher icon by @colonelpanic8 in pingdotgg/t3code#4332
* feat(web): split provider settings into list and editor by @t3dotgg in pingdotgg/t3code#8380
* fix(codex): accept Codex 0.150 account plans by @gsimone in pingdotgg/t3code#8447
* fix(tooling): allow ignored-only staged changes by @juliusmarminge in pingdotgg/t3code#8468
* fix(mobile): keep iOS home header stable by @juliusmarminge in pingdotgg/t3code#8467
* fix(web): stop showing red x summaries for ordinary tool failures by @t3dotgg in pingdotgg/t3code#8395
* fix(mobile): refine Git action toast glass styling by @juliusmarminge in pingdotgg/t3code#8399
* fix(desktop): allow preview automation in agent-created threads by @t3dotgg in pingdotgg/t3code#8483
* test(web): remove redundant cache key test by @t3-code[bot] in pingdotgg/t3code#8484
* fix(release): move nightly schedule to minute 38 by @t3dotgg in pingdotgg/t3code#8509
* fix(web): stabilize the provider settings editor by @t3dotgg in pingdotgg/t3code#8472
* fix(web): open GitHub pull requests in browser when loading fails by @t3dotgg in pingdotgg/t3code#8507
* fix(codex): show sub-agent models by @t3dotgg in pingdotgg/t3code#8502
* feat(analytics): report connected client platforms by @t3dotgg in pingdotgg/t3code#8481
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB by @t3dotgg in pingdotgg/t3code#8235
* feat(web): toggle a thread's pin from the keyboard by @ipanasenko in pingdotgg/t3code#8440
* fix(web): add back button to project settings by @StiensWout in pingdotgg/t3code#8168
* refactor(mobile): compile semantic themes for Uniwind by @juliusmarminge in pingdotgg/t3code#7327
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times by @ikifar2012 in pingdotgg/t3code#5769
* fix(mobile): show OpenCode model sources in picker by @juliusmarminge in pingdotgg/t3code#8573
* fix(clients): honor project default models in new threads by @anirudhsama in pingdotgg/t3code#6011
* fix(mobile): show file actions on Android by @none23 in pingdotgg/t3code#8215
* fix(connect): explain DPoP connection failures by @extoci in pingdotgg/t3code#8351
* feat(web): make the sidebar project filter a searchable combobox by @SunkenInTime in pingdotgg/t3code#5931
* fix(server): a draft can retry its first send after a failed bootstrap by @shivamhwp in pingdotgg/t3code#8226
* fix(desktop): stop hidden previews draining battery by @Bil0000 in pingdotgg/t3code#8567
* fix(desktop): oauth popups open from the browser preview by @walid-baharwal in pingdotgg/t3code#8435
* fix(web): keep long task drawers usable on small screens by @shivamhwp in pingdotgg/t3code#8313
* fix(opencode): handle child approvals, stops, and model catalogs by @t3dotgg in pingdotgg/t3code#8480
* fix: make thread auto-settling opt-in by @shivamhwp in pingdotgg/t3code#8321
* fix(web): stop session activity timing test from blocking releases by @t3dotgg in pingdotgg/t3code#8585
* fix(mobile): show composer menus when starting a task by @juliusmarminge in pingdotgg/t3code#8587
* fix(web): show the configured stash shortcut by @UtkarshUsername in pingdotgg/t3code#8437
* feat(web): add toggleable confirmation before unpinning a thread by @UtkarshUsername in pingdotgg/t3code#7313
* fix: restore automatic thread settling defaults by @t3dotgg in pingdotgg/t3code#8596
* fix(mobile): restore composer glass and rounded shadows by @juliusmarminge in pingdotgg/t3code#8597
## New Contributors
* @luckyPipewrench made their first contribution in pingdotgg/t3code#5195
* @krutftw made their first contribution in pingdotgg/t3code#7538
* @colonelpanic8 made their first contribution in pingdotgg/t3code#4332
* @ikifar2012 made their first contribution in pingdotgg/t3code#5769
* @walid-baharwal made their first contribution in pingdotgg/t3code#8435
**Full Changelog**: pingdotgg/t3code@v0.0.35...v0.0.36
Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.36
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Aug 29, 2026
* fix(grok): improve skills, plans, usage, and turn reliability (pingdotgg#8358)
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
* fix(server): recover stale Codex approval callbacks (pingdotgg#5195)
* test(server): remove duplicate missing worktree test (pingdotgg#8252)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(server): replay all un-applied events during projection bootstrap (pingdotgg#7538)
Co-authored-by: Theo Browne <me@t3.gg>
* test: remove low-signal test files (pingdotgg#8397)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* test: prune trivial error and layout tests (pingdotgg#8400)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
* Fix Android adaptive launcher icon (pingdotgg#4332)
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
* feat(web): split provider settings into list and editor (pingdotgg#8380)
* fix(codex): accept Codex 0.150 account plans (pingdotgg#8447)
* fix(tooling): allow ignored-only staged changes (pingdotgg#8468)
* fix(mobile): keep iOS home header stable (pingdotgg#8467)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): stop showing red x summaries for ordinary tool failures (pingdotgg#8395)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(mobile): refine Git action toast glass styling (pingdotgg#8399)
* fix(desktop): allow preview automation in agent-created threads (pingdotgg#8483)
* test(web): remove redundant cache key test (pingdotgg#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
* fix(release): move nightly schedule to minute 38
Recent scheduled nightlies have been delayed or skipped.
Move the nightly cron from minute 7 to minute 38. Keep the existing three-hour interval. This tests a different point in each three-hour window without claiming it will fix GitHub schedule delivery.
Authored by GPT-5.6 Sol with the Codex harness.
* fix(web): stabilize the provider settings editor (pingdotgg#8472)
* fix(web): open GitHub pull requests in browser when loading fails (pingdotgg#8507)
* fix(codex): show sub-agent models (pingdotgg#8502)
* feat(analytics): report connected client platforms (pingdotgg#8481)
* feat(server): accept PDF, ZIP, and other file uploads up to 50MB (pingdotgg#8235)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(web): toggle thread pin from the keyboard
Add a mod+shift+p shortcut that pins or unpins the active thread. Ignore the shortcut during terminal focus and when the server does not support thread pinning.
* fix(web): add back button to project settings (pingdotgg#8168)
* refactor(mobile): compile semantic themes for Uniwind (pingdotgg#7327)
Co-authored-by: codex <codex@users.noreply.github.com>
* fix(desktop): Cache Runtime locally on WSL Filesystem, dramatically improving launch times (pingdotgg#5769)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
* fix(mobile): show OpenCode model sources in picker (pingdotgg#8573)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(clients): honor project default models in new threads (pingdotgg#6011)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(mobile): show file actions on Android (pingdotgg#8215)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix(connect): explain DPoP connection failures (pingdotgg#8351)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): make the sidebar project filter a searchable combobox (pingdotgg#5931)
* fix(server): a draft can retry its first send after a failed bootstrap (pingdotgg#8226)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* fix(desktop): stop hidden previews draining battery (pingdotgg#8567)
* fix(desktop): oauth popups open from the browser preview (pingdotgg#8435)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep long task drawers usable on small screens (pingdotgg#8313)
* fix(opencode): handle child approvals, stops, and model catalogs (pingdotgg#8480)
* fix: make thread auto-settling opt-in (pingdotgg#8321)
* fix(web): stop session activity timing test from blocking releases (pingdotgg#8585)
* fix(mobile): show composer menus when starting a task (pingdotgg#8587)
Co-authored-by: Julius Marminge <julius@mac.lan>
* fix(web): show the configured stash shortcut (pingdotgg#8437)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* feat(web): add toggleable confirmation before unpinning a thread (pingdotgg#7313)
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
* fix: restore automatic thread settling defaults (pingdotgg#8596)
* fix(mobile): restore composer glass and rounded shadows (pingdotgg#8597)
Co-authored-by: Julius Marminge <julius@mac.lan>
* Remove Messages Glass Lab experiment (pingdotgg#8599)
* chore(release): prepare v0.0.36
---------
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Dara Adedeji <daraadedeji07@gmail.com>
Co-authored-by: Ahmed Besic <ahmed-besic@users.noreply.github.com>
Co-authored-by: Michael Brown <michaeltbrown.mtb@gmail.com>
Co-authored-by: Lars Nieuwenhuis <35393046+lnieuwenhuis@users.noreply.github.com>
Co-authored-by: Guilherme Barros <gbarros1095@gmail.com>
Co-authored-by: PC <pc@localhost>
Co-authored-by: 1xpixi <157762409+1xpixi@users.noreply.github.com>
Co-authored-by: Josh <gitlucky@pipelab.org>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Tradi3 <56069280+krutftw@users.noreply.github.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Ivan Malison <IvanMalison@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Gianmarco <gianmarcosimone89@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Anirudh Coontoor <anirudh@gosupernova.live>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Nick Anisimov <n.anisimov.23@gmail.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Muhammad Waleed <114993336+walid-baharwal@users.noreply.github.com>
longtngo added a commit to longtngo/t3code that referenced this pull request Aug 29, 2026
Range: a3a8cbd..f6f2be3, 9 commits, 64 files, +4793/-625.
Shape: mostly one-sided. 13 files touched by both sides, 2 conflicts, both in
the same subsystem (ProviderCommandReactor). Upstream's bulk is the Grok ACP
work (pingdotgg#8358, ~1,700 lines across GrokAdapter/GrokProvider/GrokSkills/
AcpRuntimeModel/XAiAcpExtension), a usage contract widening for Grok (v4 -> v5),
and 15 deleted low-signal test files (pingdotgg#8397, pingdotgg#8400, pingdotgg#8252).
CONFLICTS AND RESOLUTIONS
1. apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Upstream pingdotgg#5195 and the fork made the SAME fix independently, byte-identical:
`detail.includes("unknown pending codex approval request")` plus lowercasing
`Cause.pretty`. Only the fork's explanatory comment conflicted. Resolved to
HEAD (comment kept); the shared code merged either way.
2. apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
A SPLICE, not a choice. Git paired upstream's retargeted test header with
the fork's unrelated "continues as a new turn ... (user-input)" test header,
over a shared `const harness = await createHarness(); const now = ...`
preamble; the body below the markers is the fork's. Head and tail describe
different subjects — the documented tell.
Resolved to HEAD. Upstream did not add a test here: it RETARGETED its single
"surfaces stale provider approval request failures" case from the permission
phrasing to the Codex one. The fork had already turned that same test into an
`it.each` over all three phrasings, INCLUDING upstream's exact new detail
string. The fork's version is a strict superset, so nothing is owed.
INVARIANTS (docs/fork/README.md) — all 12 re-probed against the merged tree
1 migrations 49 entries, ids unique + monotonic, max 50, 34 still burned
2 fork patch @effect/platform-node@4.0.0-beta.103 still pinned, 16 patches
3 sidebar Sidebar.tsx default, LegacySidebar behind useLegacySidebarEnabled
4 deletions ContextWindowMeter{.tsx,.test.tsx} absent; MessagesTimeline's
three dropped helpers absent (3 hits are the FORK comments);
ComposerPendingUserInputPanel has 0 Collapsible
4b send state 4 `isSendBlocked=` in ChatComposer.tsx
5 steer test absent (the single grep hit is the FORK comment marking it)
5b footer SidebarLocalModels + SidebarResourceQueue inside SidebarUtilityMenu
5c boot BootTurnReconciler.ts present; reconcileProviderSessions absent
(FORK note at serverRuntimeStartup.ts:305)
6 projects 4 `/projects/$projectKey` call sites, dialog intact
7 stop ladder STOP_INTERRUPT_GRACE + INTERRUPT_REQUEST_GRACE both live,
interruptTurn and stopSessionInternal still separate rungs
8 interrupt 4 `hasLiveSessionForThread` in ProviderCommandReactor.ts
9 entrypoint test still realpaths the temp root
10 meter logic ContextWindowMeter.logic.ts present; both rejected exports absent
11 markdown ChatMarkdown.tsx carries both environmentId and fileEnvironmentId
Also verified by hand, since a clean automerge cannot: the fork's four edits to
GrokAdapter.ts survived upstream's 597-line rewrite intact — the identity-guarded
`sessions.delete`, the `!stopped` filter in `listSessions`, `refreshAccountUsage`
and `withdrawQueuedTurn`.
SWEEPS (union of both sides, 671 files, 13 two-sided)
resurrected 0 fork-loss 0 both-kept 0 dropped 3
The 3 dropped are the deliberate rejection above: upstream's renamed `it(...)`
header, its `detail:` line (the fork carries the same string as an `it.each`
table row, so the text differs) and its `method: "item/requestApproval/decision"`
fixture field, which nothing in the matcher reads.
18 files reported ABSENT from the result: 15 are upstream's own test deletions,
3 are the fork's deliberate ones (ContextWindowMeter.tsx, its test, and
serverRuntimeStartup.reconcile.test.ts under invariant 5c).
`--upstream-deleted` run as well: 364 lines / 52 files, every one upstream
rewording or replacing its own text (0.0.34 -> 0.0.35 version bumps, usage v4
-> v5, the Grok expansions, doc rewrites). No fork reference to a removed thing.
GATE
pnpm install: lockfile unchanged by the merge.
pnpm run verify (fmt:check -> typecheck -> lint -> test): EXIT=0 (read from the log, not the task notification).
14 test blocks, 10,201 passed, 10 skipped, 0 failed. Baseline at 5d4cd0b
was 10,170, so +31.
Arithmetic checked per file rather than by netting totals, because a netted
total is exactly what hid four destroyed tests in a previous session. Test
DECLARATIONS across all 2,526 fork test files: 18,268 -> 18,297 (+29), and
every file that lost any is accounted for — upstream's 15 deletions plus
GitVcsDriverCore.test.ts 76 -> 75, which is pingdotgg#8252 removing one duplicate.
NO fork test file lost a declaration. The residual +2 between declarations
and executed tests is `.each` expansion the declaration regex cannot see.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS0-9 changed lines (additions + deletions).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants