Provider refusals
write_verifier: Provider declined the request because of a cybersecurity restriction. Experiments remain incomplete; static verification can continue.
3 major findings · 2 minor findings · 3 suggestions
Findings
[major] · Privileged reporter trusts results writable by the tested PR
An eligible PR can modify the shared results file and make the checks-write reporter publish false silent-merge results and arbitrary summaries on other commits in the repository.
Location: .github/silent-merge-report.py:63 (head).
Details and suggested fix
The controller merges each PR and executes the merged tree's CI helper in the repository root. A non-draft PR that passes the mergeability guards, has no failing ordinary checks, has its latest successful ordinary check at least one day old, and merges cleanly can therefore run code that rewrites silent-merge-results.json. It can behave normally in ordinary CI and differently here. append_result() preserves existing entries, and the reporter posts each entry's supplied SHA, conclusion and summary; pr_number is only logged. This lets the PR author forge results for other PR heads or replace results collected earlier in the run. Run PR code in isolated worker jobs and keep the target mapping and job outcomes in a separate trusted controller. Have the reporter derive success or failure and fixed summaries from that trusted state rather than accepting publication instructions from the artifact. Moving the file elsewhere on the same runner does not isolate it from same-user PR code.
[major] · PR-writable ccache persists into later scheduled runs
The combined cache action can save compiler outputs modified by an eligible PR, allowing later scheduled runs to reuse attacker-controlled outputs when building other PRs.
Location: .github/workflows/silent-merge-check.yml:37 (head).
Details and suggested fix
actions/cache@v5 restores the shared ccache-silent-merge- prefix and saves a new run-specific entry after a successful job. Before that save, the merged PR's helper, build and tests execute on the same host and can modify ~/.cache/ccache. A failing CI helper becomes a recorded result rather than a controller failure, so it does not by itself prevent saving. An eligible PR can plant matching cached compiler outputs that later builds link, changing their results or executing its code again after the PR closes. The existing cache-save paths restrict saves to default-branch runs that do not execute unmerged PR code. Use restore-only caching from trusted entries here, and do not save shared caches after executing PR code. Access to other workflows' cache namespaces has not been established; this persistence path needs only the namespace configured here.
[major] · In-flight PRs can exhaust the job timeout without a result
The between-PR budget check cannot stop an overlong CI child, so the workflow can time out without recording that PR and repeatedly retry an eligible hanging head before later work.
Location: .github/silent-merge-test.py:206 (head).
Details and suggested fix
MAX_RUNTIME is checked only before starting a PR. The timer starts after workflow setup, and run_capture_timestamped() reads and waits without a deadline. A PR started near 5h30m has less than 30 minutes remaining before the 360-minute job limit, depending on setup time. If it overruns, append_result() is never reached for that PR, and the success-only cache save is also lost. A merged tree that hangs remains in the never-checked tier and can repeatedly block later PRs while it remains eligible. Earlier results may still be uploaded. Bound each child by both a per-PR timeout and the remaining workflow budget, terminate its process group on expiry, and record a timeout result before stopping. Reserve time for upload and reporting. The frequency of ordinary overruns on ubuntu-latest has not been measured.
[minor] · Failure checks lack a master baseline or retry
Every helper failure produces rebase advice, even when a master-only regression, runner change or intermittent test failure is responsible rather than the PR's integration.
Location: .github/silent-merge-test.py:244 (head).
Details and suggested fix
Any nonzero helper exit becomes a failure check ending with 'Please rebase and ensure all checks pass.' The helper uses the runner's clang with warnings as errors and runs functional tests with --failfast. Its existing upstream caller runs only for PR ancestor commits on warp runners, so those checks do not establish that current master passes this configuration on ubuntu-latest. A persistent master or toolchain regression can consequently mark unrelated PRs as failing; a flake can do the same to an individual invocation. Test master alone for each tested master SHA and suppress PR failure publication when that baseline fails. Retry a failing PR invocation before publishing failure. The silent check does not block its own later recheck, but recovery waits for queue scheduling. The flake rate on this runner has not been measured.
[minor] · Tracked changes can leak between PR tests or abort the scan
If a PR's CI leaves tracked files modified, the next checkout can abort the scan or carry those modifications into another PR's test; no ordinary trigger was found in the current helper.
Location: .github/silent-merge-test.py:236 (head).
Details and suggested fix
After a completed CI invocation, the loop performs no working-tree cleanup before git checkout -B test-merge origin/master. That command resets the branch reference but preserves local modifications when possible. If checkout would overwrite a modified tracked path, it refuses and run() exits the entire controller. Otherwise, the modification can survive into the next merge and build, contaminating that result. The only cleanup here is git merge --abort after a failed merge, whereas the existing each-commit caller runs git reset --hard after each successful invocation. Use a fresh worktree for each PR so one test's tracked-file changes cannot affect the next.
Optional improvements
[suggestion] · The advertised Previous releases coverage is not run
The description promises the full Previous releases job, but the workflow runs the each-commit helper without extended tests or provisioned previous-release binaries.
Location: .github/silent-merge-test.py:243 (head).
Details and suggested fix
The invoked helper performs a dev-mode Debug build, runs ctest, and invokes the functional runner without --extended. That selects only BASE_SCRIPTS. The actual previous-releases configuration enables --previous-releases --coverage --extended and downloads release binaries. This workflow does not provision those binaries, so compatibility tests guarded by skip_if_no_previous_releases() are skipped in the normal fresh-runner setup. The framework can enable those tests by default when binaries already exist, but the workflow does not arrange that condition. Update the description to state the narrower suite and why it was chosen, rather than describing the result as covering the Previous releases job.
[suggestion] · Unchecked heads can indefinitely defer stale-result rechecks
If eligible unchecked heads consume the available runtime each run, the strict two-tier queue never revisits earlier results that may have gone stale as master moved.
Location: .github/silent-merge-test.py:194 (head).
Details and suggested fix
latest_silent_check is looked up for the current PR head, so a push to a head without that check returns the PR to the first tier. Every eligible head in that tier precedes every recheck, regardless of how old the recheck is. Ineligible heads are skipped, but a sustained backlog of eligible work can prevent the second tier from being reached. Measure completed PRs per run against newly eligible heads per day; throughput and actual starvation have not been established. If capacity does not comfortably exceed inflow, use a single oldest-first staleness key based on the later of the silent check and successful ordinary merge-CI completion. The latter approximates recent integration testing because those CI jobs check out the PR merge ref; an arbitrary successful check is not proof of that coverage.
[suggestion] · Release-branch PRs are tested against master
An otherwise eligible release-branch PR is merged into master rather than its actual base, wasting work on conflicts or publishing a result for the wrong integration target.
Location: .github/silent-merge-test.py:83 (head).
Details and suggested fix
get_open_prs() retains all non-draft open PRs without filtering base.ref. GitHub's mergeability flag concerns each PR's actual base, but the local merge always starts from origin/master. For an eligible PR targeting a release branch, a conflict is skipped and the attempt can recur on later scans. A clean merge instead proceeds to testing and publishes a master-integration result that does not establish compatibility with the intended release branch. Filter PRs to the default branch in get_open_prs() to match the current master-only testing scope.