Skip to content

CI skips the tests that pin AGENTS.md and doc wording on docs-only PRs #623

Closed

Description

@leehack

Tests pin wording in docs that the CI job selector treats as docs-only, so a docs-only PR that breaks a pinned phrase passes CI.

  • tool/ci/select_jobs.py:68-71 routes AGENTS.md, CONTRIBUTING.md and doc/** to docs-check and docs-versions only.
  • Tests that read those files run only in test-linux-coverage:
    • test/unit/tooling/high_risk_review_policy_test.dart needs phrases in AGENTS.md, CONTRIBUTING.md and doc/testing_matrix.md.
    • test/unit/tooling/safe_pr_head_update_test.dart needs AGENTS.md to name doc/pr_branch_writer_inventory.md and tool/git/safe_pr_head_update.dart. It also scans every maintained *.md for an unregistered git push.
  • docs-versions does run verify_release_docs_versions.dart and check_webgpu_bridge_tag.dart, so those two pins are covered.

Deleting "zero unresolved review threads" from AGENTS.md in a docs-only PR fails the policy test locally, but CI stays green.

Fix: select a job that runs test/unit/tooling/ for these paths, or move the pinned phrases into checks that docs-versions already runs.

Activity

  1. added
    bug
    priority:P2
    on Sep 23, 2026
  2. leehack commented on Oct 15, 2026

    @leehack
    OwnerAuthor

    Fixed in 0.13.0 by #1082 (via #1095): AGENTS.md, CONTRIBUTING.md and doc/** now select test-linux-coverage. The wider *.md scan continues in #1084.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions