Skip to content

ci: split pre/post-merge jobs in test.yml#85

Merged
fullstackjam merged 1 commit into
mainfrom
ci/pre-post-merge-split
May 18, 2026
Merged

ci: split pre/post-merge jobs in test.yml#85
fullstackjam merged 1 commit into
mainfrom
ci/pre-post-merge-split

Conversation

@fullstackjam
Copy link
Copy Markdown
Collaborator

Summary

  • Move contract schema (L2), curl|bash smoke, and old-cli compat to post-merge only (push / dispatch events) — they're too slow or network-dependent to block every PR
  • PRs now only require lint and unit (L1), which are the fast checks
  • Update required-checks.txt to match (two entries instead of five)
  • Update MERGE_POLICY.md with a pre-merge / post-merge split table

The three heavy jobs still run on every merge to main and on workflow_dispatch / repository_dispatch — they just don't block PR feedback.

Test plan

  • Verify pre-merge CI on this PR only runs lint and unit (L1)
  • After merge, verify contract schema (L2), curl|bash smoke, old-cli compat all run on the push-to-main event
  • Update live branch protection to match required-checks.txt (remove the three heavy checks from required status checks):
    gh api repos/openbootdotdev/openboot/branches/main/protection \
      --jq '.required_status_checks.contexts'
    # then update via gh api -X PUT per docs/MERGE_POLICY.md

Move contract schema (L2), curl|bash smoke, and old-cli compat to
post-merge only (push/dispatch). PRs now only require lint + unit (L1),
which are the fast checks. The three heavier jobs still run on every
merge to main — they just don't block PR feedback.

Update required-checks.txt and MERGE_POLICY.md to match.
@github-actions github-actions Bot added ci CI/CD changes docs labels May 18, 2026
@fullstackjam fullstackjam merged commit 21d1c84 into main May 18, 2026
12 checks passed
@fullstackjam fullstackjam deleted the ci/pre-post-merge-split branch May 18, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD changes docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant