Skip to content

fix(ai): stabilize cache retention CI fixtures - #286

Merged
Pepps233 merged 1 commit into
mainfrom
fix/ci-cache-retention-fixtures
Oct 26, 2026
Merged

Pepps233 merged 1 commit into
mainfrom
fix/ci-cache-retention-fixtures

Conversation

@Pepps233

@Pepps233 Pepps233 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fix main CI after the upstream OpenCode catalog renamed deepseek-v4-flash.

Reasoning

Compatibility request tests should remain stable when upstream catalog entries disappear or change names.

Using the existing offline generator fixture preserves coverage of the production compatibility overrides and outgoing request payloads.

Changes

  • Generate all five OpenCode compatibility cases from stable upstream inputs.
  • Replace direct live-catalog lookups and the API cast with checked fixture lookups.

Testing

  • Reproduced the original 30-second timeout and unhandled rejection after live catalog generation in an isolated worktree.
  • The same targeted test passes after the fix: 17 passed, 4 credential-gated tests skipped.
  • ./test.sh other --shard=2/2 passes with isolated credentials.
  • npm run check passes.

- Exercise generated compatibility flags with stable upstream inputs
- Preserve request assertions when the live model catalog renames entries
@Pepps233 Pepps233 self-assigned this Oct 26, 2026
@Pepps233
Pepps233 merged commit f9b914a into main Oct 26, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant