Repository navigation
ci: align workflow and job names - #234
Merged
Merged
Conversation
Follow the naming rules for the FOCA apps: `ci.yml` "CI" (was `checks.yaml` "build app"), `release.yml` "Release" and `scan.yml` "Scan" (was "Scan release image"), with kebab-case job IDs and short, unique sentence-case job names. Merge the test jobs into one matrix job, `Test (mongomock)` and `Test (MongoDB 7.0)`; the MongoDB service is not started for the mongomock entry (empty image). Replace the aggregate job "Run tests" by the gate `CI passed`, which needs every other job and passes only if all of them passed, or were skipped as intended (image push and publish on pull requests). Update the references: the release workflow's check for a successful CI run (`ci.yml`), README badges, docs (incl. the signer workflow of the verification commands, with a note for earlier releases), comments in scripts, and the Python version test, which globs `*.yml` now. Closes #233 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep `release.yaml` in the verification commands while they are for 0.4.0 (the version in `CITATION.cff`), which it signed, and say that later releases are signed by `release.yml`. A test fails once the version is bumped and the commands still name the old file, and other tests check the workflow files and names, that job names are unique and that the gate needs every other job of `ci.yml`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Read the version of `CITATION.cff` with `scripts/citation.py`, as the docs hook does, instead of a regular expression of its own. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideRenames and standardizes the GitHub Actions workflows and jobs, consolidates database testing into a matrix, and introduces a comprehensive Sequence diagram for matrix database testingsequenceDiagram
participant CI as CI test matrix
participant Mock as mongomock entry
participant Mongo as MongoDB 7.0 entry
participant Codecov
CI->>Mock: Run tests
Mock->>Mock: Calculate unit test coverage
Mock->>Codecov: Submit Report to Codecov
CI->>Mongo: Start mongodb service
Mongo->>Mongo: Run tests against MongoDB
Flow diagram for the CI workflow gateflowchart LR
lint[Lint] --> passed[CI passed]
test[Test matrix] --> passed
chart[Chart] --> passed
docs[Docs] --> passed
readiness[Release readiness] --> passed
smoke[Smoke test] --> passed
push[Push image] --> passed
scan[Scan image] --> passed
publish[Publish image] --> passed
passed --> required[Only required GitHub check]
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #234 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 16 16
Lines 1362 1362
=========================================
Hits 1362 1362 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
uniqueg
marked this pull request as ready for review
October 24, 2026 15:28
This was referenced Oct 25, 2026
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.
Summary
Aligns the workflow and job names with the naming rules for the FOCA apps (cloud-registry is the template; proTES gets the same change):
ci.yml"CI" (waschecks.yaml"build app")linttestchartdocsreadinesssmokepushscanpublishpassedtests_passed"Run tests")release.yml"Release"preparepushscanpublishscan.yml"Scan" (was "Scan release image")scanfail-fast: falsekeeps the entries independent.CI passedneeds every other job (if: always()) and passes only if all of them passed, or were skipped as intended (pushandpublishon pull requests). Failed, cancelled or otherwise skipped jobs fail it. It is meant to be the only required check from GitHub Actions.actions/workflows/ci.yml/runs), README badges, docs (development guide, incl. the ruleset in the maintainers' settings; verification commands in the operations guide), script docstrings, andtest_python_version, which globs*.ymlnow.Notes:
release.yaml, dev images built before this merge bychecks.yaml. The operations guide's release commands are for the version inCITATION.cff(0.4.0), so they keeprelease.yaml, with a note that later releases are signed byrelease.yml;tests/test_workflows.pyfails once the version is bumped and the commands still namerelease.yaml. The dev-image commands nameci.yml(with a note on older images). The next release notes should mention the new signer identity (it breaks policies that pinrelease.yaml).tests/test_workflows.pyalso checks the workflow files and names, unique job names, and that the gate needs every other job ofci.yml.dev-images,release), code scanning categories (image,release,release-image) and the artifact nametrivy-report-release-image, so alerts and artifacts continue.ci.yml: commits released later must have a successfulci.ymlpush run (any commit pushed todevafter this merge).ci.ymlas a new workflow;build appandScan release imagedisappear from the Actions list after the merge.Ruleset switch needed before merging: the old required checks (
Static code analysis,Run tests,Check Helm chart,Build documentation,Run app with Docker Compose,Scan image) don't all report under these names any more; thedevruleset should requireCI passed(source: GitHub Actions) instead, plusdocs/readthedocs.org:cloud-registry.Verification
actionlint1.7.12 (-shellcheck=): no findings.needsresults (PR with skipped push/publish: pass; push with skipped push/publish: fail; failure/cancelled/unintended skip: fail).pytest(Python 3.13, fresh venv): 1121 passed, 228 skipped (Helm not installed locally).pre-commit run --all-files: passed.mkdocs build --strict: passed.CI passedgreen;Push imageandPublish imageskipped as on pull requests before. Same jobs as before (compared with the run of docs: use Shields.io for the docs badge #232): Lint, Test (mongomock), Test (MongoDB 7.0), Chart, Docs, Release readiness, Smoke test, Scan image. The mongomock entry started no service container (no "Initialize containers" step) and uploaded coverage; the MongoDB entry ran the tests against MongoDB. CodeQL and Read the Docs passed.Declined review findings
ci.yml. Declined: the workflows' comments consistently end without one.Open questions
None.
Closes #233
🤖 Generated with Claude Code
Summary by Sourcery
Standardize GitHub Actions workflow and job naming while consolidating CI results behind a single required gate.
New Features:
CI passedgate that consolidates all CI job results into one required status check.Bug Fixes:
Enhancements:
ci.yml,release.yml, andscan.ymland update their references throughout the project.CI:
Documentation:
Tests:
.ymlfiles.