Fix OpenCode compatibility cap

Co-authored-by: codex <[email protected]>
This commit is contained in:
Julius Marmingeandcodex committed 2026-05-20 13:28:35 +02:00
1 parent 8927c26748
commit f446519d78
2 files changed
+13 -2

No files matched your search

@@ -203,6 +203,17 @@ describe("provider compatibility", () => {
expect(classify(cursorDriver, "2026.05.08")).toBe("unknown");
});
it("marks OpenCode versions above the recommended compatibility cap as broken", () => {
const classify = (currentVersion: string) =>
ProviderCompatibility.createProviderCompatibilityAdvisory({
driver: opencodeDriver,
currentVersion,
})?.status;
expect(classify("1.14.40")).toBe("supported");
expect(classify("1.14.41")).toBe("broken");
});
it("matches T3 Code nightly versions against their base release policy", () => {
const document: ProviderCompatibility.ProviderCompatibilityDocument = {
version: 1,
+2 -2
View File
@@ -39,13 +39,13 @@
"recommendedVersion": "1.14.40",
"ranges": [
{
"status": "supported",
"status": "broken",
"range": ">1.14.40",
"label": "Known incompatible OpenCode harness"
},
{
"status": "supported",
"range": ">=1.14.19",
"range": ">=1.14.19 <=1.14.40",
"label": "Known working OpenCode harness"
},
{