Staged deploy confirmation
After review and CI, waits for a staging deploy result and then a production monitoring result. Each promotion is confirmed by the system that can see it.
| Template | staged-deploy-signals |
| Works on | A git repository, cloned into an isolated Docker sandbox |
| Where a person acts | Nobody inside the run. The pull request it opens is merged by a person, outside it. |
| Waits on systems | CI result, up to 4h Staging deploy result, up to 1h Production monitoring result, up to 2h |
The workflow
Section titled “The workflow”Drawn from the template spec at build time. Bookkeeping nodes that only record status are left out; amber nodes are where a person acts.
flowchart TD
n_validate["Validate"]
n_implement["Implement"]
n_review["Review"]
n_checkApproval{"Check approval?"}
n_openPR["Open PR"]
n_checkReviewLimit{"Check review limit?"}
n_waitForCI[/"Wait for CI<br/><small>waits up to 4h: CI result</small>"/]
n_terminateReviewFailed(["Failed<br/><small>review failed</small>"])
n_reviewFix["Review fix"]
n_checkCI{"Check CI?"}
n_terminateCITimedOut(["Timed out<br/><small>ci timed out</small>"])
n_waitForStaging[/"Wait for staging<br/><small>waits up to 1h: Staging deploy result</small>"/]
n_checkCILimit{"Check CI limit?"}
n_checkStaging{"Check staging?"}
n_terminateStagingTimedOut(["Timed out<br/><small>staging timed out</small>"])
n_terminateCIFailed(["Failed<br/><small>ci failed</small>"])
n_fetchLogs["Fetch logs"]
n_waitForMonitoring[/"Wait for monitoring<br/><small>waits up to 2h: Production monitoring result</small>"/]
n_terminateStagingFailed(["Failed<br/><small>staging failed</small>"])
n_ciFix["CI fix"]
n_checkMonitoring{"Check monitoring?"}
n_terminateMonitorTimedOut(["Timed out<br/><small>monitor timed out</small>"])
n_repushAfterCIFix["Repush after CI fix"]
n_done(["Done"])
n_terminateRollbackRequired(["Failed<br/><small>rollback required</small>"])
n_validate --> n_implement
n_implement --> n_review
n_review --> n_checkApproval
n_checkApproval -->|"yes"| n_openPR
n_checkApproval -->|"no"| n_checkReviewLimit
n_openPR --> n_waitForCI
n_checkReviewLimit -->|"yes"| n_terminateReviewFailed
n_checkReviewLimit -->|"no"| n_reviewFix
n_waitForCI -->|"received"| n_checkCI
n_waitForCI -->|"timed out"| n_terminateCITimedOut
n_reviewFix --> n_review
n_checkCI -->|"yes"| n_waitForStaging
n_checkCI -->|"no"| n_checkCILimit
n_waitForStaging -->|"received"| n_checkStaging
n_waitForStaging -->|"timed out"| n_terminateStagingTimedOut
n_checkCILimit -->|"yes"| n_terminateCIFailed
n_checkCILimit -->|"no"| n_fetchLogs
n_checkStaging -->|"yes"| n_waitForMonitoring
n_checkStaging -->|"no"| n_terminateStagingFailed
n_fetchLogs --> n_ciFix
n_waitForMonitoring -->|"received"| n_checkMonitoring
n_waitForMonitoring -->|"timed out"| n_terminateMonitorTimedOut
n_ciFix --> n_repushAfterCIFix
n_checkMonitoring -->|"yes"| n_done
n_checkMonitoring -->|"no"| n_terminateRollbackRequired
n_repushAfterCIFix --> n_waitForCI
class n_waitForCI,n_waitForStaging,n_waitForMonitoring wait
Maturity: built from the flagship steps
Section titled “Maturity: built from the flagship steps”Ships as a built-in template and reuses the engineering steps the flagship flow runs. This particular arrangement of them is not separately exercised end to end against a real repository. See product overview §8.
Use it
Section titled “Use it”Every built-in template is seeded into the workflow library and can be cloned, edited on the visual canvas, and versioned — see architecture for the node types. The spec lives in packages/shared/src/workflow/templates/stagedDeploySignals.ts.
© 2026 Jorge Barnaby
Source-available under FSL-1.1-MIT