Repository navigation
ci: tag-on-merge on pr-validator completion (corrected RCA — auto-merge commits are run-suppressed) - #9
Conversation
…aky cron RCA: tag delivery was driven entirely by GitHub's best-effort cron (measured 21-44 min gaps vs the configured 15; PR #3's tag 4+ h late; PR #7's tag still missing 30 min after merge). The pull_request:closed trigger added in PR #4 never fired a single run (0 runs across 7 merges, API-confirmed), and the earlier workflow_run design died 15x in a row with startup_failure. The one trigger that demonstrably fires at merge time is the push to main that IS the squash-merge (verify.yml push runs arrive ~20s after each merge). Re-trigger on push: branches: [main]; the org reusable workflow is idempotent, so the CHANGELOG bot push re-trigger is a cheap no-op sweep.
The push-only trigger shipped in #8 was based on a false premise: the verify.yml 'push' runs cited were changelog-bot commits, not merge pushes. Measured reality: native-auto-merge merges (actor app/github-actions) fire their webhook events (visible in the public event stream) but GitHub Actions creates ZERO workflow runs for them — platform-level run suppression. The pull_request:closed trigger never fired either (0 runs in history). The only trigger whose event delivery is proven is workflow_run on the pr-validator run — the run that arms the auto-merge. This fires on its completion, waits (bounded) for the squash merge to land, then runs the org's idempotent tag-on-merge sweep. push remains as a secondary trigger for human/bot pushes (which do create runs). No cron: measured delivery was 21-44 min late.
Keep the workflow_run + push design (this PR's corrected RCA); PR #8's push-only trigger was based on a disproven premise and is superseded.
Review — PASSHead SHA: Security screen: PASS — single-file CI workflow change; no scope mismatch vs body; Checklist: All applicable rules PASS or NA (R1 RCA'd with live event-stream/runs-API evidence and no forbidden framing; R2 pending tags routed to this PR's mechanism; R4 probe is a bounded wait for a guaranteed state, not a retry-on-flake; R5 push retained only as a justified secondary path; R10 evidence internally consistent and reconcilable from the diff; tier Verdict: PASS deepseek.com/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — single-file CI workflow change, fully accounted for in the body; Checklist: All applicable rules PASS or NA.
Verdict: PASS deepseek.com/deepseek-v4-flash — pi-review-action. |
`task sync`, not a hand-pin. Three gitlinks advance, and only three: charly a8875f4b -> 0e4d026d (its default branch, rolling) distro-omarchy 2f5e5c1b -> db2199a9 (policy B: exactly what charly pins) marketplace db0593e5 -> 11380419 (its own default branch) Policy B verified independently of the script rather than taken on trust: the new charly pin's own box/omarchy gitlink is db2199a9, and that is what distro-omarchy is staged at. The invariant is that a distro pin equals THE COMMIT CHARLY PINS — not that submodule's latest main, which is a different and wrong comparison. ## What it brings in distro-omarchy #8 the omarchy beds assert through typed verbs, not shell #9 upstream's system and cups acceptance suites, ported charly #497 the plugin-vm pin that made `vm build omarchy-vm` possible at all #498 repins the four check verbs that gained fields #499 advances box/omarchy to the above marketplace #255 projects the moved wl skills and the new omarchy skills check-omarchy-iso-vm goes from 28 assertions to 52, and from 43 `command:` shell steps across three beds to 4 in this one. ## How tested $ task verify check-policy-b: OK — 6 distro pins equal charly's gitlinks verify-pins: OK — 349 submodules, policy B holds [exit 0] One thing worth recording, because it cost time and looks like a defect when it is not: after `task sync` the umbrella reported `Mm charly` — a DIRTY submodule, which fails verify and is a review blocker. It was not dirt. charly's own inner `box/omarchy` gitlink had moved to db2199a9 in #499, while the working checkout was still at 2f5e5c1b, and `git submodule update --recursive` could not move it until the inner clone had fetched the new commit. `git -C charly/box/omarchy fetch origin main` then checking the pinned commit out directly resolves it, after which charly is clean and verify passes. The bed itself was proven on the exact distro-omarchy commit this pins, in opencharly/distro-omarchy#9: `check-omarchy-iso-vm` (`disposable: true`) at `PASS (steps=9)`, with check-live and check-live-rebuild both at `52 steps: 52 passed, 0 failed, 0 skipped`. Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3 Co-authored-by: atrawog <[email protected]>
…verbs (#92) Produced by task sync, not hand-pinned. Four gitlinks: charly a5fdeec1 -> 0f18d857 (its default branch) distro-omarchy 2081960d -> 77df17b6 (policy B: exactly what charly pins) pod-hyprland advanced to c29ed062 layer-cstream-desktop advanced to 54b47273 Policy B verified independently of the script: distro-omarchy's pin equals THE COMMIT CHARLY PINS at box/omarchy, not distro-omarchy's latest main. ## What it brings in distro-omarchy #12 upstream omarchy's five GUI acceptance suites - session, apps, menu, panels, shell-surfaces - taking check-omarchy-desktop-vm from 16 steps to 99, every assertion a typed check verb plugin-wl #9 wl exec and wl clipboard set never returned for commands that do not exit; both reported failure for operations that had succeeded pod-hyprland #9 with layer-cstream-desktop #11 and layer-omarchy-hyprland #4 - the four ordered repins that kept plugin-wl at ONE version across the closure charly #511 the box/omarchy gitlink and import pin The wl defects are the substantive ones. exec backgrounded a job but the child inherited stdout and stderr, so the capture pipe never reached EOF and the verb blocked for its whole deadline - an app launched, mapped its window and closed on request while the verb that started it reported DeadlineExceeded. wl-copy does the same, because it stays alive to own the Wayland selection. A false FAIL for correct behaviour is the worst shape a check verb can take: it teaches the author to widen the timeout or delete the step. ## Why only four gitlinks and not the 14 task sync moved task sync advances EVERY submodule to its default-branch HEAD, and this run moved 14. The other 10 are unrelated to this work and #66 is in flight covering that ground. The four committed here are the values task sync produced - not hand-picked - and they are exactly what Policy B requires. The remaining 10 are left to #66 rather than raced. ## How tested task verify check-policy-b: OK - 6 distro pins equal charly's gitlinks verify-pins: OK - 356 submodules, policy B holds exit 0 Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3 Co-authored-by: atrawog <[email protected]>
…rge (v2026.287.2003) charly-registry#10 (WS3 PART 2, the read-only serving leg) merged at 2026-10-14T20:03:15Z, squash 848017c778dd52dfb00b269a1583ca8000cf872c, tag v2026.287.2003. This advances the gitlink from the #9 merge (2b9b55f) to that merge, per Part II #3 — a merged ref, so the pin stays Policy B-legal. Self-verifying fence: the tag commit tree is 9c16a212f3d95f537adb961e34eaf7f37b72809f — the SAME tree the serving leg validated on its own branch. A squash means the branch commits are not ancestors, so the tree hash is the only fence that proves what landed is what was proven, and it matches. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
…26.287.2003 merge) + its org-map row (#482) * chore(umbrella): add the charly-registry submodule at v2026.287.1823 + its org-map row `opencharly/charly-registry` is not in the umbrella at all (no `.gitmodules` entry, no directory), so the repo is invisible in the org map. This adds it as the ADDITION it is: - `.gitmodules`: path `charly-registry`, url https://github.com/opencharly/charly-registry - gitlink pinned to the MERGED ref 2b9b55f (the merge of charly-registry#9) - README `### Plugins`: the row, placed by ROLE (it hosts a candy with a `plugin:` block serving `command:registry`, like plugin-oci and plugin-vm), the section claim 118 -> 119, and the header total 428 -> 429. Rows are NAME-sorted (a `-suffix` row must follow its shorter sibling, which is why the insertion was asserted before the gate was run). Gates: `charly task org-map` PASS (1 step, 0 failed). `charly task verify`: see the PR body. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * chore(umbrella): advance the charly-registry gitlink to the PART 2 merge (v2026.287.2003) charly-registry#10 (WS3 PART 2, the read-only serving leg) merged at 2026-10-14T20:03:15Z, squash 848017c778dd52dfb00b269a1583ca8000cf872c, tag v2026.287.2003. This advances the gitlink from the #9 merge (2b9b55f) to that merge, per Part II #3 — a merged ref, so the pin stays Policy B-legal. Self-verifying fence: the tag commit tree is 9c16a212f3d95f537adb961e34eaf7f37b72809f — the SAME tree the serving leg validated on its own branch. A squash means the branch commits are not ancestors, so the tree hash is the only fence that proves what landed is what was proven, and it matches. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * revert(umbrella): restore the charly gitlink to the base value (R6/T3 scope) Round-3 BLOCK findings 1 and 2: the branch diff advanced the charly gitlink, which this PR does not describe. The bump came from a charly task sync PREVIEW run, and while I unstaged it before the second commit, the FIRST commit had already carried it -- "unstaged" was a claim about the index at a moment, not about the commit. This restores charly to the base value, so the diff path set is exactly the three paths this PR is about: .gitmodules, README.md, charly-registry. Any advance of charly belongs to the wave pin-sync PR, where task sync selects the set. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) --------- Co-authored-by: Andreas Trawoeger <[email protected]>
…er (#550) `charly task sync` on a fresh `origin/main` branch, charly rolling first and its consumers following in the same wave. Eleven gitlinks advance; `pod-openwebui`, `pod-immich`, `layer-python` and `marketplace` are the consumer side of this session's merged PRs, and `charly` carries the two core fixes they depend on. charly 42715ee9 -> f326e7c6 (incl. #1002 welded words, #1004 leaf cap) docs d67d25de -> c626e336 dotgithub 0d89ea5a -> 5103558c layer-charly-check 79e6cdde -> cbd44f22 layer-python 869d9f8c -> 4dc08885 (#9 interpreter floor check) marketplace c0d4003e -> cd0f34f2 (#517 corpus regeneration) plugin-box ac7fa3f5 -> 94749c07 plugin-migrate a954fc5a -> 9088eb2b pod-immich 65a6b926 -> e3ff38d6 (#10 immich consumer comments) pod-openwebui c131df9f -> dd266822 (#15 entrypoint provider fix + checks) sdk de254392 -> 7b8c9297 No `distro-*` row moves: they are edges derived from `charly`'s `box/*` gitlinks, and this bump did not move those, so Policy B is satisfied without touching them. Two things the wave surfaced, recorded here rather than left for the next reader: 1. The umbrella's OWN pinned binary cannot load the current project. `./charly/bin/charly` (2026.281.1057, built from the gitlink this commit advances) fails with `plugin_input fails #SkillInput: #SkillInput.description: incomplete value !=""` on `layer-openclaw`'s skill entity. The wave was therefore cut with a binary built from `charly` main (2026.293.1538). That is precisely the argument for `charly` rolling first in a wave — and for rebuilding the umbrella binary once per advance. 2. Four untracked directories exist in this checkout — `layer-charly-openclaw/`, `layer-openclaw-full/`, `layer-openclaw-full-ml/`, `pod-openclaw/` — each holding content and a `.git`, but absent from `.gitmodules` on `main`. They are NOT staged by this commit; adding them would have created four accidental gitlinks. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
… releases land (#1274) `charly task sync` on a tree current with origin/main (7f11b25): 74 leaf submodules rolled to their default-branch HEAD (11 moved), 321 leaf pins advanced in the index (11 moved) — 22 pins total. The five distro-* pin_map edges were re-pinned from charly's own gitlinks and did not move. Two of the moves are what this wave is for (#1273): sdk 2bfea23e -> dd87eb2c sdk#640 — a unit never runs as container root plugin-deploy-pod c87f056c -> c10caae #97 — a CDI device rides a keep-id unit via a derived devices-only spec; #95 writes the deploy entry's image before any overlay write The other 20 travelled on the same mechanism, each a merged upstream PR: charly #1275, layer-cdi #20, layer-vectorchord #13, marketplace #652, plugin-enc #11, pod-charly-mcp #15, pod-immich #23, pod-qwen3-tts #15/#13, spec #440, plus eleven unmaterialized paths advanced in the index (layer-devops-tools #8, layer-ollama-cuda #11, layer-ollama-rocm #9, layer-pre-commit #9, layer-versatiles-style #7, pod-airflow #15, pod-android-emulator-layer #21, pod-appium-server #9, pod-dbus #8, pod-jupyter-ml #15, pod-pmtiles-viewer #7). The plugin-deploy-pod advance moved engineDefaultRuntime from engine_ops.go:139-146 to 129-136, out from under the citation DESIGN A.13 records for "containerd namespace per deployment" (design/dulling.tsv). The row is re-anchored to the construct's new range and design/cite-baseline.tsv regenerated for that one row; the construct read at the new pin is the same one, and the regenerated baseline changes no other row. Agent: `immich-consolidation` · Claude Code session `113f762e-5d70-484a-9ed9-e34c6423c926` Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
Summary
Corrects the tag-on-merge trigger design. PR #8's push-only trigger was based on a false premise; this PR replaces it with the one event whose delivery is proven in this repo —
workflow_runon the pr-validator run that arms the auto-merge — pluspushas a secondary path for human/bot pushes. No cron.RCA — why the merge itself cannot be the trigger (measured):
The merge-into-main cannot be a GitHub Actions trigger for auto-merged PRs. Native-auto-merge squash merges (actor
app/github-actions) do fire their webhook events — visible in the public event stream:…but GitHub Actions creates zero workflow runs for them (platform-level run suppression for auto-merge commits):
This is the same mechanism that made
pull_request: closednever fire (0pull_request-event runs in the workflow's entire history across 7 merges) and is why PR #8'son: pushtrigger produced nothing for PR #8's own merge. Human merges (PRs #1–#2) and bot contents-API commits (the changelog commits) do create runs — hencepushis retained as a secondary trigger for those paths.The cron was also unreliable: measured 21–44 min gaps vs the configured 15, PR #3's tag 4+ h late. This design has no cron.
The working design: the pr-validator run is the last actor before the merge (its final step arms native auto-merge). Firing
workflow_runon its completion and waiting (bounded 5 min readiness probe) for the squash to land makes the merge the effective gate for tagging. The org's reusable sweep is idempotent and scans 24 h of merged PRs, so any timeout self-heals on the next validator completion. The rulebook's add-only backfill remains the documented failure path.How tested
feat/tag-on-merge-workflow-run@3af8b49):workflow_runtrigger → the sweep backfills the two pending tags —v2026.234.2108(PR fix: escape backticks in umbrella-gates rules template (pi extension parse error) #7) andv2026.234.2135(PR ci: tag-on-merge via push-to-main (replace dead closed trigger + flaky cron) #8) — plus their CHANGELOGs, and tags this PR. Verified after merge; watched forstartup_failure(the historical 12:12–12:51Z failures died on a workflow-file issue at startup — logs were unavailable retroactively, so the first live event is the proof).Rulebook compliance
v2026.234.2108/v2026.234.2135tags are fixed by this design (backfilled on the first validator completion after merge)git statuschecked before branching; no force-push, no direct push to maintask verify+task harnessgreen (pasted above).github/workflows/not in the parity map;task harnessconfirms the 6 shared files unchangedChange classification
task verify(R7) + live event evidence (public PushEvent vs zero runs) + post-merge self-validationanalysed on a live system— trigger behavior measured live (event stream + runs API, output retained); the full end-to-end gate (merge → tag → changelog) completes after merge, sofully tested and validatedis claimed once the backfill is observedAssisted-by: pi deepseek/deepseek-v4-flash (analysed on a live system)