Skip to content

Fail market-maker verify unless the running image matches - #82

Merged
abs2023 merged 1 commit into
devfrom
fix/mm-health-image-tag
Sep 22, 2026
Merged

abs2023 merged 1 commit into
devfrom
fix/mm-health-image-tag

Conversation

@abs2023

@abs2023 abs2023 commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • GET /health and GET /health/raw now include imageTag, set from the IMAGE_TAG env the deploy writes (the same string as the image tag).
  • After services-stable, verify compares the running task image and its IMAGE_TAG to the tag this run pushed. A rollback to the previous image fails the job.
  • The market-maker load balancer is internal, so GitHub Actions cannot GET /health itself. The task image and IMAGE_TAG are the values that endpoint reports.

Test plan

  • Merge to dev and confirm the new image stays up and verify prints the matching tag
  • Confirm a rollback would fail verify instead of being reported as stable

Made with Cursor

…st built

/health now reports imageTag. The verify job compares the running task image and that tag to the release, so a rollback can no longer pass as a stable deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
@abs2023
abs2023 merged commit e63cc70 into dev Sep 22, 2026
2 checks passed
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