Skip to content

ci: run the Opengrep scan on the test runner - #5117

Merged
yannickmonney merged 1 commit into
mainfrom
ci/opengrep-hosted-runner
Oct 30, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
ci/opengrep-hosted-runner

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

On the shared self-hosted runners (tale-hetzner) the Opengrep job took 10–15 minutes, and since 17:00 UTC on 2026-10-29 about half of its runs hit the job's 15-minute timeout-minutes and were cancelled ("The job has exceeded the maximum execution time of 15m0s"), which fails CI ready (SAST). On a GitHub-hosted runner the same scan takes 5–6 minutes.

Like the other jobs that hold a time budget (unit lanes, UI shards, Performance, Browser, Playwright), the scan now takes its runner from LINUX_TEST_RUNNER. A fork's pull request still runs on ubuntu-latest.

  • .github/workflows/sast.yml: runs-on uses vars.LINUX_TEST_RUNNER.
  • .github/release-candidate-contract.json: refreshed with bun tools/cli/scripts/release-candidate-contract.ts --write; the one changed assertion is the job's runner selector.
  • .github/CI.md: names the scan among the jobs on the test runner.

Tests: bun test scripts/release-candidate in tools/cli gives the same 303 pass / 17 fail with and without this change; the 17 are environment-only in the test container (no zip/unzip).

On the shared self-hosted runners the scan took 10-15 minutes and about half of its runs
hit the job's 15-minute limit; on a GitHub-hosted runner it takes 5-6. Like the other
jobs that hold a time budget, it now takes its runner from LINUX_TEST_RUNNER.
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