Skip to content

feat(deploy): carry app_url/app_name/env on deploy.healthy audit row#216

Merged
mastermanas805 merged 2 commits into
masterfrom
fix/deploy-healthy-audit-app-url
Jun 2, 2026
Merged

feat(deploy): carry app_url/app_name/env on deploy.healthy audit row#216
mastermanas805 merged 2 commits into
masterfrom
fix/deploy-healthy-audit-app-url

Conversation

@mastermanas805
Copy link
Copy Markdown
Member

The deploy.healthy audit metadata only carried time_to_healthy_seconds, so the worker's new "your app is live at " email had no URL to render.

Adds app_url / app_name / env to both deploy.healthy emit sites:

  • fresh deploy (runDeploy) — reads result.AppURL (the in-memory d.AppURL isn't stamped at that point, only the row was updated);
  • in-place redeploy (runRedeployAsync) — reuses the loaded d.AppURL (URL is unchanged on in-place redeploy).

deploy.created already carried app_name / env / ttl_policy, so no change needed there.

Pairs with worker PR #75, which wires deploy.created / deploy.healthy into the email forwarder. Order-independent: if worker ships first, the live email simply falls back to the dashboard CTA until this lands.

Verification

Local build + vet clean. The deploy_audit_emit test asserts row counts by kind (unaffected by added metadata keys). Not yet verified live.

🤖 Generated with Claude Code

mastermanas805 and others added 2 commits June 2, 2026 18:46
The deploy.healthy audit metadata only had time_to_healthy_seconds, so the
worker's new "your app is live at <url>" email had no URL to render. Add
app_url/app_name/env to both deploy.healthy emit sites (fresh deploy +
in-place redeploy). Fresh path reads result.AppURL (the in-memory struct
isn't stamped yet); redeploy reuses the loaded d.AppURL. Pairs with the
worker PR wiring deploy.created/healthy into the email forwarder.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mastermanas805 mastermanas805 merged commit 9b2f88b into master Jun 2, 2026
18 checks passed
@mastermanas805 mastermanas805 deleted the fix/deploy-healthy-audit-app-url branch June 2, 2026 14:12
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