Skip to content

feat(cd): verify deployed frontend version#1790

Merged
tyler-dane merged 1 commit into
mainfrom
feat/version-healthcheck
May 19, 2026
Merged

feat(cd): verify deployed frontend version#1790
tyler-dane merged 1 commit into
mainfrom
feat/version-healthcheck

Conversation

@tyler-dane
Copy link
Copy Markdown
Contributor

What changed

  • Add a deploy health check for ${FRONTEND_URL}/version.json.
  • Compare the served frontend version field with the release tag/version passed into the health-check workflow.
  • Add focused tests for matching and mismatched frontend version responses.

Why

The last self-host deploy showed that service health alone was not enough: the stack could be healthy while the browser still received a stale or generic web bundle. This check catches that class of deployment drift.

Validation

  • bun test self-host/docker-compose.test.ts
  • bun run test:scripts
  • bash -n .github/scripts/deploy-health-check.sh
  • EXPECTED_VERSION=v0.5.27 FRONTEND_URL=https://selfhosted.compasscalendar.com bash .github/scripts/deploy-health-check.sh validate-frontend-version

Note

bun run lint is currently blocked by an existing import-order issue on origin/main in packages/web/src/views/Week/interaction/WeekPointerCaptureBoundary.tsx; this PR does not touch that file.

@tyler-dane tyler-dane temporarily deployed to staging-selfhosted May 19, 2026 20:00 — with GitHub Actions Inactive
@tyler-dane tyler-dane temporarily deployed to staging-selfhosted May 19, 2026 20:02 — with GitHub Actions Inactive
@tyler-dane tyler-dane changed the title [codex] verify deployed frontend version feat(cd): verify deployed frontend version May 19, 2026
@tyler-dane tyler-dane marked this pull request as ready for review May 19, 2026 20:08
@tyler-dane tyler-dane merged commit 180724a into main May 19, 2026
13 checks passed
@tyler-dane tyler-dane deleted the feat/version-healthcheck branch May 19, 2026 20:08
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