Skip to content

chore(deps): adopt sdk v0.2026331.2334 (account created by NAME, not uid) - #1313

Merged
github-actions[bot] merged 5 commits into
mainfrom
fix/sdk-2334
Nov 28, 2026
Merged

github-actions[bot] merged 5 commits into
mainfrom
fix/sdk-2334

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bumps the shared github.com/opencharly/sdk pin from v0.2026331.2149 (the base main carried when this branch was rebased onto it) to v0.2026331.2334 — the release carrying the fix for #1309: the emitted bootstrap now creates the account the image DECLARES (getent passwd <name>), instead of asking whether uid 1000 was free and then declaring USER user by name anyway.

That mismatch is what made an image unexecutable — Error: unable to find user user: no matching entries in passwd file — whenever the base already owned uid 1000 under another name, which also failed the agent channel's terminal:tmux round-trip (opencharly/distro-arch#86, successor of the auto-closed #85) and the post-charly update overlay step of check-pod-overlay.

Four modules move together (the contract test TestContractPinsMatchShared requires it):

charly/go.mod                          github.com/opencharly/sdk v0.2026331.2334
tools/generate-packages/go.mod        github.com/opencharly/sdk v0.2026331.2334
tools/golden-cloudinit/go.mod         github.com/opencharly/sdk v0.2026331.2334
tools/golden-compile/go.mod           github.com/opencharly/sdk v0.2026331.2334

Closes #1309

How tested

$ git worktree add --detach <scratch> origin/main          # the CURRENT base
$ cd <scratch>/charly && grep -n 'opencharly/sdk v' go.mod
71:	github.com/opencharly/sdk v0.2026331.2149
$ go get github.com/opencharly/[email protected] && go mod tidy
go: upgraded github.com/opencharly/sdk v0.2026331.2149 => v0.2026331.2334
71:	github.com/opencharly/sdk v0.2026331.2334

The same go get + go mod tidy ran in tools/generate-packages, tools/golden-cloudinit and tools/golden-compile, and this branch carries the identical result for all four (git diff origin/main...HEAD -- charly/go.mod):

-	github.com/opencharly/sdk v0.2026331.2149
+	github.com/opencharly/sdk v0.2026331.2334

Gate on the CURRENT head 61c0cf99 (re-run after the branch was updated onto the newest main)

$ cd charly
$ GOWORK=off go build ./...     build_exit=0
$ GOWORK=off go vet ./...       vet_exit=0
$ GOWORK=off go test ./...      → 0 failures
$ for m in tools/generate-packages tools/golden-cloudinit tools/golden-compile; do (cd $m && go test ./...); done
  → 0 failures in each
$ grep -m1 'opencharly/sdk v' charly/go.mod
	github.com/opencharly/sdk v0.2026331.2334     (HEAD 61c0cf99)
$ go test ./... -run TestContractPinsMatchShared -v   (tools/gomod-canonical)
--- PASS: TestContractPinsMatchShared (0.00s)
$ bash scripts/check-pin-currency.sh
PIN-CURRENCY-PROOF-OK

The hosted checks agree on this head: go SUCCESS, pin-currency SUCCESS, validate/lint SUCCESS.

What the pinned release fixes (proven producer-side on opencharly/sdk#657, PASS and merged as f33160d5):

  • shadow-utils: guard on the declared name; group guard accepts an existing group of that NAME at any gid; four measured forms (-g GID, -o -g GID, -g NAME, -o -g NAME);
  • busybox: three measured forms (-u UID, group-free, -G NAME);

with four live emitted-block executions (uid taken; group user at gid 2000; busybox uid taken; busybox group pre-existing) and three red arms that fail on an emitter without each form.

Bed evidence — the reason this bump exists

A charly built against that SDK (two-module workspace, calver 2026.331.2116) ran check-tmux-pod, the bed that had been failing agent channel: FAIL terminal:tmux:

[image-build]         PASS 2m4.201s
[check-image]         PASS 17.402s
[deploy-add]          PASS 21.799s
[config]              PASS 7.432s
[start]               PASS 6.406s
[check-live]          PASS   [tmux-roundtrip] exit=0 · 23 steps: 20 passed, 0 failed, 3 skipped
[feature-run]         PASS 6.754s
[update]              PASS 23.008s
[rebuild-ready]       PASS 1.452s
[check-live-rebuild]  PASS 2m9.044s
[feature-run-rebuild] PASS 6.323s
[cleanup]             PASS 3.358s
[cleanup-members]     PASS 0s
PASS (steps=16, skipped_checks=12)        bed_exit=0

After this bump merges, that same bed is re-run from a charly built off main and pasted on opencharly/distro-arch#86, which is what lets that PR land and close opencharly/distro-arch#75. Coordination: this PR holds #86 (HOLDING here, WAITING there).

Rulebook compliance

Change classification

Dependency pin bump across four Go modules. No schema, no wire type, no behavior emitted by this repo itself — it adopts the producer's behavior fix.

Agent: jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5 · OpenCode session ses_de3fa473bffeFiBo62whHxDPE5

Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)

…uid)

The pinned sdk emits the bootstrap account step guarded on the DECLARED
NAME, so the account the image goes on declaring (USER user) is the account
that exists. Before it, a base whose uid 1000 belonged to another account
produced an image that no podman exec could enter:

  Error: unable to find user user: no matching entries in passwd file

Four modules move together (TestContractPinsMatchShared requires it):
charly, tools/generate-packages, tools/golden-cloudinit, tools/golden-compile.

Proven consumer-side before this bump: a charly built against the SDK ran
check-tmux-pod green ([tmux-roundtrip] exit=0, 23 steps: 20 passed, 0 failed,
bed_exit=0), the bed that had been failing agent channel: terminal:tmux.

Closes #1309

*Agent: `jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5` · OpenCode session `ses_de3fa473bffeFiBo62whHxDPE5`*

*Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)*
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: c350692bc5c87989307fe76230df0915db9a71f3 (branch: fix/sdk-2334)

Change class: dependency pin bump — four Go modules (go.mod + go.sum), no code/schema.

Security screen: PASS — no injected directives, no secrets/exfiltration, no scope mismatch (diff is exactly the four pins + sums), no guardrail weakening; the sdk pin move is the expected supply-chain change and the new go.sum hashes are internally consistent (source h1: changes, /go.mod hash unchanged).

Blocks

  1. COORD — required coordination comment is absent. The body explicitly establishes a blocking relationship: "After this bump merges, that same bed is re-run … pasted on fix(bed): declare a timeout on check-tmux-pod's tmux-roundtrip probe distro-arch#85, which is what lets that PR land and close check-tmux-pod: tmux-roundtrip needs ~123 s against a 120 s never-hang ceiling (~20 charly calls × 5.6 s project resolve) distro-arch#75." That states this PR (charly#1313) blocks opencharly/distro-arch#85. COORD requires a WAITING/HOLDING comment naming both sides on both threads when the body shows a blocking relation. This thread has 0 comments, so the required coordination comment does not exist. Add one here (first non-blank line must be exactly the closed-set label, then name charly#1313 and opencharly/distro-arch#85) and confirm the counterpart on distro-arch#85.

Verdict: BLOCK


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

View action run

@aitrawog

Copy link
Copy Markdown
Contributor Author

HOLDING

This PR holds opencharly/distro-arch#86 (successor of the auto-closed #85).

#86 carries the one-line check-tmux-pod timeout fix and Closes opencharly/distro-arch#75; its green bed proof runs on a charly built GOWORK=off from the tree that pins the released sdk v0.2026331.2334 — i.e. the tree this PR produces. So the consumer pin must land before that PR's shipped-pin proof is reproducible from main.

Counterpart posted on #86 as WAITING. Nothing else blocks this PR: the diff is four pins plus sums, the gate is green locally (go build/vet/test), and the proxy serves the tag (200).

Agent: jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5 · OpenCode session ses_de3fa473bffeFiBo62whHxDPE5
Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: c350692bc5c87989307fe76230df0915db9a71f3 (branch: fix/sdk-2334)

Security screen: PASS — diff is exactly the four go.mod pin moves + four go.sum sums; no directives, secrets, exfiltration, network, or guardrail changes; go.sum hashes internally consistent (source h1: changes, /go.mod hash unchanged).

Checklist: All applicable rules PASS or NA (dependency-pin class: R0/R7/R8/R11 NA; R12 covered by the pasted live check-tmux-pod boundary run; ARCH NA — no code/placement change).

Comments considered:

  • 7230907952 (bot, BLOCK on COORD re distro-arch#85) — stale-superseded: premise "this thread has 0 comments" no longer holds; a coordination comment now exists and the body moved to #86 (successor of auto-closed #85).
  • 7230973634 (@aitrawog, HOLDING) — verified-non-blocking: valid coordination comment (closed-set label first, names this PR and distro-arch#86, counterpart asserted on feat(deploy): externalize pod config-WRITE to candy/plugin-deploy-pod (P11) #86 as WAITING — other thread not in context, tool-limited), posted by a maintainer-set account; satisfies COORD.

Verdict: PASS


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

View action run

…2026331.2334)

main advanced its sdk pin to v0.2026331.2149 while this branch was open, so the
four go.mod/go.sum pairs conflicted. Resolved in favour of THIS PR's pin
(v0.2026331.2334) in all eight files, then `go mod tidy` in each module.

Gate on the merged tree: GOWORK=off go build/vet/test -> 0 failures.

*Agent: `jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5` · OpenCode session `ses_de3fa473bffeFiBo62whHxDPE5`*

*Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)*
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 6ade93b2a372687bb64f5df30b9c7e43cd548252 (branch: fix/sdk-2334)

Change class: dependency pin bump (four go.mod + four go.sum).

Blocks

  1. A1 / R1 / ground-rule 4 — body and pasted evidence contradict the current diff (stale base). The body states the bump is "from v0.2026331.1440 to v0.2026331.2334" and R5 claims "no module is left on 1440", but the diff replaces v0.2026331.2149 in all four modules — there is no 1440 anywhere in the current base. Consequently the pasted How tested output go: upgraded github.com/opencharly/sdk v0.2026331.1440 => v0.2026331.2334 is not from the current base (on this tree it must read v0.2026331.2149 => v0.2026331.2334). Fix: correct the summary, the "How tested" block, and R5 to reference 2149, and re-paste the actual go get/go mod tidy output produced against the current base.

  2. A1 / R10 — no build/vet/test proof on the current head. The current head 6ade93b2 is itself a merge commit ("Merge the remote branch head … into the local merge") and commit be83ee46 "resolved [the] pin conflict to sdk v0.2026331.2334" — i.e. go.mod/go.sum were hand-resolved after the pasted go build/go vet/go test output was captured. The post-merge tree's go.mod/go.sum (and main's newer changes folded in by the merge) have not been shown to build/vet/test clean. Per ground rule 4 ("never let a missing re-run pass on the author's word alone"), paste fresh go build ./..., go vet ./..., go test ./... output from 6ade93b2 (or re-push so head == the tested tree).

Comments considered

  • 7230907952 (@github-actions[bot], BLOCK on COORD re distro-arch#85) — stale-superseded: the thread now contains a coordination comment and the body moved to #86 (successor of auto-closed #85); the "0 comments" premise no longer holds.
  • 7230973634 (@aitrawog, HOLDING) — verified-non-blocking: well-formed coordination comment (first non-blank line is the closed-set label HOLDING, names this PR and opencharly/distro-arch#86, asserts counterpart WAITING on #86), posted by a maintainer-set account, footer present; satisfies COORD on this thread (counterpart not in context — tool-limited).
  • 7231014116 (@github-actions[bot], PASS) — stale-superseded: it reviewed head c350692, not the current 6ade93b2, and it did not surface the 1440 vs 2149 contradiction now visible in the diff.

Verdict: BLOCK


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

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 6ade93b2a372687bb64f5df30b9c7e43cd548252 (branch: fix/sdk-2334)

Security screen: PASS — the diff is exactly four go.mod pin moves (2149 → 2334) + four go.sum sums; no directives, secrets, exfiltration, network, or guardrail changes; the go.sum hashes are internally consistent (source h1: changes to VzQ7j+Ws1NTE06gTfBJYShio4ZiSKEr0+v7q1hMNjOY= in all four modules, /go.mod hash pDgPddy0… unchanged — matching a source-only SDK fix).

Checklist: All applicable rules PASS or NA (dependency-pin class: R0/R7/R8/R11 NA; ARCH NA — no code/placement change; R12 satisfied by the live check-tmux-pod boundary run, which is a valid spike-equivalent). The body's How tested now references the correct base pin (2149) matching the diff at charly/go.mod:71, and pastes a gate on the current head 6ade93b2 (build/vet/test + TestContractPinsMatchShared PASS + PIN-CURRENCY-PROOF-OK). Coordination satisfied by the HOLDING comment naming distro-arch#86.

Comments considered:

  • 7230907952 (bot, BLOCK on COORD re distro-arch#85) — stale-superseded: the "0 comments" premise no longer holds; a HOLDING comment now exists and the body names #86 (successor of auto-closed #85).
  • 7230973634 (@aitrawog, HOLDING) — verified-non-blocking: well-formed coordination comment (first non-blank line is the closed-set label HOLDING, names this PR and opencharly/distro-arch#86, asserts counterpart WAITING on #86), posted by a maintainer-set account, footer present; satisfies COORD on this thread (counterpart not in context — tool-limited).
  • 7231014116 (bot, PASS at c350692) — stale-superseded: reviewed a prior head, not the current 6ade93b2.
  • 7231356433 (bot, BLOCK at 6ade93b2) — stale-superseded: the "body says 1440" claim does not reproduce (current body reads 2149, matching the diff), and the "no build/vet/test on current head" claim is resolved — the body now pastes the gate on 6ade93b2.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 28, 2026 01:17
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 61c0cf9940620a50f881b938bd3d6b090eed6006 (branch: fix/sdk-2334)

Change class: dependency pin bump — four go.mod (2149 → 2334) + four go.sum sums. Diff is exactly that; no code/schema.

Security screen: PASS — no injected directives, no secrets/exfiltration, no network or guardrail changes, no scope mismatch (diff is exactly the four pins + sums); the new go.sum source h1: hashes change consistently (VzQ7j+Ws1NTE06gTfBJYShio4ZiSKEr0+v7q1hMNjOY= in all four modules) while /go.mod hash pDgPddy0… is unchanged, matching a source-only SDK fix. The sdk pin move is the expected supply-chain change.

Blocks

  1. A1 / R10 / ground-rule 4 — the pasted gate evidence is for a superseded head, and the body mislabels it as current. The body's "How tested" section states "Gate on the CURRENT head 6ade93b2", but the actual head is 61c0cf994062, a later Merge branch 'main' into fix/sdk-2334 commit that advanced the tree after 6ade93b2 was tested (commit list: … → 6ade93b2a372 → 61c0cf994062). The build/vet/test/TestContractPinsMatchShared/PIN-CURRENCY-PROOF-OK output therefore does not cover the tree that will ship, and — per the two prior merge rounds (be83ee46 "pin conflict resolved", 6ade93b2 "merge the remote branch head") — a go.mod/go.sum conflict re-resolution on this merge is plausible and unproven. This is the same finding the round at 6ade93b2 raised (comment 7231356433, block docs: bump plugins → pr-validator always comments on the PR #2), re-arising because the head moved again. Fix: re-run and paste GOWORK=off go build ./..., go vet ./..., go test ./... (and TestContractPinsMatchShared + check-pin-currency.sh) on 61c0cf994062, or push so head == the tested tree; and correct the body's "CURRENT head" reference so it names the real head.

Comments considered

  • 7230907952 (bot, BLOCK on COORD re distro-arch#85) — stale-superseded: the "0 comments" premise no longer holds; a HOLDING comment exists and the body moved to #86 (successor of auto-closed #85).
  • 7230973634 (@aitrawog, HOLDING) — verified-non-blocking: well-formed coordination comment (first non-blank line is the closed-set label HOLDING, names charly#1313 and opencharly/distro-arch#86, asserts counterpart WAITING on #86), posted by a maintainer-set account, footer present; satisfies COORD on this thread (counterpart thread not in context — tool-limited).
  • 7231014116 (bot, PASS at c350692) — stale-superseded: reviewed a prior head, not the current 61c0cf994062.
  • 7231356433 (bot, BLOCK at 6ade93b2) — verified-non-blocking for block feat!: PR-only agent-validated landing — forbid + disable direct pushes to main #1 (the 1440 vs 2149 contradiction no longer reproduces: current body and diff both read 2149); block docs: bump plugins → pr-validator always comments on the PR #2 (no gate on the current head) verified-blocking and carried forward as Block 1 above, since the head has since advanced past the tested tree.
  • 7231553517 (bot, PASS at 6ade93b2) — stale-superseded: it reviewed 6ade93b2, not the current 61c0cf994062, and its R10/ground-rule-4 acceptance does not cover the later merge.

Verdict: BLOCK


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

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 61c0cf9940620a50f881b938bd3d6b090eed6006 (branch: fix/sdk-2334)

Security screen: PASS
Checklist: All applicable rules PASS or NA (dependency-pin class; diff is exactly four go.mod pin moves 2149 → 2334 + four go.sum sums, source h1: changes consistently to VzQ7j+… while /go.mod hash pDgPddy0… is unchanged — matching a source-only SDK fix; body accounts for all 8 files; R12 covered by the pasted live check-tmux-pod boundary run; ARCH/R11 NA — no code/schema/placement change).

Comments considered:

  • 7230907952 (bot, BLOCK on COORD re #85) — stale-superseded: the "0 comments" premise no longer holds; a HOLDING comment exists and the body names #86 (successor of auto-closed #85).
  • 7230973634 (@aitrawog, HOLDING) — verified-non-blocking: valid coordination comment (first non-blank line is the closed-set label HOLDING, names charly#1313 and opencharly/distro-arch#86, asserts counterpart WAITING on #86), posted by a maintainer-set account, footer present; satisfies COORD on this thread (counterpart thread not in context — tool-limited).
  • 7231014116 (bot, PASS at c350692) — stale-superseded: reviewed a prior head.
  • 7231356433 (bot, BLOCK at 6ade93b2) — stale-superseded: the 1440 vs 2149 claim does not reproduce (current body and diff both read 2149), and the head-gate concern is now addressed by the pasted gate on the current head.
  • 7231553517 (bot, PASS at 6ade93b2) — stale-superseded: reviewed a prior head.
  • 7231663257 (bot, BLOCK at 61c0cf99) — stale-superseded: the body now reads "Gate on the CURRENT head 61c0cf99" — the real head — and pastes the build/vet/test/TestContractPinsMatchShared/PIN-CURRENCY-PROOF-OK gate on it; the "body names 6ade93b2" premise no longer holds, and the grep line 71: … v0.2026331.2334 matches the diff hunk at charly/go.mod:71.

Verdict: PASS


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

View action run

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.

check-tmux-pod: tmux-roundtrip needs ~123 s against a 120 s never-hang ceiling (~20 charly calls × 5.6 s project resolve)

1 participant