Repository navigation
Description
What
Security → Code scanning → Tools shows CodeQL and clang in an error state. Every CodeQL configuration of the "Scheduled" setup (nightly-c-cpp, nightly-rust, nightly-actions, nightly-python) reports "Workflow runs failing", with a link to the run and no other reason. clang (clang-analyze, run by the same nightly through analyze-project) shows the same red state.
The scans themselves are fine. The uploaded analyses have no errors, and the scanned files are C 97 %, C++ 90 %, GitHub Actions, Python and Rust 100 %. The error comes from the run: scheduled.yaml concludes "failure" on every run because of one job, CEF Chromium Support 🌐 (cef-support):
##[error]ubuntu-aarch64: CEF 7871 is older than Chrome's extended stable (Chromium 156, branch 8078)
##[error]windows-arm64: CEF 7871 is older than Chrome's extended stable (Chromium 156, branch 8078)
##[error]windows-x64: CEF 7871 is older than Chrome's extended stable (Chromium 156, branch 8078)
##[error]Process completed with exit code 1.
That failure is intended (#2380): ci/cef_support.py fails while a pinned CEF is older than extended stable, as a reminder for #1864, and ci/test_cef_pin.py says it keeps failing on the Windows pins until that work is done. The last five scheduled.yaml runs (10-30 11:47 to 10-31 05:43 UTC) all failed on this job; in one of them (10-30 20:25) the macOS app builds, the Flatpak build and clang-analyze failed as well.
The cost: because every nightly run is already red, the code scanning status cannot show a real failure of CodeQL or clang-analyze. A broken scan looks the same as today, and the status page names no reason ("opaque" exit code 1 of another job).
Proposed
Give the cef-support job continue-on-error: true, with a comment that cites #2380 and #1864:
cef-support:
timeout-minutes: 10
name: CEF Chromium Support 🌐
# Fails while a pinned CEF is older than extended stable (#2380), which is
# #1864's remaining work. The job stays red with its annotations, but does
# not fail the run: a failed run marks every code scanning configuration
# "Workflow runs failing" and hides real CodeQL and clang failures.
continue-on-error: true- The job still fails and keeps its three
##[error]annotations in every run, so the reminder stays visible. - The run concludes "success" unless another job fails, so the code scanning status turns green and turns red again only for a real failure.
- No other job has
needs: cef-support, so nothing else changes.report-nightly-failureneeds onlybuild-project,analyze-projectandcodeql. - Remove the line when browser: Upgrade the bundled CEF from 7871 (Chromium 150, end of life) to a supported Chromium #1864 lands, or keep it if the check should only warn from then on.
A test in ci/ (for example in ci/test_cef_support.py) pins the continue-on-error on that job and its comment, so it is not dropped by accident.
Alternative
Move the CodeQL jobs to their own workflow, so the CEF check can stay a hard failure of scheduled.yaml. AGENTS.md requires explicit sign-off for a new workflow file, and the result for the code scanning status is the same.
Decision needed
Is a non-failing cef-support job acceptable until #1864 lands (recommended), or should the CodeQL jobs move to their own workflow?
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 31, 2026
Decided: keep
cef-supporta non-failing job — addcontinue-on-error: trueto it in.github/workflows/scheduled.yaml, with a comment citing #2380 and #1864, and a test inci/that pins the line.The job still fails and keeps its three
##[error]annotations, so the #1864 reminder stays visible, but the nightly run no longer concludes "failure" because of it. That is what restores the code scanning status as a signal: today a real CodeQL or clang-analyze failure looks exactly like the CEF pin reminder. Moving the CodeQL jobs to their own workflow would need a new workflow file (AGENTS.md sign-off) for the same result, so it is not worth it. Remove the line when #1864 lands, or keep it if the check should only warn from then on.zackees commentedon Oct 31, 2026
Claiming: #3144 (keep the CEF pin check from failing the nightly run)
Plan, one PR:
continue-on-error: trueon thecef-supportjob in.github/workflows/scheduled.yaml, with the comment citing ci: Fail when a pinned CEF's Chromium is older than extended stable #2380 and browser: Upgrade the bundled CEF from 7871 (Chromium 150, end of life) to a supported Chromium #1864.ci/test_cef_support.pythat pins the line and its comment, so it is not dropped by accident.cef-support.zackees commentedon Oct 31, 2026
Fixed by #3147 (6228f3d), merged to master.
.github/workflows/scheduled.yaml:cef-supportnow carriescontinue-on-error: truewith a comment citing ci: Fail when a pinned CEF's Chromium is older than extended stable #2380 and browser: Upgrade the bundled CEF from 7871 (Chromium 150, end of life) to a supported Chromium #1864, so the job stays red with its three annotations but no longer fails the nightly run (and the code scanning status stops reporting "Workflow runs failing" for every tool).ci/test_cef_support.py: 7 tests pin the line, its comment, the job block and the pin comparison; all pass locally fromci/(uv run python -m unittest test_cef_support.py).cef-support. The next nightly run is the remaining confirmation; remove the line when browser: Upgrade the bundled CEF from 7871 (Chromium 150, end of life) to a supported Chromium #1864 lands.Closing, with #1864 tracking the CEF upgrade itself.
ci: keep the CEF pin check out of the nightly run's conclusion (obs-r…