Repository navigation
ci: align workflow and job names - #312
Merged
Merged
Conversation
Follow the naming rules for the FOCA apps, as in cloud-registry: `ci.yml` "CI" (was `checks.yaml` "proTES checks"), `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 the first release), comments in scripts, charts' CI values and the smoke test, and the Python version test, which globs `*.yml` now. Closes #310 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep `release.yaml` in the verification commands while they are for 0.3.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` (as in cloud-registry). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThis PR renames the GitHub Actions workflows and job checks to the maintainer’s convention, consolidates database test execution into a matrix, and introduces Sequence diagram for release verification of CIsequenceDiagram
participant Release as release.yml
participant GitHub as GitHub Actions API
participant CI as ci.yml
Release->>GitHub: actions/workflows/ci.yml/runs
GitHub-->>Release: Successful push run for release commit
Release->>CI: Require CI passed before release jobs
CI-->>Release: Successful workflow result
Release->>Release: Prepare release
Release->>Release: Push release image
Release->>Release: Scan release image
Release->>Release: Publish release
Flow diagram for the CI passed gateflowchart TD
Jobs[lint, test, chart, docs, readiness, smoke, push, scan, publish] --> Gate[CI passed]
Gate --> Results{All jobs successful?}
Results -->|Yes| Pass[Required check passes]
Results -->|No| Skip{Pull request and push or publish skipped?}
Skip -->|Yes| Pass
Skip -->|No| Fail[Gate fails]
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 #312 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 29
Lines 2469 2469
=========================================
Hits 2469 2469 ☔ 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:27
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 GitHub Actions workflow and job names with the maintainer's naming rules (2026-10-24), identical to the cloud-registry change where the repos are identical:
checks.yaml"proTES checks" ->ci.yml"CI":lint/ Lint,test/ Test (mongomock), Test (MongoDB 7.0) (one matrix job; the MongoDB service gets an empty image, so it is not started, for the mongomock entry),chart/ Chart,docs/ Docs,readiness/ Release readiness,smoke/ Smoke test,push/ Push image,scan/ Scan image,publish/ Publish imagepassed/ CI passed (needs every other job,if: always(); fails on any failure, cancellation or unintended skip; onlypushandpublishmay be skipped, on pull requests), replacingtests_passed"Run tests"release.yaml->release.yml"Release": Prepare release, Push release image, Scan release image, Publish release; its check for a successful CI run of the release commit now queriesci.ymlscan.yaml"Scan release image" ->scan.yml"Scan": Scheduled scandocs/development.md,docs/operations.md(the release verification commands keeprelease.yamlwhile they are for 0.3.0, which it signed, with a note that later releases are signed byrelease.ymland pre-renamedevimages bychecks.yaml;devcommands useci.yml), script docstrings, chart CI values, smoke test compose file, andtests/test_build.py(globs*.ymlnow)tests/test_workflows.py(as in cloud-registry): workflow files and names, unique job names, the gate needs every other job, and the docs' signer workflow matches theCITATION.cffversion (fails once the version is bumped past 0.3.0 while the commands still namerelease.yaml)Ruleset switch needed before merging
This PR doesn't report the old required check names. Required checks to remove:
Build documentation,Check Helm chart,Run app with Docker Compose,Run tests,Scan image,Static code analysis. Add:CI passed(source: GitHub Actions). Keepdocs/readthedocs.org:protes.Notes for the maintainer
dev-imagesandreleaseare unchanged.ci.ymlpush run, which every commit merged after this PR gets.checks.yaml/scan.yamlconfigurations as stale under Security > Tool status after the merge; delete them there if they appear.Verification
pre-commit run --all-files(incl. actionlint): passedpytestwith coverage: 1029 passed, 80 skipped, 100% coverage before the test fix; after it,tests/test_build.py,tests/test_version_mentions.py,tests/test_docs_hooks.py,tests/test_workflows.py: all passedmkdocs build --strict: passedneedsresults (PR/push, success/failure/cancelled/skipped): behaves as intendedCI passedgreen; every job ran as before (Lint, Test (mongomock), Test (MongoDB 7.0), Chart, Docs, Release readiness, Smoke test, Scan image; Push image and Publish image skipped on the PR as before). The mongomock entry starts no service container; the MongoDB entry pullsmongo:7.0Declined review findings
None.
Open questions
None.
Closes #310
🤖 Generated with Claude Code
Summary by Sourcery
Align GitHub Actions workflows and checks with the repository naming rules while introducing a single reliable CI status gate.
New Features:
Enhancements:
CI:
Documentation:
Tests: