fix(deploy): derive rollback id from Forgejo run id #250

Merged
gmackie merged 1 commit from fix/deploy-forgejo-run-id into main 2026-08-05 10:58:18 +00:00
Owner

What changed

  • derive the command-hub rollout unit ID from Forgejo's numeric run ID
  • use GITHUB_RUN_ATTEMPT when available and default to attempt 1 when Forgejo omits it
  • add a workflow regression assertion for the Forgejo-compatible fallback

Root cause

Deploy run 1275 exited before the first hub copy because Forgejo did not expose github.run_attempt; the generated rollout ID failed its numeric validation.

Verification

  • targeted public-feed workflow test: 6 passed
  • Prettier check
  • workflow YAML parse
## What changed - derive the command-hub rollout unit ID from Forgejo's numeric run ID - use `GITHUB_RUN_ATTEMPT` when available and default to attempt `1` when Forgejo omits it - add a workflow regression assertion for the Forgejo-compatible fallback ## Root cause Deploy run 1275 exited before the first hub copy because Forgejo did not expose `github.run_attempt`; the generated rollout ID failed its numeric validation. ## Verification - targeted public-feed workflow test: 6 passed - Prettier check - workflow YAML parse
fix(deploy): derive rollback id from Forgejo run id
All checks were successful
CI / gitleaks (pull_request) Successful in 9s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 8m8s
b44a7f7220
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gmackie/ForgeGraph!250
No description provided.