Skip to content

ci: Burn down the ci-lint precheck baseline in ci.toml #962

Closed

Description

@zackees

#957 adds ci.toml (zackees/ci.yml schema 3, pin 1a970f01574447d681571ff3d0b8de56cb983dcc) so the cache janitor (ci-pre.yml) knows every cache family.

Our CI predates that schema's reference layout (ci.yml entry point, .github/actions/cache wrapper, Python-only CI logic, the fleet runner list, top-level permissions and concurrency on every workflow, ...), so ci-lint precheck reports a few hundred findings against the existing workflows and scripts. #957 records each one as a [[exceptions]] entry (reported as approved_exception on every run, never silent), grouped by rule with the reason, pointing here, expiring 2027-04-15.

Work: fix the findings rule by rule and delete their exceptions. Suggested order: WF-001 (timeouts), WF-002/SEC-002 (top-level concurrency, permissions), TOOL-002 (--locked), PY-004/RUST-018 (complexity limits), RUN-001 (runner labels), CACHE-001/002 (cache wrapper), GEN-005 (shell/PowerShell CI logic to Python). GEN-001/GEN-008 (pr-pull.yaml as the PR entry point instead of ci.yml) stay until the maintainer decides on renaming the required-check workflow.

Activity

  1. zackees commented on Oct 16, 2026

    @zackees
    MemberAuthor

    GEN-001 cleared in #957 (renamed to ci.yml). Remaining: GEN-004. It needs a ruff config (with C901 per PY-004), ruff check/format --check fixes across 96 Python files, a Pylint error fix (possibly-used-before-assignment in ci/test_windows_package_arguments.py and ci/test_windows_runtime_mutation.py), and a fast job in ci.yml.

  2. zackees commented on Oct 23, 2026

    @zackees
    MemberAuthor

    Claiming: #962 WF-001 slice.

    1. Add timeout-minutes to every job the ci-lint precheck WF-001 rule flags (reusable-workflow callers excluded where the rule allows), with limits set above the slowest observed run of each job.
    2. Delete the 12 WF-001 [[exceptions]] in ci.toml.

    One PR, expected today. Local RED: precheck with the exceptions removed reports WF-001; GREEN: it reports none.

  3. added
    claimed
    on Oct 23, 2026
  4. zackees commented on Oct 23, 2026

    @zackees
    MemberAuthor

    WF-001 cleared in #1958 (merged): every job now has timeout-minutes, and the 12 WF-001 exceptions are deleted. Releasing the WF-001 slice.

  5. zackees commented on Oct 23, 2026

    @zackees
    MemberAuthor

    Claiming: #962 TOOL-002 slice. Add --locked to the cargo clippy step in build-project.yaml (rust-tests) and delete its exception. One PR, today.

  6. zackees commented on Oct 23, 2026

    @zackees
    MemberAuthor

    TOOL-002 cleared in #1961 (merged). Releasing that slice.

  7. zackees commented on Oct 23, 2026

    @zackees
    MemberAuthor

    Note for whoever takes WF-002 next: 4 of the 7 flagged workflows (analyze-project, build-project, check-format, sign-windows) are workflow_call only. A top-level concurrency block there resolves against the caller's context (github.workflow, github.ref), and build-project is called twice in one ci.yml run (Build and Release gate), so a plain group would serialize the two calls or cancel the pending one. The group needs a per-call discriminator, or those files need a reason recorded on their exceptions. For claim-bot (issue_comment), a per-issue group with cancel-in-progress: false still drops all but the newest pending run, which can lose a claim command. I'm not taking this slice.

  8. 359 remaining items

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

Metadata

Metadata

Assignees

Labels

P3readysize:L

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions