The bug: a rerun keeps its run number, so the Deploy job's "Tag deployed commit" step tried to create deploy-<date>-<run> again, got a conflict, and failed. That happened after a successful deploy, and the failure also skipped Deploy worker. It bit tonight: after #88's run was rerun, following a network timeout reaching GitHub, the server deployed fine but the worker deploy was skipped.
The fix: if creating the tag fails, the step looks the tag up.
If it marks the same commit (a rerun), that's fine.
If it marks a different commit, the step fails and shows what it found.
I tested the lookup against the real tag, deploy-2026.11.24-255 → 567941c. actionlint and zizmor are clean.
After merge: this PR's push run also deploys the worker, because package.json (#88) changed since the worker's commit (06d6c72).
This changes CI only.
**The bug:** a rerun keeps its run number, so the Deploy job's "Tag deployed commit" step tried to create `deploy-<date>-<run>` again, got a conflict, and failed. That happened after a successful deploy, and the failure also skipped **Deploy worker**. It bit tonight: after #88's run was rerun, following a network timeout reaching GitHub, the server deployed fine but the worker deploy was skipped.
**The fix:** if creating the tag fails, the step looks the tag up.
- If it marks the same commit (a rerun), that's fine.
- If it marks a different commit, the step fails and shows what it found.
I tested the lookup against the real tag, `deploy-2026.11.24-255` → `567941c`. `actionlint` and `zizmor` are clean.
**After merge:** this PR's push run also deploys the worker, because `package.json` (#88) changed since the worker's commit (`06d6c72`).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A rerun keeps its run number, so "Tag deployed commit" tried to create
deploy-<date>-<run> again, got a conflict, and failed the Deploy job
after a successful deploy, which also skipped Deploy worker. The step
now accepts an existing tag when it marks the same commit, and fails
with the details when it marks another.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared
merged commit fb5ef452d5 into main2026-11-23 22:57:53 -05:00
jared
deleted branch deploy-tag-idempotent2026-11-23 22:57:56 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This changes CI only.
The bug: a rerun keeps its run number, so the Deploy job's "Tag deployed commit" step tried to create
deploy-<date>-<run>again, got a conflict, and failed. That happened after a successful deploy, and the failure also skipped Deploy worker. It bit tonight: after #88's run was rerun, following a network timeout reaching GitHub, the server deployed fine but the worker deploy was skipped.The fix: if creating the tag fails, the step looks the tag up.
I tested the lookup against the real tag,
deploy-2026.11.24-255→567941c.actionlintandzizmorare clean.After merge: this PR's push run also deploys the worker, because
package.json(#88) changed since the worker's commit (06d6c72).🤖 Generated with Claude Code