Repository navigation
Conversation
The integration suite only ever tested a Proxy image built from source, because proxy:up always builds and tests/docker-compose.yml never pulls. Nothing checked the image a release actually publishes to Docker Hub. proxy:up now honours PROXY_IMAGE: it pulls that published image and tags it as cipherstash/proxy:latest, the image the compose services run, and skips the build. A new reusable Smoke test workflow runs the full integration suite that way on PostgreSQL 14 to 17. release.yml calls it once the multi-platform image is published, passing the version the merge job tagged. A pull request that changes the workflow runs it against the latest published 2.2.x image.
tobyhede
marked this pull request as ready for review
December 4, 2026 06:24
Address review feedback on the release smoke test: - Notify Slack when the smoke test fails on a release. The image is already published by then, and the shared notification action only fires on main, so a failure would otherwise alert nobody. - Pull the published image only when it is missing. test:integration calls proxy:up many times, and each extra Docker Hub pull was another chance for a rate limit to fail a good release. - Limit the token to contents: read and pass the five secrets the workflow uses instead of inheriting every secret. - Update the two DEVELOPMENT.md passages that still said Proxy is always built from source for tests.
This branch has not been deployed
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
After each 2.2.x release, CI now runs the full integration suite against the Docker image the release published, not only against an image built from source.
Until now, nothing tested the image customers actually pull from Docker Hub.
This pull request also runs that suite against the current 2.2 release image,
cipherstash/proxy:2.2(2.2.7), so its own CI checks verify 2.2.7.Changes
mise.toml):proxy:uptakes aPROXY_IMAGEvariable. When it is set,proxy:uppulls that published image and tags itcipherstash/proxy:latest(the imagetests/docker-compose.ymlruns) instead of building Proxy from source. Without it, nothing changes..github/workflows/smoke-test.yml): runsmise run test:integrationwithPROXY_IMAGEset, on PostgreSQL 14, 15, 16 and 17. It can be called from another workflow with a version, and it also runs on a pull request that changes it, againstcipherstash/proxy:2.2..github/workflows/release.yml): the publish job now exposes the version it tagged. A newSmoke test published imagejob runs after it, only for a published release, and calls the smoke test with that version.DEVELOPMENT.mdexplains how to run the integration suite against a published image locally. The comment intests/docker-compose.ymlmentionsPROXY_IMAGE.Verification
actionlintonrelease.ymlandsmoke-test.yml: no findings in the new jobs. It reports only warnings that were already there (custom Blacksmith runner labels, and shellcheck notes on existing steps).mise tasks info proxy:upparses the changed task.Testworkflow covers the default build-from-source path, and theSmoke testworkflow runs the suite againstcipherstash/proxy:2.2.release.ymljob runs only on a published release, so it is first exercised by the next 2.2.x release.Review notes
workflow_dispatchonly works for workflows on the default branch, and this one lives onrelease/2.2.main(3.x) needs the same change separately. Itsrelease.ymland test tasks differ.Acknowledgment
By submitting this pull request, I confirm that CipherStash can use, modify, copy, and redistribute this contribution, under the terms of CipherStash's choice.