ci: fast required gate (e2e post-merge) to unclog the merge queue#76
Merged
Conversation
…currency-cancel, caching Extracted from the engineering-hygiene branch so the merge queue benefits now. Required 'test' context stays a single ubuntu/py3.12 job (fast unit suite, e2e excluded); full matrix + e2e run post-merge/nightly. Halves runner load (drops the push+pull_request double-trigger) and cancels superseded runs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CKrVJJy5jWVCkXAqgUqtqZ
This was referenced Jul 13, 2026
abrichr
added a commit
that referenced
this pull request
Jul 13, 2026
…supply-chain (final, on settled main) (#86) * chore: engineering hygiene — version-sync, lint/type gate, supply-chain Regenerated on current (settled) main; supersedes the stale #77 whose reformat was generated on an old main and no longer applies. - Version-sync (the real bug): openadapt_flow.__version__ was 0.1.0 while the released pyproject version is 0.19.0. Sync __version__ and add version_variables to [tool.semantic_release] so releases keep them in lockstep (the wheel job already asserts they match). - Lint/type gate: add ruff, mypy, pytest-cov to [dev]; add [tool.ruff] (lint+format), [tool.mypy] (core package, ignore_missing_imports, a documented ignore_errors debt list re-derived against current main), and [tool.coverage]. Ship py.typed + wheel force-include (PEP 561). - CI: add a `lint` job (ruff check + ruff format --check + mypy) as its own job; the required `test` gate and the #76 structure are untouched. - Supply chain: SHA-pin the release.yml actions; add .github/dependabot.yml. - Scaffolding (absent on main): CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, CODEOWNERS, issue + PR templates. - Import hygiene: ruff --fix import sorting + 3 dead-import removals so the lint gate is green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CKrVJJy5jWVCkXAqgUqtqZ * style: reformat openadapt_flow and tests with ruff format Mechanical `ruff format openadapt_flow tests` reflow only — no behavior change. Isolated in its own commit so it is trivially revertable and keeps the chore commit's config/infra diff legible. Regenerated fresh on current main (the stale #77 reformat was generated on an old main). --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extracts the hardened ci.yml from #62 so the current 7-PR queue gets fast CI now instead of after #62 (which merges last due to its reformat). Required
testgate = ubuntu/py3.12 unit suite with e2e excluded; full matrix + e2e run post-merge + nightly. Self-accelerating (pull_request runs this PR's own workflow). e2e still gates main post-merge.Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com