chore(ci): cancel orphaned PR runs + prune Python matrix on PR#194
Merged
Conversation
Same patterns as axonflow-sdk-java#176, axonflow-enterprise#2140/#2146:
1. **Concurrency**: cancel orphaned PR runs; push-to-main keys on SHA
so main runs never queue. Applied to ci, integration (existing
block reshaped), heartbeat-real-stack, definition-of-done,
validate-version-alignment.
2. **Matrix prune on PR** for ci.yml `test` job + integration.yml
`contract-tests` job:
PR: python-version: ['3.11']
else: python-version: ['3.10', '3.11', '3.12']
Cuts ci.yml `test` job from 3 parallel python legs to 1 on PR.
Drift catch on push:main and the existing weekly Tuesday cron.
3. **heartbeat-real-stack.yml**: add `cache: 'pip'` to setup-python
(cold pip install on every 3-OS run today).
4. **definition-of-done.yml**: drop `edited` PR event type.
No app code change.
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
Same pattern as the sdk-java summary fix. Matrix prune means `test (3.10)` and `test (3.12)` don't report on PR runs; branch protection requires those names → permanent block. Aggregator reports a stable `Test Summary` check that branch protection should require instead. Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.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.
Same shape as axonflow-sdk-java#176. Concurrency block on 5 workflows + python matrix prune on ci.yml test job + integration.yml contract-tests job (PR: 3.11 only; push/dispatch/weekly cron: 3.10+3.11+3.12). Heartbeat setup-python now uses pip cache. Definition-of-done drops the no-op
editedevent type. Public repo, dev-velocity work.