Repository navigation
fix(deploykit): ignore empty builder-backed base - #49
Merged
Merged
Conversation
Assisted-by: Codex OpenAI GPT-5.6 Sol (fully tested and validated)
Contributor
Author
pr-validator — APPROVED ✅Change class: Cross-repo SDK Go producer; immutable SDK merge/tag precedes the consumer disposable integration bed on
Decision: PASS. Finalize the merge-time CalVer, revalidate the changed head, squash-merge, and create the immutable SDK tag. Assisted-by: Codex OpenAI GPT-5.6 Sol (fully tested and validated) |
Assisted-by: Codex OpenAI GPT-5.6 Sol (fully tested and validated)
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 22, 2026
…er (#270) * fix(loaderkit): the per-host deploy overlay is not a config-stack layer The layered config stack (system → user → in-dir) raw-merged the per-host deploy overlay (~/.config/charly/charly.yml, spec.DefaultDeployConfigPath) as a PROJECT document layer. That overlay is a DeployConfig — per-host runtime state, not an authored project — and raw-merging it injects its deploy entries into the authored deploy map BEFORE FoldMembers runs. A member-bearing check bed declares its members NESTED under the bed root, while the overlay persists each deploy-level member FLATTENED to a top-level key (MarshalDeployNode unwraps the member tree to siblings, so a member's own `charly config` can address it by name). Raw-merging put both copies into the deploy map, and FoldMembers then hard-failed: peer name "preempt-holder" (declared under deploy "check-preempt-live-pod") collides with an existing deploy/bed/peer entry seen live on every member-bearing bed (check-preempt-live-pod, check-cross-pod-cdp, both FAIL steps=1) and reproducible deterministically from the merged bytes alone. The overlay has ALWAYS been applied the correct way: a per-field MERGE onto the loaded project tree (deploykit.MergeDeployConfigs / deploy.MergeDeployNode, driven by loaderkit.ResolveMergedTreeViaExecutor and deploykit.MergedDeployTree), whose lookup recurses into a node's Member tree, so it can never create a stray top-level key. That merge remains the overlay's ONE application (R3). This stack is projects only: system (/etc/charly/charly.yml, the packaged fallback project) + in-dir. Regression window: the beds were green at distro-fedora #49 (charly 2026.250.0215) the same day sdk #230 landed the stack; the fold's collision guard predates both. R10 (live, charly rebuilt against this sdk): - check-preempt-live-pod: PASS (steps=22) (was FAIL steps=1) - check-cross-pod-cdp: PASS (steps=19) (was FAIL steps=1) Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * docs: re-freeze the PR body against the final head * docs: re-freeze the PR body against the final head --------- Co-authored-by: Andreas Trawoeger <[email protected]>
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 23, 2026
…ds where the image expects it (#627) * fix(builder): pin HOME and PIXI_HOME in the pixi stage so the env lands where the image expects it pixi installs its environment under $PIXI_HOME (default $HOME/.pixi), not the project directory, and the emitted stage set only USER + WORKDIR — HOME comes from the BASE image's passwd for that uid. When a rebuilt base moved uid 1000's home, the env landed outside the box's home and the final stage's COPY --from=<stage> <home> <home> carried no .pixi: every image check reading <home>/.pixi/envs/default/bin/python went red (measured on opencharly/pod-comfyui#49's composed bed, filed as opencharly/pod-comfyui#51). The template now sets ENV HOME/PIXI_HOME explicitly — the same fix class npmStageTemplate already carries for NPM_CONFIG_PREFIX — and both RUN arms assert the env root exists, so a wrong home fails the BUILD instead of a runtime check. Consumer chain: plugin-builder-pixi bumps its sdk dependency, the umbrella advances the plugin pin, then pod-comfyui#48/#49 and the consumer pin bump can land. *Agent: `image-lane-vram` · Claude Code session `739c9baf-e4cc-465c-9028-0a77b9ea7617`* *Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)* * test(kit): assert the pixi stage pins HOME/PIXI_HOME and fails without it Coverage the review asked for: the emitted stage must carry ENV HOME=<home> PIXI_HOME=<home>/.pixi and test -d <home>/.pixi for every input home (three homes in the table). Measured: the test PASSES with the fix and FAILS with the ENV line removed — the control can fail. *Agent: `image-lane-vram` · Claude Code session `739c9baf-e4cc-465c-9028-0a77b9ea7617`* *Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
Fix the SDK box dependency graph so valid builder-backed images without a
base:do not create a phantom empty dependency and a false empty cycle.Baseis non-empty.from: builder:pacstrapshape through direct dependencies,order, and build levels.
CycleError.Change class
Cross-repo SDK Go producer. Landing order:
opencharly/sdkfirst, then the SDKgitlink bump and full composing OpenClaw R10 bed on
opencharly/charly#112.How R10-tested — exact gate, commands, and pasted output
the consumer integration gate is
charly -C box/cachyos box validatefollowedby full
charly -C box/cachyos check run check-openclaw-podafter this PR istagged and consumed by charly#112, per the producer→consumer landing rule.
consume only a merged immutable SDK tag. The consumer PR owns the full bed.
go test ./...rebuilt every SDK package from this head.ResolveBoxOrderandResolveBoxLevelsexecute the no-base builder-backedpath that failed CachyOS validation.
Attribution tier
fully tested and validatedfor the SDK producer gate. The consumingsuperproject remains blocked from landing until its full disposable R10 bed
passes against this SDK's immutable merged tag.
Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)and git-workflow guidance before implementation and landing.
tests and static gates finish with zero warnings.
fixed here; consumer integration remains in the already-open charly#112 chain.
BoxDirectDepshelper fixes order,levels, and filtering callers.
bypass, fallback, or timing change.
or retired; the false empty-base behavior is removed outright.
amend, force-push, or direct-main push.
gate is explicitly required on charly#112 after immutable SDK landing.
consumer disposable bed is the next mandatory cross-repo gate.
schema change, so ADE and SDD are N/A.
sdk/deploykit;no concrete-kind branch or capability added.
gofmt,go test ./...,go vet ./..., andgit diff --checkpass.CHANGELOG/2026.195.0745.mdis staged as the placeholder forvalidator merge-time finalization.
Assisted-by: Codex OpenAI GPT-5.6 Sol (fully tested and validated)