All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m32s
CD Pipeline / build-and-deploy (push) Successful in 8m2s
CD Pipeline / post-deploy-checks (push) Successful in 2m22s
Restore D037 durable incident readback without weakening database failure semantics. Fence Agent99 dispatch and terminal learning to canonical identities, durable leases, verifier receipts, and reconciler-owned checkpoints. Drain backup and restore legacy receipts in bounded cohorts with strict transport, claim, projection, and no-false-green controls. Keep SSH service refusal visible while separating it from broker network-policy reachability.
15 lines
492 B
PL/PgSQL
15 lines
492 B
PL/PgSQL
-- Durable retry not-before for Agent99 controlled dispatch claims.
|
|
-- Prevents the 15-second reconciler tick from consuming every attempt and
|
|
-- generation while a Redis flight lease or transport cooldown is active.
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE awooop_run_state
|
|
ADD COLUMN IF NOT EXISTS next_attempt_at TIMESTAMP NULL;
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_run_state_retry_due
|
|
ON awooop_run_state (project_id, next_attempt_at)
|
|
WHERE state = 'pending' AND next_attempt_at IS NOT NULL;
|
|
|
|
COMMIT;
|