fix(ci): track GitHub workflow attempts before completion #599

Open
gmackie wants to merge 2 commits from fix-github-workflow-lifecycle into main
Owner

GitHub workflow hooks previously ignored requested and in-progress runs, allowing another passing build to make deployment evidence look green. Record queued/running attempts, keep reruns separate, and atomically reject stale transitions. Provider event time prevents a late old completion from taking latest-attempt credit.

Builds on PR #598. Validation: 15 webhook tests, a disposable database lifecycle test covering retries and out-of-order delivery, and web TypeScript passed. The database lane uses the existing PGlite PostgreSQL-wire harness. PR Lens diagram is local only.

This requires delivered workflow hooks and a matching changeset. Missing webhook reconciliation, expected-workflow discovery, and production qualification remain open.

GitHub workflow hooks previously ignored requested and in-progress runs, allowing another passing build to make deployment evidence look green. Record queued/running attempts, keep reruns separate, and atomically reject stale transitions. Provider event time prevents a late old completion from taking latest-attempt credit. Builds on PR #598. Validation: 15 webhook tests, a disposable database lifecycle test covering retries and out-of-order delivery, and web TypeScript passed. The database lane uses the existing PGlite PostgreSQL-wire harness. PR Lens diagram is local only. This requires delivered workflow hooks and a matching changeset. Missing webhook reconciliation, expected-workflow discovery, and production qualification remain open.
fix(ci): require every reported pipeline to pass deployment gates
All checks were successful
CI / gitleaks (pull_request) Successful in 9s
CI / storybook (pull_request) Successful in 1m56s
CI / web-build (pull_request) Successful in 3m39s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 10m32s
676f716b43
fix(ci): record GitHub workflow attempts before completion
All checks were successful
CI / gitleaks (pull_request) Successful in 7s
CI / storybook (pull_request) Successful in 1m24s
CI / web-build (pull_request) Successful in 3m40s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 11m16s
7a913b1a93
Author
Owner

Preview environment is live: https://pr-599-forgegraph.forgegraf.com

Deployed 7a913b1a with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.

Preview environment is live: https://pr-599-forgegraph.forgegraf.com Deployed `7a913b1a` with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.
All checks were successful
CI / gitleaks (pull_request) Successful in 7s
Required
Details
CI / storybook (pull_request) Successful in 1m24s
CI / web-build (pull_request) Successful in 3m40s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 11m16s
Required
Details
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix-github-workflow-lifecycle:fix-github-workflow-lifecycle
git switch fix-github-workflow-lifecycle
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!599
No description provided.