Skip to content

ci: the CEF pin check fails every nightly run, so code scanning shows "Workflow runs failing" for every tool #3144

Closed

Description

@vpacher

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-failure needs only build-project, analyze-project and codeql.
  • 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?

Activity

  1. zackees commented on Oct 31, 2026

    @zackees
    Member

    Decided: keep cef-support a non-failing job — add continue-on-error: true to it in .github/workflows/scheduled.yaml, with a comment citing #2380 and #1864, and a test in ci/ 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.

  2. zackees commented on Oct 31, 2026

    @zackees
    Member

    Claiming: #3144 (keep the CEF pin check from failing the nightly run)

    Plan, one PR:

    1. continue-on-error: true on the cef-support job 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.
    2. A test in ci/test_cef_support.py that pins the line and its comment, so it is not dropped by accident.
    3. Verify the job block parses as intended and the ci tests pass; no other job needs cef-support.
  3. added
    ready
    on Oct 31, 2026
  4. zackees commented on Oct 31, 2026

    @zackees
    Member

    Fixed by #3147 (6228f3d), merged to master.

    Closing, with #1864 tracking the CEF upgrade itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions