Skip to content

chore: integrate T3 Code v0.1.2 and retain upstream test pruning - #443

Merged
dbalders merged 263 commits into
mainfrom
sync/release-v0.1.2-044f07257c96
Oct 26, 2026
Merged

dbalders merged 263 commits into
mainfrom
sync/release-v0.1.2-044f07257c96

Conversation

@dbalders

@dbalders dbalders commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

Integrate T3 Code v0.1.2 (044f07257c9684ae4543bd1e1ebf9c394e9e3830) while preserving intentional TritonAI behavior and upstream merge ancestry. Retain upstream's test pruning: 465 existing test files removed, 29 added, 436 fewer files overall, and 254,822 net test lines removed relative to the original downstream base.

Why

Bring Harness onto the latest stable upstream release and remove the low-value tests upstream retired. Keep meaningful downstream security, migration, managed-policy and behavior coverage through the extracted web/mobile architecture.

Validation

  • Hosted CI passed on 2ea37f5f851c209dafa4973bbadef0a16dfcccfd, including aggregate Check, web/nonserver Test, all five server shards, Windows regression, native static/fingerprint and release-smoke checks. Optional draft preview/review jobs remain skipped. The thread-transfer report matches this head and exact main baseline 5bd4bdc; every enforced ceiling passes.
  • Full local preflight:checks passed, including lint/format, release/process guards, knip and 38/38 typecheck tasks. Desktop build/preload/main-import checks passed 9/9; native iOS build and mobile static checks passed.
  • Web: 386 files / 4,761 tests passed. Mobile: 198 files / 2,208 tests passed. Desktop: 994 passed, 38 skipped. Remaining nonserver package suites passed.
  • Full server run: 500 files passed; three failures shared one fixture that assumed an enabled Claude default. The fixture now explicitly enables its intended synthetic provider, with assertions unchanged; the whole repaired file passed 3/3. The full server suite was not repeated after that test-only fix.
  • A later aggregate run exposed a SecretInput browser interaction timeout and keystroke spillover. Atomic awaited fill and explicit focus targets preserve the secret-edit assertions; the entire web suite then passed. Retained failed aggregate runs are not represented as green.
  • Isolated macOS Electron: actual managed Codex tool action created a unique 16-byte file; exact filesystem readback and same-thread follow-up passed. Stop generation, backend restart, retained history and a fresh iOS tool-backed follow-up passed, with results synchronized to desktop. Project Home displayed the new completion and retained project history.
  • Merged current main's two Nightly CI fixes without conflicts; the eight browser-workflow regression tests passed. App/provider source is unchanged by that merge.
  • CI follow-up: imported Vercel output test assumed two upstream release deployment steps absent from Harness. It now exercises the actual retained web-preview step, keeping all seven URL/error cases; the same CI release/preview command passes 20/20 locally. Production workflows are unchanged by this fix.
  • Independent scoped chat/composer/sidebar/mobile reviews found no substantiated new P1/P2 after root integration fixes. Whole-branch AutoReview preparation is incomplete because it refuses changed native .tgz archives; the incoming archive and patch Git blobs match the exact upstream release. That provenance check is not a complete binary audit.

Verification incomplete: exact-base/candidate visual comparison, live packaged managed-plugin operation, and actual packaged Windows/macOS install/upgrade behavior remain unverified. Android SDK is unavailable on the verification host. Current-head CI passed; the acceptance limits above and incomplete hosted reviews remain explicit.

Risk and Recovery

This is a broad upstream update across server, web, desktop, mobile and the toolchain. Preserve encrypted storage and ownership checks, managed provider policy, downstream attachments/dictation/Briefs/Project Home, and installer-owned updates. Mobile outdated-server messaging remains informational rather than running an upstream remote installer command. Use a deliberate revert plan if necessary; keep the upstream merge ancestry rather than squash-merging this sync.

UI Changes

Candidate desktop after restart and a fresh iOS request:

Desktop conversation after restart

Native iOS conversation after recovery

Release and Deployment Impact

Imports upstream dependencies/native patches, Electron 44.9.3 and Node 26.12.1 / pnpm 12.14.0 / Vite+ 1.3 toolchain changes. Keeps TritonAI release/update ownership and managed composition controls. No release, deployment or App Store review action is part of this PR.

Upstream Alignment

Upstream v0.1.2 remains an ancestor through a merge commit. Start from upstream's pruned test structure and extracted components, then retain meaningful complete downstream behavior cases. Intentional divergence remains explicit for TritonAI branding, managed models, UCSD integrations, security and release control.

Checklist

  • Remaining runtime/visual verification complete
  • Complete intended upstream integration; unrelated primary-checkout work preserved
  • Meaningful downstream behavior coverage retained
  • No credentials, private operational source or temporary evidence committed
  • Scoped independent findings addressed; hosted review incomplete

Implementation: GPT-6.1 Sol via Codex in TritonAI Harness

Note

Integrate T3 Code v0.1.2 upstream changes and retain pruned upstream tests

  • Pulls in the upstream v0.1.2 drop across server, web, mobile, and packages, including many bug fixes and features: interrupted-run terminalization in RunExecutionService.ts, idle-compaction mode settings in serverSettings.ts, and new draft-thread routes, thread undo notices, and "Send now" queued-run support on mobile
  • Switches typecheck tooling from tsc-rs to the standard TypeScript compiler across packages, and updates workspace dependency versions in pnpm-workspace.yaml
  • Keeps the upstream test deletions across provider-core, shared, desktop, and other suites, so many previously covered behaviors (usage-limit expiry, SSH config expansion, cookie import, notification badge, etc.) are no longer tested
  • Behavioral Change: scheduled-task lists now sort by creation time instead of update time (ScheduledTaskService.ts); GitLab merge-request diffs use page size 30; usage scan-cache moves from version 7 to 9 and repairs older Codex entries; project MCP calls without a thread caller derive model defaults from project settings

Macroscope summarized 2ea37f5.

maria-rcks and others added 30 commits October 21, 2026 00:04
…ing parent (#22581)

Co-authored-by: syberia <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
juliusmarminge and others added 18 commits October 22, 2026 01:11
…s (#23389)

Co-authored-by: PR Batch Tester <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
…desktop updates (#23113)

Co-authored-by: PR Batch Tester <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
…(#23135)

Co-authored-by: PR Batch Tester <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
… columns (#23502)

Co-authored-by: PR Batch Tester <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

Warning

Review details and warnings were omitted to fit the comment limit.

@github-actions github-actions Bot added size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. labels Oct 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB −7 B (−0.1%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB −7 B (−0.6%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 20.9 KiB 20.9 KiB 0 B (0.0%) 29.3 KiB ✅
Codex Live turn messages 2 2 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB 0 B (0.0%) 29.3 KiB ✅
Claude Live turn messages 2 2 0 (0.0%) 8 ✅

Baseline: 5bd4bdc · PR result: 2ea37f5 · 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: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

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

@dbalders dbalders left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

TritonAI Review unavailable

The review could not finish. No code verdict was produced. Reason: PermanentReviewError: PR evidence exceeds one focused review context; no review verdict was produced. Split the PR or use a reviewer with a larger context. Automatic chunk reviews are disabled.

Completed review passes remain cached. A maintainer can comment /triton-review to retry; service health and logs contain the failure state.

@dbalders

Copy link
Copy Markdown
Owner Author

Cross-model review unavailable

Implementation (PR footer): GPT-6.1 Sol via Codex in TritonAI Harness
Reviewer: Claude claude-opus-5-5 (high)
Commit: 2ea37f5f851c209dafa4973bbadef0a16dfcccfd

The review did not finish, so no verdict was produced. Reason: RuntimeError: autoreview published no status (exit 1, reason None)

A maintainer can comment /cross-review to retry; service logs contain the details.


Automated cross-model review on ChelsClaw, updated 2026-10-25T23:29:49+00:00.

@dbalders
dbalders merged commit 27e9bd9 into main Oct 26, 2026
32 of 35 checks passed
dbalders added a commit that referenced this pull request Oct 26, 2026
) (#444)

* test(server): prune low-value fork tests (first pass)

Applies the upstream second-pass standard (pingdotgg/t3code#22592) to
tests the fork added in apps/server, and drops cases upstream deleted in
v0.1.2 that the sync merge kept. Fix regressions are annotated with
// regression: comments. Inventories and per-area reports live outside
the repo in the task evidence directory.

Non-test changes are export-keyword removals for helpers only deleted
tests imported, plus removal of the unused CodexPreviewDynamicTools
failure-result helper.

* test(server): prune low-value fork tests (second pass, two-voter)

Runs the upstream first-pass rubric (pingdotgg/t3code#22557) over every
test case the fork added in apps/server. Claude and GPT-6.1 Sol voted
independently on each of 880 cases; a case is deleted when both agree, a
third vote settled 133 disagreements, and cases upstream deleted in v0.1.2
that the sync merge kept are dropped unless both voters kept them.

196 cases and 5 files removed. Twelve helpers only deleted tests used are
un-exported; two that nothing calls any more are deleted.

* test(server): drop migration upgrade groups emptied by the prune

* test(clients): prune low-value fork tests and mark retained regressions

* test(clients): drop remaining forwarding and schema literal checks

* test(clients): prune low-value fork tests (second pass, two-voter)

Runs the upstream first-pass rubric (pingdotgg/t3code#22557) over every
test case the fork added outside apps/server. Claude and GPT-6.1 Sol voted
independently on each case; a case is deleted when both agree, a third
vote settled 233 disagreements, and cases upstream deleted in v0.1.2 that
the sync merge kept are dropped unless both voters kept them.

563 cases and 25 files removed. Helpers only deleted tests used are
un-exported (30) and three that nothing calls are deleted; the hand-run
analytics report script becomes a knip entry.

* test: keep three security and managed-policy guards flagged in review

Restores the filesystem-permission denials for Project Brief, memory and
archive reads, the synchronous-parser timeout kill for untrusted documents,
and the managed-skill ownership cases in providerSkillGrouping.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs).

Projects

None yet

Development

Successfully merging this pull request may close these issues.