Repository navigation
ci: pin the OIDF conformance suite to a reviewed release and report newer ones - #1009
Merged
Merged
Conversation
…ones The conformance workflow cloned the OIDF suite's master and ran its :latest images, so every daily run executed whatever suite code had just landed, on the runner itself, in a job whose setup-go step saves the Go cache that ci.yml's pull-request jobs restore. Pin the suite instead. conformance/scripts/suite-version.env names the release (release-v5.3.5) and its commit; the workflow clones that tag, checks it is still at the pinned commit, and composes the suite with the new suite-pinned.override.yml, which runs the release's nginx and server images (and mongo) by digest. The clone step also checks that the override names the same release, so the three move together. A separate newer-suite job, on the same schedule and dispatch triggers, fails when a newer release tag exists without holding back the matrix. The conformance job now saves no Go cache and keeps no Git credentials. The "Record OIDF suite version" step reports the pinned release and lists the pinned images. run-all.sh reads the same file and warns when a local suite checkout is at another commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The local setup told readers to clone the suite's master and run its :latest images, which no longer matches what CI runs. Show how to clone the pinned release and add suite-pinned.override.yml, and describe how the pin is moved when the newer-suite job reports a new release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
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.



This pins the OIDF conformance suite to a reviewed release, as IDFoundry/SSFgo already does, and adds a job that fails when a newer release is out. Until now the workflow cloned the suite's latest
masterand used its:latestprebuilt images. Each run tested unreviewed suite code, and a suite change could fail a run with no change on FAPIgo's side.The pin
conformance/scripts/suite-version.envnames the release, and the workflow andrun-all.shboth read it:SUITE_TAG=release-v5.3.5, the newest suite release;SUITE_COMMIT=246b2c14b856.conformance/scripts/suite-pinned.override.ymlpins the release's three images, as SSFgo does:registry.gitlab.com/openid/conformance-suite:release-v5.3.5@sha256:576ad9d6…;…/nginx:release-v5.3.5@sha256:fd5ae05b…;mongo:6.0.13@sha256:b415b12f…, the same as SSFgo.Moving the pin moves all three together. The file headers and
conformance/server/scripts/README.mdsay how..github/workflows/conformance.ymlnewer-suite: a separate job, so a newer release fails only this job and never holds back the matrix. It lists the suite'srelease-v*tags, writes the pinned and newest tags to the step summary, and fails with an::error::naming the newer release.--branch "$SUITE_TAG"and fails unlessHEADisSUITE_COMMIT. It also fails unless the override pins both suite images to$SUITE_TAG@sha256:.cache: false), and the checkout doesn't keep credentials (persist-credentials: false). The job runs the suite's Python scripts on the runner.Local runs
run-all.shsourcessuite-version.envand warns when the local suite checkout is at a different commit. The conformance READMEs show how to clone the pinned tag with the override.The gap from master
release-v5.3.5is 5 commits behind the suite commitmainlast passed on (41cb402f, run 45866319974), all of them dependency bumps. It's 8 behind currentmaster, which adds a suite fix for a null-pointer exception in its JWSx5t#S256check. No test modules or plans were added or removed in that range.Checks
docker compose … configwith both overrides lists the three pinned images, andextra_hostsis intact.run-all.sh's warning fires only on a different checkout.CI and docs only; no library change.
🤖 Generated with Claude Code