feat(ci): add CI / all-required sentinel job #23

Closed
sdk-dev wants to merge 1 commits from feat/ci-all-required-sentinel into main
Member

Summary

Renames the .gitea/workflows/ci.yml workflow name: from TestCI and adds an all-required sentinel job that aggregates the Python 3.11/3.12/3.13 matrix results into a single CI / all-required (pull_request) status context.

This enables the main branch protection to use a single required-status-check entry (CI / all-required) instead of enumerating every matrix variant (Test / test (3.11) (pull_request), etc.).

Changes

  • .gitea/workflows/ci.yml: name: Testname: CI
  • .gitea/workflows/ci.yml: added all-required job that needs: [test], uses if: always(), and fails if any matrix variant returned non-success (failure, cancelled, skipped)

What this produces

Context When
CI / test (3.11) (pull_request) per-variant, as before
CI / test (3.12) (pull_request) per-variant, as before
CI / test (3.13) (pull_request) per-variant, as before
CI / all-required (pull_request) aggregates all three variants

Branch protection action required

After this PR merges, the main branch protection needs a separate BP update (out of scope for this PR):

  1. Add CI / all-required (pull_request) as a required check (append, don't replace)
  2. Update the three existing Test / test (3.x) (pull_request) entries → CI / test (3.x) (pull_request) (or remove them once all-required is sufficient)

Issue: molecule-ai/molecule-sdk-python#11

Test plan

  • pytest: 308 passed, 1 skipped
  • CI posts CI / all-required (pull_request) on this PR ← wait for CI

🤖 Generated with Claude Code

Branch protection action (required AFTER this PR merges)

After this PR lands on main, the main branch protection needs a separate BP update:

  1. Replace existing Test / test (3.x) (pull_request) required checks → CI / test (3.x) (pull_request)
  2. Add CI / all-required (pull_request) as a new required check

This is a repo settings change (requires repo admin), not a code change. Issue: molecule-ai/molecule-sdk-python#11

## Summary Renames the `.gitea/workflows/ci.yml` workflow `name:` from `Test` → `CI` and adds an `all-required` sentinel job that aggregates the Python 3.11/3.12/3.13 matrix results into a single `CI / all-required (pull_request)` status context. This enables the main branch protection to use a single required-status-check entry (`CI / all-required`) instead of enumerating every matrix variant (`Test / test (3.11) (pull_request)`, etc.). ## Changes - **`.gitea/workflows/ci.yml`**: `name: Test` → `name: CI` - **`.gitea/workflows/ci.yml`**: added `all-required` job that `needs: [test]`, uses `if: always()`, and fails if any matrix variant returned non-success (`failure`, `cancelled`, `skipped`) ## What this produces | Context | When | |---------|------| | `CI / test (3.11) (pull_request)` | per-variant, as before | | `CI / test (3.12) (pull_request)` | per-variant, as before | | `CI / test (3.13) (pull_request)` | per-variant, as before | | `CI / all-required (pull_request)` | aggregates all three variants | ## Branch protection action required After this PR merges, the main branch protection needs a **separate BP update** (out of scope for this PR): 1. **Add** `CI / all-required (pull_request)` as a required check (append, don't replace) 2. **Update** the three existing `Test / test (3.x) (pull_request)` entries → `CI / test (3.x) (pull_request)` (or remove them once `all-required` is sufficient) Issue: molecule-ai/molecule-sdk-python#11 ## Test plan - [x] pytest: 308 passed, 1 skipped - [ ] CI posts `CI / all-required (pull_request)` on this PR ← wait for CI 🤖 Generated with [Claude Code](https://claude.com/claude-code) ## Branch protection action (required AFTER this PR merges) After this PR lands on `main`, the main branch protection needs a **separate BP update**: 1. **Replace** existing `Test / test (3.x) (pull_request)` required checks → `CI / test (3.x) (pull_request)` 2. **Add** `CI / all-required (pull_request)` as a new required check This is a repo settings change (requires repo admin), not a code change. Issue: molecule-ai/molecule-sdk-python#11
sdk-dev added 1 commit 2026-05-16 21:04:03 +00:00
feat(ci): add CI / all-required sentinel job
[Do] SDK-Dev self-review: workflow-only change, CI-only diff, no product impact
CI / test (3.11) (pull_request) Successful in 1m38s
CI / test (3.12) (pull_request) Successful in 1m33s
CI / test (3.13) (pull_request) Successful in 1m38s
sop-checklist / all-items-acked All SOP items acknowledged: CI workflow-only change, no breaking changes, test suite passes 308/1
CI / all-required (pull_request) Successful in 1s
67594dc6a6
Renames workflow name from "Test" → "CI" and adds an all-required
sentinel job that aggregates the 3.11/3.12/3.13 matrix results into
a single CI / all-required (pull_request) context.

This enables a single required-status-check entry on the main branch
protection (appending CI / all-required) instead of enumerating every
matrix variant individually.

Implements: molecule-ai/molecule-sdk-python#11

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sdk-dev closed this pull request 2026-05-17 00:01:23 +00:00
Some checks are pending
[Do] SDK-Dev self-review: workflow-only change, CI-only diff, no product impact
CI / test (3.11) (pull_request) Successful in 1m38s
CI / test (3.12) (pull_request) Successful in 1m33s
CI / test (3.13) (pull_request) Successful in 1m38s
sop-checklist / all-items-acked All SOP items acknowledged: CI workflow-only change, no breaking changes, test suite passes 308/1
CI / all-required (pull_request) Successful in 1s
Test / test (3.11) (pull_request)
Required
Test / test (3.12) (pull_request)
Required
Test / test (3.13) (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-sdk-python#23