Repository navigation
ci: run the Opengrep scan on the test runner - #5117
Merged
Merged
Conversation
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.
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.
On the shared self-hosted runners (
tale-hetzner) theOpengrepjob took 10–15 minutes, and since 17:00 UTC on 2026-10-29 about half of its runs hit the job's 15-minutetimeout-minutesand were cancelled ("The job has exceeded the maximum execution time of 15m0s"), which failsCI 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 onubuntu-latest..github/workflows/sast.yml:runs-onusesvars.LINUX_TEST_RUNNER..github/release-candidate-contract.json: refreshed withbun 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-candidateintools/cligives the same 303 pass / 17 fail with and without this change; the 17 are environment-only in the test container (nozip/unzip).