Skip to content

ci: pin the OIDF conformance suite to a reviewed release and report newer ones - #1009

Merged
osanderson merged 2 commits into
mainfrom
ci/pin-conformance-suite
Nov 27, 2026
Merged

osanderson merged 2 commits into
mainfrom
ci/pin-conformance-suite

Conversation

@osanderson

Copy link
Copy Markdown
Collaborator

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 master and used its :latest prebuilt 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.env names the release, and the workflow and run-all.sh both read it:

  • SUITE_TAG=release-v5.3.5, the newest suite release;
  • SUITE_COMMIT=246b2c14b856.

conformance/scripts/suite-pinned.override.yml pins the release's three images, as SSFgo does:

  • the suite server: registry.gitlab.com/openid/conformance-suite:release-v5.3.5@sha256:576ad9d6…;
  • nginx: …/nginx:release-v5.3.5@sha256:fd5ae05b…;
  • mongo: 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.md say how.

.github/workflows/conformance.yml

  • newer-suite: a separate job, so a newer release fails only this job and never holds back the matrix. It lists the suite's release-v* tags, writes the pinned and newest tags to the step summary, and fails with an ::error:: naming the newer release.
  • Clone: the workflow clones --branch "$SUITE_TAG" and fails unless HEAD is SUITE_COMMIT. It also fails unless the override pins both suite images to $SUITE_TAG@sha256:.
  • Compose: bring-up and teardown both use the pinned override alongside the existing host-gateway one.
  • "Record OIDF suite version": kept, and now shows the release and the pinned image references with their digests.
  • Cache and credentials: following SSFgo, the job no longer saves the setup-go cache that pull-request CI restores (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.sh sources suite-version.env and 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.5 is 5 commits behind the suite commit main last passed on (41cb402f, run 45866319974), all of them dependency bumps. It's 8 behind current master, which adds a suite fix for a null-pointer exception in its JWS x5t#S256 check. No test modules or plans were added or removed in that range.

Checks

  • YAML: the workflow and override parse.
  • Compose: docker compose … config with both overrides lists the three pinned images, and extra_hosts is intact.
  • Dry runs: the newer-suite check reports pinned = newest. The clone checks pass, and run-all.sh's warning fires only on a different checkout.
  • Conformance: running on this branch to confirm the pinned images pull on the runner and all 24 configurations still pass.

CI and docs only; no library change.

🤖 Generated with Claude Code

osanderson and others added 2 commits November 27, 2026 22:02
…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

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

Copy link
Copy Markdown

@osanderson
osanderson merged commit fb3f6d1 into main Nov 27, 2026
31 checks passed
@osanderson
osanderson deleted the ci/pin-conformance-suite branch November 27, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant