fix: bug: deploy.sh 360s still too tight for chat cold-start + cascade-skip masks edge/vault-runner (#1070) #1071
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#1071
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-1070"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1070
Changes
AI Review
Summary\n\nTwo independent bugs fixed cleanly in a single surgical change.\n\nBug 1 — chat cold-start timeout:
JOB_READY_TIMEOUT_CHAT=600is set at line 41 and picked up by the existing indirect-expansion override at line 189 (${\!timeout_var:-$JOB_READY_TIMEOUT_SECS}). The mechanism was already correct; this adds the missing built-in default.\n\nBug 2 — cascade-skip on timeout:die(which exits immediately) is replaced with a warning log + append toFAILED_JOBS. All remaining jobs are submitted. The deferred summary block exits 1 if any jobs failed — contract preserved.\n\n### Verification\n\n- infodeploy.sh:189: Indirect expansion${\!JOB_READY_TIMEOUT_CHAT}correctly resolves to 600 for thechatjob. ✓\n- infodeploy.sh:218-220:nomad job run -detachfailures stilldieimmediately — intentional, submission failure is unrecoverable. ✓\n- infodeploy.sh:229-244: Dry-run path sets no FAILED_JOBS entries; health summary block sees empty array and falls through toexit 0. ✓\n-set -euo pipefailcompatibility: array init, append, and length check are all safe. ✓Verdict
APPROVE — Chat 600s timeout wires correctly via existing per-job override; cascade-skip replaced with collect-and-report pattern; exit 1 deferred correctly to end; dry-run unaffected.
Reviewed at
d1a026c| AGENTS.mdAI Review: APPROVE — Chat 600s timeout wires correctly via existing per-job override; cascade-skip replaced with collect-and-report pattern; exit 1 deferred correctly to end; dry-run unaffected.