chore: drop OPENCODE_API_KEY and REQUIRE_PAID from e2e workflow#20530
Merged
kitlangton merged 2 commits intokit/llm-server-auto-ackfrom Apr 1, 2026
Merged
chore: drop OPENCODE_API_KEY and REQUIRE_PAID from e2e workflow#20530kitlangton merged 2 commits intokit/llm-server-auto-ackfrom
kitlangton merged 2 commits intokit/llm-server-auto-ackfrom
Conversation
All e2e tests now use the mock LLM server or noReply seeding — no test makes real provider calls. Remove the API key, model override, and paid-model guard from the CI workflow and seed script. Fixes the Windows CI failure where OPENCODE_API_KEY was unavailable.
5650e7d to
bf6907d
Compare
Switch 5 seedSessionQuestion tests and 1 seedSessionTask test from real LLM calls to the mock LLM server via withMockOpenAI. Queue deterministic tool call responses before each seed function call. No e2e test makes real provider calls after this change.
kitlangton
added a commit
that referenced
this pull request
Apr 1, 2026
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.
Summary
OPENCODE_API_KEY,OPENCODE_E2E_MODEL, andOPENCODE_E2E_REQUIRE_PAIDfrom the CI workflowseed-e2e.tsOPENCODE_API_KEYwas unavailableContext
All e2e tests now use the mock LLM server (via
withBackendProject+withMockOpenAI) ornoReplyseeding. No test makes real provider calls, so the API key and paid-model enforcement are dead config.Stacked on #20528.
Test plan
bun run typecheck— no new errorsopencode/gpt-5-nanomodel