Skip to content

chore(ci): cancel orphaned PR runs + prune Python matrix on PR#194

Merged
saurabhjain1592 merged 2 commits into
mainfrom
cost/ci-sweep
May 10, 2026
Merged

chore(ci): cancel orphaned PR runs + prune Python matrix on PR#194
saurabhjain1592 merged 2 commits into
mainfrom
cost/ci-sweep

Conversation

@saurabhjain1592
Copy link
Copy Markdown
Member

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 edited event type. Public repo, dev-velocity work.

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>
@saurabhjain1592 saurabhjain1592 merged commit 86217e4 into main May 10, 2026
18 checks passed
@saurabhjain1592 saurabhjain1592 deleted the cost/ci-sweep branch May 12, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant