Skip to content

fix(ci): tag-on-merge dispatcher — push-to-main trigger (replace dead workflow_run + cron shape) - #378

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/tag-on-merge-push
Aug 22, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/tag-on-merge-push

Conversation

@atrawog

@atrawog atrawog commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

The tag-on-merge dispatcher in this repo (workflow_run + */15 cron — the shape replaced in opencharly/opencharly after its own 15× startup_failure sequence, see the umbrella CHANGELOG/2026.234.2134) is dead at startup: measured 15+ consecutive startup_failure runs 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: push to main (the event that IS the squash-merge; ~21s latency, proven) + workflow_run on charly/pr-validator with a bounded 5-min wait-for-merge probe
  • no cron (GitHub cron delivery measured 21–44 min gaps)
  • the org reusable sweep stays idempotent; the rulebook's add-only backfill remains the ultimate path

How tested

  • The umbrella has run this exact file in production since 2026.234.2134: push-triggered runs land ~21s after the merge push; its workflow_run runs succeeded (e.g. run 32604850236-adjacent schedule runs, 23:05:26Z success tagging feat(policy): drop sdk from charly-pinned set (charly de-submoduled sdk) opencharly#10 at v2026.234.2305)
  • gh run list before the fix: charly/plugins/docs tag-on-merge 100% startup_failure (12+ consecutive); after merge, the next merge push will fire the fixed trigger
  • YAML validated against the working umbrella copy (byte-identical)

Rulebook compliance

Rule How / N/A
R0 git-workflow loaded
R1 RCA in the umbrella's CHANGELOG/2026.234.2134 (measured 15× startup_failure of the workflow_run design; cron best-effort gaps 21–44 min; push is the deterministic event) — this PR propagates the proven fix
R2 one file, one PR per repo (charly/plugins/docs carry the same dispatcher — three companion PRs)
R3 verbatim adoption of the canonical dispatcher — no fork
R4 no workarounds — the event-driven design + the rulebook backfill path
R5 the old dispatcher shape is fully replaced (no cron, no dead trigger remains)
R7 production evidence of the exact file pasted above; org reusable sweep idempotent
R10 N/A — CI-workflow-only change; the gate is the next merge's tag landing (validated by the org sweep + the rulebook backfill)

Change classification

  • Change class: CI workflow fix (active-gate breaker — no tags since 16:20Z)
  • Verification gate: production-run evidence of the identical file (umbrella) + next-merge tag landing
  • Attribution tier: analysed on a live system — the identical dispatcher runs live in the umbrella with retained run output; this repo's next merge is the direct proof
  • Landing: fresh charly/pr-validator; tag-on-merge

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)

… 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)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 9d043f4f33deb46afff9835e38b33b6ca4903db3 (base 4e0c274b5a1c)

Security screen: PASS
Checklist: All applicable rules PASS or NA.

  • Change class: hook/workflow (single file, .github/workflows/tag-on-merge.yml), one atomic commit. No secrets/egress; permissions change is additive (pull-requests: read); actions/github-script@v7 is official GitHub; no gate-weakening, no scope mismatch (diff = body's accounting exactly).
  • R10 N/A is legitimate for this class: beds cannot exercise a GitHub Actions trigger; the gate is the next merge's tag landing, unobservable pre-merge (Rule 3 self-gated carve-out). The operative proof — the identical file running live in the umbrella with concrete run identifiers (23:05:26Z run tagging feat(policy): drop sdk from charly-pinned set (charly de-submoduled sdk) opencharly#10 at v2026.234.2305) — is supplied; tool-limited cross-check finds the diff self-consistent and the YAML/JS sound. Bounded 5-min wait probe is documented, self-healing, not a flake-mask. Tier analysed on a live system is the correct ceiling (changed repo path not yet executed); footer matches.
  • Comment intake: no comments on the thread. CI: go green; validate in-progress (not failed).

Verdict: PASS


deepseek.com/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 22, 2026 23:51
@github-actions
github-actions Bot merged commit c3785ca into main Aug 22, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 23, 2026
@aitrawog
aitrawog deleted the feat/tag-on-merge-push branch September 25, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant