Skip to content

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

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

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

Conversation

@atrawog

@atrawog atrawog commented Aug 23, 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) + workflow_run on charly/pr-validator with 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):

$ gh run list -R opencharly/charly --workflow=tag-on-merge.yml --limit 3
2026-08-22T23:51:46Z event=workflow_run startup_failure
2026-08-22T23:49:39Z event=schedule       startup_failure
2026-08-22T23:36:08Z event=workflow_run startup_failure
$ gh run list -R opencharly/plugins --workflow=tag-on-merge.yml --limit 3
2026-08-22T23:46:40Z event=workflow_run startup_failure
2026-08-22T23:33:21Z event=schedule       startup_failure
$ gh run list -R opencharly/docs --workflow=tag-on-merge.yml --limit 3
2026-08-22T23:51:38Z event=workflow_run startup_failure
2026-08-22T23:50:19Z event=schedule       startup_failure
2026-08-22T23:47:44Z event=workflow_run startup_failure

The fixed shape — the umbrella's production runs of the EXACT file adopted here:

$ gh run list -R opencharly/opencharly --workflow=tag-on-merge.yml --limit 4
2026-08-22T23:05:44Z event=push           success
2026-08-22T23:05:26Z event=workflow_run   success
2026-08-22T22:05:39Z event=push           success
2026-08-22T22:05:37Z event=push           success

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:

$ gh run list -R opencharly/plugins --workflow=tag-on-merge.yml --limit 1
2026-08-22T23:51:06Z event=workflow_run success
$ git ls-remote --tags https://github.com/opencharly/plugins.git | tail -2
2a0c4c2... refs/tags/v2026.234.2351

Rulebook compliance

Rule How / N/A
R0 git-workflow loaded
R1 RCA documented in the umbrella's CHANGELOG/2026.234.2134 (measured 15× startup_failure of the workflow_run design; cron delivery gaps 21–44 min; push is the deterministic merge event) — propagated here
R2 one file, one PR per repo carrying the dispatcher (charly/plugins/docs companion PRs)
R3 verbatim adoption of the canonical dispatcher — no fork
R4 no workarounds — event-driven design + the rulebook add-only backfill
R5 the dead shape fully replaced (cron removed; no dead trigger remains)
R6 clean feat/ branch off origin/main; no force-push; tags add-only
R7 pasted run lists above; plugins#226 live-success proof
R8 the workflow file IS the artifact; validated byte-identical against the working copy
R9 N/A — no binary
R10 N/A — CI-workflow-only change; the gate is the next merge's tag landing (proven by plugins#226's tag)

Change classification

  • Change class: CI workflow fix (active-gate breaker — no tags since 16:20Z)
  • Verification gate: production-run evidence (umbrella + the plugins leg's live success + tag)
  • Attribution tier: analysed on a live system — identical dispatcher runs live in the umbrella and in plugins with retained 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

Review — PASS

Head SHA: 1a9885923ccb (PR #48, opencharly/spec)

Security screen: PASS — workflow-file-only change; no secrets/exfiltration, no guardrail weakening, no scope mismatch; pull-requests: read is a read-only permission addition; description↔diff fully consistent.

Checklist:

  • A1/A2/A3 — PASS: body accounts for the full diff (cron removed, push trigger, bounded 5-min wait-for-merge probe, pull-requests: read); pasted gh run list + ls-remote evidence for both failing and fixed shapes; tier analysed on a live system is the correct ceiling (this repo's own next merge is unobservable pre-merge per self-install rule); *Assisted-by:* footer present in the required form.
  • R1–R10 — PASS: RCA documented (platform run suppression for auto-merge, measured cron gaps, startup_failure sequence), no forbidden framing; R2 companions named (charly/plugins/docs); R3 verbatim canonical adoption; R4 no ad-hoc workaround (bounded probe has documented timeout + idempotent sweep self-heal); R5 dead shape fully replaced (schedule removed, no dual path); R6/R8 asserted; R9/R10 N/A with reasons; production live proof via plugins#226 tag v2026.234.2351 (internally consistent).
  • Architecture — placement: CORRECT (.github/workflows/ dispatcher delegating to the org reusable sweep; no core/sdk/candy involvement).
  • Comments: none on thread.
  • CI: validate / validate in_progress (not failed); no Go gates apply to a YAML-only change.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 23, 2026 06:33
@github-actions
github-actions Bot merged commit fde5ed1 into main Aug 23, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 1a9885923ccb (PR #48, opencharly/spec — state: closed)

Security screen: PASS — YAML-only workflow change; no secrets/exfiltration; pull-requests: read is a minimal read-only permission addition; actions/github-script@v7 is an official action; the opencharly/.github reusable ref is unchanged; no guardrail weakening (tagging dispatcher restored, not loosened); description↔diff fully consistent (cron removed, push trigger added, 5-min bounded probe, permission).

Checklist: All applicable rules PASS or NA.

  • A1/A2/A3 — body accounts for every diff item with pasted gh run list/ls-remote evidence; workflow-class gate matched by production-run evidence; tier analysed on a live system is not inflated; *Assisted-by:* footer in the required form.
  • R1 — real RCA (platform run suppression for auto-merge, measured cron gaps, 15× startup_failure), no forbidden framing; R2 companions named (charly/plugins/docs); R3 verbatim canonical adoption; R4 bounded probe with documented timeout + idempotent-sweep self-heal (not a flake-masking delay); R5 dead shape fully replaced (no schedule reference remains in the file); R6/R8 asserted; R9/R10 N/A with reasons; live proof via plugins#226 v2026.234.2351 internally consistent.
  • Architecture — placement: CORRECT (dispatcher in .github/workflows/ delegating to the org reusable sweep; no core/sdk/candy involvement; no alias files, no sdk imports).
  • Comments: one prior PASS review — independently re-verified, no surviving issue.
  • CI: validate / validate in_progress (not failed); no Go gates apply to a YAML-only change.

Verdict: PASS


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

View action run

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:09
charly-auto-merge Bot added a commit that referenced this pull request Sep 25, 2026
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