Skip to content

ci: prefix-match the prod smoke commit assertion - #85

Merged
vreshch merged 1 commit into
masterfrom
fix/deploy-smoke-short-sha
Aug 9, 2026
Merged

ci: prefix-match the prod smoke commit assertion#85
vreshch merged 1 commit into
masterfrom
fix/deploy-smoke-short-sha

Conversation

@vreshch

@vreshch vreshch commented Aug 9, 2026

Copy link
Copy Markdown
Member

The production deploy of #83 succeeded - prod served the new build within seconds - but the job went red anyway:

Smoke: https://agentage.io/health -> 84ec182
::error::agentage.io never served commit 84ec182460d9cab36f25a51e729fd8a05968ecc3 (last: 84ec182)

The smoke compares /health's commit against github.sha with =. The estate envelope reports the 7-char short sha there; the full one lives in version. So the assertion can never pass again.

Prefix-matches instead, the same fix agentage/api-gateway needed for its two scripts. Works whether the service reports the short or the full form, so it survives any service that has not adopted the kit yet.

The estate envelope reports the 7-char short sha in `commit` (the full one is in `version`), so the equality test against github.sha failed a deploy that had actually succeeded - prod was serving the new build the whole time.
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

CI - Verify PASSED

Commit: ad61fd5bf6c48c71e44275c5f871a737bc01ae73 · Branch: fix/deploy-smoke-short-sha

  • ✅ Type check
  • ✅ Lint
  • ✅ Format check
  • ✅ Unit tests
  • ✅ Build
  • ✅ Landing e2e

🔗 View workflow run

@vreshch
vreshch merged commit 61077b2 into master Aug 9, 2026
1 check passed
@vreshch
vreshch deleted the fix/deploy-smoke-short-sha branch August 9, 2026 21:24
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