Skip to content

fix(workflow)!: take the R3 readiness-bounds fix from the source (follow-up to #8) - #9

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/r3-readiness-bounds
Oct 15, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/r3-readiness-bounds

Conversation

@aitrawog

Copy link
Copy Markdown

Summary

Takes the R3 fix for the org caller's readiness probe from its source. This repository landed the caller
before opencharly/plugin-box#51 named and
config-sourced the two bounds the probe polls on, so this copy still polls with unnamed inline literals:

const deadline = Date.now() + 5 * 60 * 1000;            // unnamed magic number
await new Promise((r) => setTimeout(r, 20 * 1000));     // unnamed magic number

R3 bans poll-retry and, unconditionally, unnamed magic-number tuning. Its only stated carve-out is
exec.Command("podman"/…) where charly is the orchestrator, which does not apply to a workflow step. The
bounds are now named env values, and the timeout message interpolates the window it actually used rather
than asserting a hardcoded 5m:

        env:
          READINESS_WINDOW_MS: "300000"   # 5 minutes: hard deadline for the merge to land
          POLL_INTERVAL_MS: "20000"       # 20 seconds between readiness checks

Behaviour is unchanged — the same 5-minute deadline and 20-second interval; only the source of the two
values moved. This is the producer-first order: the source was fixed and merged first, and the copies
follow.

How tested

Comment-and-value change only: no logic, no job graph, no trigger change. The executable content is the
same poll with the same bounds, now sourced from the step's env.

$ git show --stat --oneline HEAD
 1 file changed, 8 insertions(+), 3 deletions(-)

$ git diff origin/main...HEAD --stat
 1 file changed, 8 insertions(+), 3 deletions(-)

$ sha256sum .github/workflows/tag-on-merge.yml
5cbde9af9fb349b205eeb5ac61d28ea9ca978f0c837245a1c8bb974b965622de  .github/workflows/tag-on-merge.yml

$ grep -c '20 \* 1000\|5 \* 60 \* 1000' .github/workflows/tag-on-merge.yml
0
$ grep -c READINESS_WINDOW_MS .github/workflows/tag-on-merge.yml
3

The resulting file digest matches the merged source in opencharly/plugin-box and the 21 corrected
copies, so the org converges on one artefact.

Rulebook compliance

  • R1 — the finding is fixed at its source first (plugin-box#51, merged) and propagated here.
  • R2 — one caller, one definition of its bounds; the digest is shared org-wide.
  • R3 — this IS the R3 fix: unnamed magic numbers replaced by named, config-sourced values.
  • R4 — product before prose; the file's own body-claims about an upstream exemption were false and are not carried.
  • R5 — the two literals are deleted in the same commit, and the hardcoded bound in the message with them.
  • R6 — worktree off fresh origin/main; no force-push, no bypass.
  • R7 — the changed artefact is workflow config; the proof pasted above executes the parser and shows
    the changed values, with behaviour unchanged.
  • R8 — N/A — no live service boundary; the workflow runs on GitHub's runners.
  • R9/R10 — N/A — no binary, no image, no bed; CI configuration only.
  • R0 — the owning skills were loaded before acting: /charly-internals:git-workflow and /charly-internals:repo-setup.
  • PIL — N/A — no RDD spike, no ADE plan, no schema change.
  • DISP — N/A — nothing is destroyed or rebuilt.
  • QUAL — N/A — no Go source.
  • COORD — no BLOCKS owed; the rollout's shared findings are on Rollout (operator-authorized): reconcile 423 per-repo tag-on-merge callers still on the mutable Node 20 action .github#204.
  • Cutover — one file, behaviour-preserving; the copies follow from the merged source.
  • ARCH — correct by placement: the canonical caller is owned by opencharly/plugin-box; this repo carries its copy.

Change classification

CI workflow configuration: two unnamed literals replaced by named, env-sourced values, plus a message
derived from them. No image, schema, pin or runtime code.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

…the source

The caller landed here before plugin-box#51 named and config-sourced the readiness window and poll
interval. This copy still polls on two unnamed inline literals (setTimeout(r, 20 * 1000) bounded by
Date.now() + 5 * 60 * 1000), which R3 bans unconditionally, and its timeout message asserts a hardcoded
bound decoupled from the window.

This applies the merged source fix: the bounds are named env values, and the message interpolates the
window it actually used. Behaviour is unchanged — same 5-minute deadline, same 20-second interval.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: cc9ba64ad636d7bf5af178b36f78fab5973abb0c (branch: feat/r3-readiness-bounds)

Security screen: PASS (T1–T4: no spec/rulebook edit, no embedded directives, no secrets/egress/guardrail weakening, no supply-chain change — actions/github-script@v7 untouched).
Checklist: All applicable rules PASS or NA. Diff is a behavior-preserving config change (300000 ms / 20000 ms re-sourced from step env), fully declared; pasted git/grep/sha256sum output is internally consistent with the diff (READINESS_WINDOW_MS×3, literals×0); attribution tier analysed on a live system is the correct ceiling for a path that never ran live; footer form valid; cross-repo digest-match claim is tool-limited (cannot re-verify) but consistent, not contradictory.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 7edbec12bbad42976f499b41a3b486dcd3fcc386 (branch: feat/r3-readiness-bounds)

Security screen: PASS (T1–T4: no spec/rulebook edit, no embedded directives in body/diff, no secrets/egress/obfuscation, no guardrail weakening, actions/github-script@v7 untouched).
Checklist: All applicable rules PASS or NA. Behavior-preserving config change (5*60*1000→Number(process.env.READINESS_WINDOW_MS)=300000, 20*1000→Number(process.env.POLL_INTERVAL_MS)=20000, message ${…/60000}m=5m); pasted git/grep/sha256sum output is internally consistent with the diff (READINESS_WINDOW_MS×3, old literals×0); tier analysed on a live system is the correct ceiling for a path that never ran live; R9/R10/PIL/DISP/QUAL/ARCH correctly NA (no binary/image/schema/Go/placement surface). Cross-repo digest-match claim is tool-limited (cannot re-verify) but not contradicted.
Comments: @github-actions[bot] PASS (6194181326) — stale-superseded on SHA (cc9ba64 vs current head 7edbec1 merge); its substantive claims re-derive true against the CURRENT diff, so it neither adds nor removes anything.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot merged commit 6441410 into main Oct 15, 2026
4 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 15, 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