Repository navigation
fix(ci): tag-on-merge dispatcher — push-to-main trigger (replace dead workflow_run + cron shape) - #158
Conversation
… workflow_run + cron shape) The org-wide tag-on-merge dispatcher in this repo (workflow_run + */15 cron, the shape fixed in opencharly/opencharly#5-era RCA — see the umbrella's CHANGELOG/2026.234.2134) fails at STARTUP in every run: measured 15+ consecutive `startup_failure`s across charly/plugins/docs since 2026-08-22 16:20Z, leaving #375/#376/#377 merged and UNTAGGED (backfilled add-only per the rulebook). The umbrella's replacement dispatcher is proven in production (push to main + workflow_run with a bounded wait-for-merge job, no cron): adopted verbatim. Verified: push-triggered runs land ~21s after the merge push; the org reusable sweep is idempotent; the add-only backfill remains the ultimate path. Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)
Review — PASSHead SHA: Security screen: PASS — single Checklist: All applicable rules PASS or NA.
Verdict: PASS deepseek.com/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — single Verdict: PASS deepseek.com/deepseek-v4-flash — pi-review-action. |
Summary
The tag-on-merge dispatcher in this repo (workflow_run +
*/15cron — the shape replaced in opencharly/opencharly after its own 15×startup_failuresequence, see the umbrella CHANGELOG/2026.234.2134) is dead at startup: measured 15+ consecutivestartup_failureruns across charly/plugins/docs since 2026-08-22T16:20Z, leaving every merge since then UNTAGGED (charly #375/#376/#377 and plugins #223/#224/#225 were backfilled add-only per the rulebook; this fix prevents recurrence). Adopted verbatim is the umbrella's proven event-driven dispatcher:on: pushtomain(the event that IS the squash-merge) +workflow_runoncharly/pr-validatorwith a bounded 5-min wait-for-merge probe, no cron; the org reusable sweep stays idempotent; the rulebook's add-only backfill remains the ultimate path.How tested
The failing shape — executed
gh run list, per repo (pre-fix):The fixed shape — the umbrella's production runs of the EXACT file adopted here:
Live proof of the fix in the org: the plugins leg of this rollout (opencharly/marketplace#226, identical file) merged at 23:46Z; its first post-merge run succeeded and tagged:
Rulebook compliance
Change classification
charly/pr-validator; tag-on-mergeAssisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)