Dashboardcraftci-poller subshell continue fallthrough

ci-poller subshell continue fallthrough

Category: gotcha
Confidence: 1.00
ID: 01a07f3c-2300-7f29-8e55-47e01874571b
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: 00I9nKnPOSmFNVVKR
Created: 2026-09-08 03:25:29
Updated: 2026-09-08 04:17:22

Content

Trap: wrapping each CI-poller iteration in a subshell looks ideal for per-issue EXIT cleanup, but continue is no longer inside the enclosing while; Bash errors, then later commands can edit with invalid data. Fix: use exit 0 for intentional per-issue skips inside the subshell, and reserve continue for the outer loop. Keep the per-issue trap and regression-test that every resolver/decode failure skips gh issue edit.

Move to: