Skip to content

test(e2e): experiment with authenticated opencode model in CI#20244

Closed
Hona wants to merge 2 commits intoanomalyco:devfrom
Hona:exp/ci-e2e-opencode-auth
Closed

test(e2e): experiment with authenticated opencode model in CI#20244
Hona wants to merge 2 commits intoanomalyco:devfrom
Hona:exp/ci-e2e-opencode-auth

Conversation

@Hona
Copy link
Copy Markdown
Member

@Hona Hona commented Mar 31, 2026

Summary

  • let the local e2e launcher honor OPENCODE_E2E_MODEL so CI can override the default free model
  • use OPENCODE_API_KEY to route internal CI e2e runs to opencode/gpt-5, while keeping opencode/gpt-5-nano as the no-secret fallback for fork PRs
  • try to reduce CI flakes caused by rate limits on the public free OpenCode model path

Verification

  • bun typecheck

Hona added 2 commits March 31, 2026 20:15
Prefer a paid OpenCode model when OPENCODE_API_KEY is available so internal CI avoids free-tier rate limits, while fork PRs still fall back to gpt-5-nano.
Use OPENCODE_E2E_MODEL for Playwright seed state and direct promptAsync helpers so review and session tests run against the intended CI model instead of falling back to the default free model.
@Hona Hona closed this Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant