Skip to content

fix(ci): skip test CI on the fork, enforce local testing instead - #74

Merged
Bre77 merged 1 commit into
mainfrom
fm/fm-fork-remove-ci-testing
Sep 2, 2026
Merged

Bre77 merged 1 commit into
mainfrom
fm/fm-fork-remove-ci-testing

Conversation

@Bre77

@Bre77 Bre77 commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Intent

  • PR Merge upstream/main into fork integration line (catch-up 4, 107 commits) #72 burned large GitHub-runner time on this fork's behavior-test shards and a timing-hint regeneration cycle for failures a local run had already triaged - CI here was doing work local testing already covers.
    • Every job in .github/workflows/ci.yml now carries if: github.repository == 'kunchenguid/firstmate', so lint, the coverage guard, both portable parallel shards, the four portable serial shards, the Herdr lane, the timing aggregate, the macOS stock-Bash snapshot check, and the repo-invariants job all skip on this fork and still run in full upstream.
    • Chose the repo-condition guard over deleting the jobs or the workflow file: it is the same pattern .github/workflows/no-mistakes-required.yml already used to keep its check upstream-only, it stays a one-line diff per job that a future catch-up merge from upstream will not conflict with, and it costs nothing to remove if this fork ever wants upstream's CI back.
    • windows-herdr-spike.yml is workflow_dispatch-only (never runs automatically) so it was left as-is; it was inventoried but is not part of the runner-time problem this closes.
  • Local testing is the enforcement in CI's place, and it already existed: bin/fm-fork-deliver.sh runs a local gate (shellcheck + every tests/*.test.sh) before it will push or open a PR, and refuses to deliver when the gate fails unless --skip-validate is passed explicitly.
    • With CI now skipped on the fork, that local gate is the only testing enforcement fork-only delivery has, so docs/fork-only-delivery.md, bin/fm-fork-deliver.sh's header comment, and the fork-only brief scaffold in bin/fm-brief.sh are updated to stop describing fork PR checks that no longer run.
    • No new gate mechanism was added - the existing one was already a hard local gate, not just a documented step, and adding a second layer on top would be extra machinery for a control that's already enforced.
  • Fork branch protection: Bre77/firstmate's main branch has no branch protection configured (404 from the GitHub API), so there are no required-check settings to update by hand.

Ran the full local suite before delivery (bin/fm-lint.sh, bin/fm-doc-audience-check.sh, bin/fm-test-run.sh --all --exclude-family real-herdr-gated, 171 tests): lint and doc-audience checks are clean; 9 of 171 tests failed, all pre-existing environment gaps in this sandboxed worktree unrelated to this diff (missing ruby for one YAML-parsing test, missing a .ts-as-ESM Node loader for several Pi-extension tests, one Herdr timing flake, and two watcher-arm tests the crewmate sandbox's safety hook refuses to run directly) - none touch .github/workflows/, bin/fm-fork-deliver.sh, bin/fm-brief.sh, or docs/fork-only-delivery.md.

🤖 Generated with Claude Code

Claude-Session: https://claude.ai/code/session_01Gf2V4SheNp3ucXtZYRCFjM

PR #72 burned large GitHub-runner time on behavior-test shards and a
timing-hint regeneration cycle for failures a local run had already
triaged. Guard every ci.yml job to the upstream repo, matching the
pattern no-mistakes-required.yml already uses, and update the
fork-only delivery docs/tooling to reflect that the existing
fm-fork-deliver.sh local gate is now the sole testing enforcement.

Claude-Session: https://claude.ai/code/session_01Gf2V4SheNp3ucXtZYRCFjM
@Bre77 Bre77 added the fm Opened by a Firstmate crewmate label Sep 2, 2026
@Bre77
Bre77 merged commit 836c090 into main Sep 2, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fm Opened by a Firstmate crewmate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant