Skip to content

ci: pin every workflow's runner and keep model keys from the server under test - #139

Merged
joe4dev merged 1 commit into
mainfrom
devx-1089-pin-workflows-strip-model-keys
Nov 23, 2026
Merged

joe4dev merged 1 commit into
mainfrom
devx-1089-pin-workflows-strip-model-keys

Conversation

@joe4dev

@joe4dev joe4dev commented Nov 23, 2026

Copy link
Copy Markdown
Member

Motivation

Two small CI hardening fixes that don't depend on the IAM work (DEVX-1089), split out so they can merge on their own:

  • azure-smoke.yml was the only workflow on ubuntu-latest, which changes OS and preinstalled tools whenever GitHub retargets the label. The pins test didn't notice because it read a fixed list of three workflow files.
  • The Playwright MCP suites started the server with the runner's whole environment. In mcp-evals.yml that includes OPENROUTER_API_KEY, so the server under test, and every CLI it spawns (lstk, terraform, cdk, sam, snow), received a model key it never needs.

Solution

  • azure-smoke.yml runs on ubuntu-26.04 like every other job. ci.yml's mcp-direct-tests already runs the runner image's az on that release.
  • src/core/dependency-pins.test.ts checks every file in .github/workflows/ instead of a fixed list, so a new workflow can't float on an unpinned runner.
  • playwright.config.mjs passes the server the environment without OPENROUTER_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, ANTHROPIC_API_KEY and ANTHROPIC_AUTH_TOKEN. The Playwright process keeps them, so the LLM evals work as before. The LocalStack token is still set explicitly.

The AGENTS.md "Known deviations" rows this resolves live in #136, so their update comes with the IAM actions PR.

Testing

  • npx jest src/core/dependency-pins.test.ts: 6/6 locally.
  • The Playwright suites run in CI on this PR.

🤖 Generated with Claude Code

…nder test

- azure-smoke.yml runs on ubuntu-26.04 like the other workflows; the pins test now checks every workflow
  instead of a fixed list, so a new workflow can't float on ubuntu-latest.
- The Playwright MCP suites start the server without OPENROUTER_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY,
  ANTHROPIC_API_KEY and ANTHROPIC_AUTH_TOKEN: the keys are for the eval host, and the server and the
  CLIs it spawns never need them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joe4dev
joe4dev marked this pull request as ready for review November 23, 2026 14:35
@joe4dev
joe4dev merged commit 5511c63 into main Nov 23, 2026
6 checks passed
joe4dev added a commit that referenced this pull request Nov 23, 2026
…nned runners

The IAM section, its LocalStack gaps, the agentic-eval follow-up and REVIEW §6's checks move to the IAM actions
PR (#140), which documents them as built. The runner pins and stripped model keys of #139 are on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joe4dev added a commit that referenced this pull request Nov 23, 2026
…nned runners

The IAM section, its LocalStack gaps, the agentic-eval follow-up and REVIEW §6's checks move to the IAM actions
PR (#140), which documents them as built. The runner pins and stripped model keys of #139 are on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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