Skip to content

[Request]: Extend fast docs CI to main pushes and maintained contributor prose #207

Closed

Description

@jimhoyd

Problem or use case

The measured docs-only PR lane takes 39 seconds median (3 successful first attempts), versus 7m13s for the ten-job code PR matrix (6). Two known prose cases still trigger full verification:

  1. Main's plan receives only pull-request base/head fields, which are empty on a push, so even a prose-only main push selects full verification.
  2. PR Repoint archived NEXT-STEPS references at their archived path #205 only changed benchmarks/agent/README.md and docs/SPIKE-CORE-LAYERING.md. The benchmark README is outside the current prose allowlist, so the entire change is classified as code.

This is the next priority from the completed measurement decision in #185, rather than removing supported platform checks.

Proposed behavior and alternatives

  • Classify main pushes using their validated before/after SHAs and the correct push diff; classify PRs against their merge base. Missing/invalid SHAs or unavailable history must still select full verification.
  • Expand only reviewed, non-executable contributor prose paths, including the benchmark README and appropriate package contributor documents. Do not blanket-skip every Markdown file: starter/recipe/skill/package inputs may be executable or affect generated/shipped artifacts.
  • Keep required container, verify-complete, audit and documentation checks. Keep nightly/manual verification full, regardless of paths, so exact-SHA release coverage cannot silently become a docs-only run.
  • Test renames/deletions, mixed code/docs changes, unknown paths, main pushes, scheduled/manual events and unavailable history. Update the pipeline guide in the same PR.
  • Measure actual resulting docs-main/PR runs; do not dispatch 20 redundant runs to satisfy a sample target.

No permission to bypass protection or publish packages is implied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions