Repository navigation
ci: align workflow and job names - #482
Merged
Merged
Conversation
Follow the naming rules for workflows and jobs:
- Rename checks.yml to ci.yml and move the chart jobs of charts.yml
into it (chart, chart-install). Their steps move to the composite
actions test-chart and install-chart, which release-chart.yml runs
as well, in its test job, instead of calling charts.yml.
- Rename jobs to sentence case with matrix values in parentheses,
unique across workflows (e.g. "Test (Python 3.13, MongoDB 7.0)",
"Push release image (Python 3.13)", "Scheduled scan (Python 3.13)").
- Replace the aggregate jobs test-passed, integration-passed and
scan-passed with the gate job passed ("CI passed"), which needs every
other job and allows only the skips of push and publish on pull
requests.
- release.yml: publish -> pypi, docker -> publish-image,
github-release -> publish; the file name stays for PyPI trusted
publishing. scan.yml is now "Scan".
- Let Dependabot update the actions of the new composite actions.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Point the README badge, the docs and comments to ci.yml and to the composite actions with the chart checks, instead of checks.yml and charts.yml. Images of dev are now signed by ci.yml. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideRenames and reorganizes GitHub Actions workflows and jobs to the new naming convention, centralizes chart checks in CI and reusable composite actions, introduces a single jq-based CI gate for branch protection, and updates release workflows and repository references without changing publishing identities or artifacts. Sequence diagram for the CI passed gatesequenceDiagram
participant Jobs as CI jobs
participant Gate as CI passed
participant JQ as bash and jq
Jobs->>Gate: Complete lint, test, chart, image, and publish jobs
Gate->>JQ: Read toJSON(needs)
JQ->>JQ: Evaluate job results
alt All results are success
JQ-->>Gate: exit 0
else push and publish skipped on pull request
JQ-->>Gate: Ignore allowed skips
JQ-->>Gate: exit 0
else failure, cancellation, unexpected skip, or no results
JQ-->>Gate: exit 1
end
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 #482 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 29
Lines 3444 3444
=========================================
Hits 3444 3444
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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 workflow and job names with the naming rules of 2026-10-24.
checks.ymlis renamed toci.yml(CI). The chart jobs ofcharts.ymlmove into it aschart/Chartandchart-install/Chart install, andcharts.ymlis removed.charts.ymlhad nopaths:filters, so the chart jobs run on every PR and push, as before.The steps of the two chart jobs move unchanged into the composite actions
.github/actions/test-chartand.github/actions/install-chart. The only edits areshell: bashandNAMESPACEbecoming an input.release-chart.ymlused to callcharts.ymlas a reusable workflow; its newtest/Test chart releasejob runs both actions instead. A singletestjob, as the spec has it, means a re-run after a flaky kind install also repeats the lint and tests (about 2 minutes). Callingci.ymlfromrelease-chart.ymlwould have run the dev-image push jobs on the tag push, so it was not an option.Jobs:
Lint,Test (Python X, MongoDB Y),Test (Python X, lowest dependencies),Integration test (Python X),Push image (Python X),Scan image (Python X), andpublish/Publish image (Python X)(wasdocker).test-loweststays a separate job with a name in the same pattern, because it installs with uvlowest-directand has no coverage step. The docs build stays a step oflint, which now has a comment saying so.Gate:
passed/CI passedreplacestest-passed,integration-passedandscan-passed.needs:on all 9 other jobs andif: always().pushandpublishon pull requests. Empty results also fail it.release.yml(Release):build/Build distributionspypi/Publish to PyPI(waspublish)push/Push release image (Python X)scan/Scan release image (Python X)publish-image/Publish release image (Python X)(wasdocker)publish/Publish release(wasgithub-release)The file name and the
pypienvironment stay the same, so PyPI trusted publishing is not affected.scan.ymlis nowScan, with the jobScheduled scan (Python X). Code scanning categories and artifact names are unchanged.release-chart.yml(Release chart):test/Test chart release,publish/Publish chart(wasrelease). The file name stays, so the signer identity of the chart does not change.Dependabot now also updates the actions in the two new composite actions.
References are updated in the README badge,
docs/contributing.md,docs/helm-chart.md,pyproject.toml,requirements/*.txt, the chart CI values,.github/kind/gateway.yamland the snapshot test message.docs/deployment.md: dev images are now signed byci.yml. It notes that older dev images were signed bychecks.yml.Ruleset switch needed
This PR does not report the old required checks, so the ruleset has to change before merging.
Remove:
Lint, type-check and buildUnit testsIntegration tests (petstore)Scan imagesAdd
CI passed(source: GitHub Actions). Keepdocs/readthedocs.org:foca. The chart checks were not required.Verification
actionlint1.7.12 with shellcheck: no findings except an info-level SC2102 that was already ondev.pre-commit run --all-files: all hooks pass.pytest charts/foca-common/testswith Helm v3.22.1: 203 passed.CI passedincluded. Job by job, the PR run matches a recentdevPR run (CI and Charts runs of docs: use Shields.io for the docs badge #479): the same 21 jobs ran, each under its new name, with the same results.Push imageandPublish imagewere skipped on the PR, as before. The three aggregate jobs were replaced byCI passed. The oldChartsworkflow no longer runs.release.ymlandrelease-chart.ymljobs.release.ymlonly renames jobs andneeds:. Therelease-chart.ymltest job runs the same composite actions that passed here asChartandChart install.Declined review findings
Test chart releaseinto two jobs so that a re-run is faster. Declined because the spec defines onetestjob, and this only costs time.test-lowestis not folded intotest, and there is nodocsjob. These are intended, as explained above.Open questions
None.
Closes #480
🤖 Generated with Claude Code
Summary by Sourcery
Align workflow and job names with the required CI naming conventions while consolidating chart checks and replacing multiple required checks with a single CI gate.
New Features:
CI passedgate that aggregates all CI job results for branch protection.Enhancements:
ci.ymland reuse the chart actions during chart releases.CI:
checks.ymltoci.ymland consolidate the chart checks into the CI workflow.Documentation:
Tests:
Chores:
charts.ymlworkflow and rename release and scan jobs to the standardized naming scheme.