Skip to content
Source
Sign inSign up
pingdotgg/t3code

test(server): decouple compatibility fixtures from release version #20068

Mergedjuliusmarmingemerged 1 commit intomain fromrefs/pull/20068/headmerged by juliusmarminge View on GitHub

juliusmarmingecommented

Problem

Bumping the server package to 0.1.0 made eight provider compatibility tests fail, including a registry-stream test that timed out. Their shared policy only matched T3 Code versions below 0.1.0, but the resolver defaults to the real package version. This also blocks unrelated PRs, including #20060.

Change

Let the shared fixture match all server releases. Test the bounded T3 Code range separately with explicit versions, pass a fixed version when testing prefixed ranges, and use an impossible range for the fallback test. Production code is unchanged.

Scope and approval

Requested directly by maintainer Julius as a separate fix for the confirmed main-branch CI failure. This PR changes only the affected test file and stays separate from the mobile release-pipeline change.

Verification

  • Reproduced the boundary-classification failure on current main at server version 0.1.0 before the fix.
  • vp test run apps/server/src/provider/providerCompatibility.test.ts: all 13 tests pass, including the registry-stream test and explicit lower/upper version boundaries.
  • Targeted lint, formatting, and git diff --check pass.

Model: GPT-6.1 Sol. Harness: Codex through T3 Code.


Devin Review
    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. juliusmarminge added labelsmacroscope-review

    3. Approvability

      Verdict: Approved at ea16e5e

      Macroscope's review found this PR approvable — The PR is limited to a single ignored server compatibility test file, with no production request-path or product-default changes. Its impact is confined to test execution and it introduces no static-analysis suppression or sensitive-area changes.

      Notes:

      • No code objects were reviewed. Approvability was decided on eligibility alone.
      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    4. Review in Change Stack →

      No actionable comments were generated in the recent review. 🎉

      ℹ️ Recent review info
      ⚙️ Run configuration
      • Configuration used: Path: .coderabbit.config.ts
      • Review profile: CHILL
      • Plan: Team
      • Run ID: ffac0681-bc14-4b54-85df-79cf57c2c1be
      📥 Commits

      Reviewing files that changed from the base of the PR and between 9d26a7986c3fafa4e2cfe50f32ad8cf725081ac4 and ea16e5e3127832c10eb1a8945bc0f39e16ea6a01.

      📒 Files selected for processing: 1
      • apps/server/src/provider/providerCompatibility.test.ts

      Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

      📝 Walkthrough

      The provider compatibility tests update T3 Code version ranges, add checks for scoped policy applicability, and use updated version inputs in prefixed-policy compatibility checks.

      Changes: Provider compatibility test updates

      Layer / File(s)Summary
      Compatibility policy test coverage
      apps/server/src/provider/providerCompatibility.test.ts
      The tests update policy version ranges, check scoped policy applicability at additional T3 Code versions, and retain the expected compatibility results for provider versions 2.0.0 and 3.0.0.

      Priority: ⬇️ Low

      Estimated code review effort: 2 (Simple) | ~8 minutes

      Change: Other

      Suggested reviewers: t3dotgg

      Merge Risk: ⚪ Minimal · up to ea16e

      This change updates compatibility-test fixtures and boundary cases without an indicated production behavior change. No actionable merge-blocking risk is identified in the supplied context.

      Pre-merge checks: Passed 4
      Check nameStatusExplanation
      Title checkPassedThe title clearly and concisely describes the main change: decoupling server compatibility-test fixtures from the release version.
      Description checkPassedThe description covers the problem, change, scope, approval rationale, and verification results. It identifies the affected test file, reports focused test results, and states that production code is …
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      ✨ Finishing Touches
      📝 Generate docstrings
      • Commit to this branch
      • Create a new PR
      🧪 Generate unit tests (beta)
      • Commit to this branch
      • Create a new PR
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
      Comment `@coderabbitai help` to get the list of available commands.
    5. 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 wire5.0 KiB5.0 KiB+7 B (+0.1%)6.8 KiB✅
      CodexThread snapshot wire3.8 KiB3.8 KiB0 B (0.0%)4.9 KiB✅
      CodexLive turn WebSocket wire1.2 KiB1.2 KiB+7 B (+0.6%)2.0 KiB✅
      CodexLive turn WebSocket decoded20.9 KiB20.9 KiB0 B (0.0%)29.3 KiB✅
      CodexLive turn messages220 (0.0%)8✅
      ClaudeTotal thread wire5.0 KiB5.0 KiB0 B (0.0%)6.8 KiB✅
      ClaudeThread snapshot wire3.8 KiB3.8 KiB0 B (0.0%)4.9 KiB✅
      ClaudeLive turn WebSocket wire1.2 KiB1.2 KiB0 B (0.0%)2.0 KiB✅
      ClaudeLive turn WebSocket decoded21.2 KiB21.2 KiB0 B (0.0%)29.3 KiB✅
      ClaudeLive turn messages220 (0.0%)8✅

      Baseline: eef0e4e · PR result: ea16e5e · 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.

    6. juliusmarminge merged this4d01315

    7. juliusmarminge closed this

Sign in to join this conversation.