[codex] Add remote provider compatibility map#2642
Draft
juliusmarminge wants to merge 1 commit into
Draft
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
provider-compatibility.v1.jsonintended for GitHub raw hosting.Why
Released T3 Code builds need compatibility policy updates without requiring users to update the app. This lets maintainers update a static GitHub-hosted map to mark provider harness versions as supported, graceful, unsupported, or broken for specific T3 Code release ranges.
Validation
bun fmtbun lint(passes with existing unrelated warnings)bun typecheckbunx vitest run packages/contracts/src/server.test.ts apps/server/src/provider/providerSnapshot.test.ts apps/server/src/provider/providerCompatibility.test.ts apps/web/src/components/settings/providerStatus.test.tsNote
Add remote provider compatibility map with bundled fallback for Codex driver
codexdriver, marking versions<0.129.0as broken and>=0.129.0as supported.enrichProviderSnapshotWithCompatibilityAdvisoryin providerCompatibility.ts, which fetches a remote compatibility document (with TTL caching and timeout) and falls back to the bundled map on failure.buildServerProviderso snapshots carry acompatibilityAdvisoryand adjusted status/message before any async enrichment runs.ServerProvidercontract schema with an optionalcompatibilityAdvisoryfield.Macroscope summarized 3dd0567.