Skip to content

chore: sync gitlinks - #75

Closed
github-actions[bot] wants to merge 2 commits into
mainfrom
sync/20260831-054851
Closed

github-actions[bot] wants to merge 2 commits into
mainfrom
sync/20260831-054851

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated sync of all umbrella submodule pins to policy B (charly's default-branch HEAD + charly's own gitlinks + per-repo default branches).

atrawog and others added 2 commits August 31, 2026 07:30
…hing

The daily sync workflow has been running green and doing nothing. Its change
gate is

    if git diff --quiet; then changed=false

and `git diff` with no revision compares the WORKTREE against the INDEX, while
scripts/sync-gitlinks.sh line 33 does `git add "$path"` for every gitlink it
bumps. A sync that changed something therefore leaves nothing UNSTAGED, the gate
reads changed=false, and the PR step is skipped.

So the automation is a no-op exactly when it has work to do, and reports success
either way. That is why every gitlink sync that has actually landed was opened by
hand.

Measured on run 33360266234 (dispatched 2026-08-31T05:21Z, with three repos
demonstrably drifted): the "Bump pins" step computed the correct new pin —

    == charly (default-branch HEAD) ==
      charly -> 0443e07

— and the run still finished with no PR, leaving the umbrella pinned at 1d0164f0.

The git semantics, reduced to a two-line reproduction:

    (stage a modification, then)
    git diff --quiet          -> 0   "nothing to sync"
    git diff --cached --quiet -> 1   there IS a change
    git diff --quiet HEAD     -> 1   there IS a change

Fix: gate on `git diff --quiet HEAD`, which sees staged and unstaged alike, so a
future change to whether the script stages cannot silently disarm the workflow
again.

Claude-Session: https://claude.ai/code/session_01Gf42A3bau77JigFYLALrnq
@atrawog

atrawog commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Superseded. This PR was produced by dispatching sync.yml from fix/sync-gate-diffs-wrong-thing to prove that branch's gate fix end to end, so its sync branch was cut from that branch and its diff carries the sync.yml change alongside the gitlink bumps — a poor changelog for either concern.

The gate fix has now landed on its own in #73. Re-dispatching sync from main so the next sync PR is gitlinks only.

@atrawog atrawog closed this Aug 31, 2026
@atrawog atrawog mentioned this pull request Aug 31, 2026
github-actions Bot pushed a commit that referenced this pull request Oct 29, 2026
… producers (#796)

The umbrella's own currency report named exactly two paths that were not
current, so the wave is two gitlinks and nothing else:

  docs       cf7e4a132d -> a166ee12d8
  plugin-box 803541c15d -> 6b7a8bc9d8

Both served commits are measured, not asserted. A pin's intent here is
upstream:main, so it resolves to the branch tip, and in this org that tip
is the merge-time record tag-on-merge writes AFTER the merge — the
merge-time tag sits on the squash one commit below:

  docs a166ee12d8       = "docs: add CHANGELOG 2026.302.0032 for PR #198"
                          over tag v2026.302.0032 on d4ead50d (the #198 squash)
  plugin-box 6b7a8bc9d8 = "docs: add CHANGELOG 2026.302.0047 for PR #75"
                          over tag v2026.302.0047 on 876d566d (the #75 squash)

The pins moved by the contract's own verb (charly task sync), the checkouts
were materialized at those pins (charly task init), and the gate judged them
(charly task verify, 46 steps, 0 failed, 0 skipped). After the wave the
product's own report says: 0 of 409 pin(s) NOT current.

Refs #785

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
@aitrawog
aitrawog deleted the sync/20260831-054851 branch November 1, 2026 19:13
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