Repository navigation
chore(deps): pin the python layer past its floor-check fix, and let the HTTP check wait for first boot - #14
Conversation
…he HTTP check wait for first boot Two changes, one purpose: make this candy's check bed reachable and green — which is the R10 witness #12 could not obtain. 1. `layer-python` pin v2026.273.1820 -> v2026.293.1922. The old tag carried a hard-coded CPython 3.13 assertion; this image runs 3.12.13 because open-webui requires `<3.13`, so every bed built from this candy died in `check-image` and its runtime half never ran (opencharly/layer-python#8, fixed by opencharly/layer-python#9). 2. The HTTP probe now waits for the app instead of assuming it is up. Open Web UI runs its Alembic migrations and builds the model cache before uvicorn binds, so on a cold deployment a single unconditional GET hits the port forwarder with nothing behind it and is reset — measured: the live phase failed on this step ~8s into a cold bed. `eventually: 3m` + `retry_interval: 2s` is the engine's readiness primitive (bounded probing, never a fixed sleep); the same single request still asserts steady state. Measured on the full disposable bed after both changes: `PASS (steps=16)`, `check-image 42/0/11`, `check-live 49/0/4`, `check-live-rebuild 49/0/4`, and the HTTP probe reporting `attempts=45, elapsed=1m37.539s, status=200` — the wait doing exactly the job it exists for, then passing. Closes #13 Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Security screen: PASS — no secrets/exfiltration, no guardrail weakening, scope matches the body, no embedded instructions. Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…d it The review is right. This branch's body surfaced a real product defect — `discover:`-ing a candy repo leaves an empty candy identity and panics `deploykit.CandyCopySource` (`CandyMapKey == ""`) on `box generate`, and a box's `candy:` list has no local-source ref form at all — and then carried on with a byte-identical copy without filing it. That is the surfaced-but-unaddressed split the rulebook forbids. Filed as opencharly/charly#999, naming both halves and a suggested fix for each. The body now lists it under `## Filed issues`, and the provenance paragraph cites it at the point where the workaround appears. No code change: the pin, the readiness contract, and the green-bed evidence are unchanged. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
Review — PASSHead SHA: Security screen: PASS — no secrets/exfiltration, no guardrail weakening, scope matches the body, no embedded directives. Comment disposition: Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…it was missing (#102) * chore(openwebui): advance the candy pin and give the box the witness it was missing `box/openwebui` pinned `pod-openwebui:v2026.274.0629`, so every build of this box shipped **open-webui 0.9.5** and the pre-fix entrypoint (no `--port` hand-off, the MCP `info.id` identity collapse) even after the candy moved to 0.12.3 (opencharly/pod-openwebui#12, opencharly/pod-openwebui#14). The pin now advances to `v2026.293.1944`. It also gains the check bed it never had. Every other consumer image here has one; this box was proven only by the transitively-composed candy checks, which cannot see the composition. `check-openwebui-pod` is that missing witness. Measured on this tree: the full disposable bed **PASS**, `steps=16`, `check-image 42/0/11`, `check-live 49/0/4`, `check-live-rebuild 49/0/4`, with the HTTP probe reporting `attempts=66, elapsed=2m24.181s, status=200` and the python layer's floor assertion passing at 3.12. Closes #101 Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * test(bed): assert the served open-webui version in-tree instead of inheriting it The review is right: this PR's whole claim is that the box stops shipping open-webui 0.9.5, and the only in-tree proof was an HTTP 200 that never reads the version — leaving the "0.12.3" assertion inherited by pin from pod-openwebui#12 plus a promise to report the local deployment later. That is a "will test later", and the tier does not survive it. The bed now reads the version from the app's own `/api/config` and matches it: PASS check the running service serves the open-webui version this box pins (0.12.3), read from its own /api/config [openwebui-served-version] status=200 The box owns the pod-openwebui pin, so it owns this expectation: when the pin advances, this line advances with it in the same change — which is exactly the coupling that was missing while the pin sat three releases behind. (That is the opposite situation to the python layer, where a shared layer must NOT assert a consumer's version.) Full bed on this tree: PASS (steps=16), check-image 42/0/11, check-live 50/0/4, check-live-rebuild 50/0/4, readiness probe attempts=39 elapsed=1m24.282s. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
Summary
Two changes with one purpose: make this candy's check bed reachable and green, which
is the R10 witness #12 could not obtain.
1. The
layer-pythonpin moves past its floor-check fix (v2026.273.1820→v2026.293.1922). The old tag carried a hard-coded "CPython 3.13" assertion. This imageruns 3.12.13, because upstream open-webui requires
>=3.11,<3.13— so every bedbuilt from this candy died in
check-imageon those two layer checks and its entireruntime half never executed.
layer-pythonnow asserts a floor instead(opencharly/layer-python#8 → #9, merged as
v2026.293.1922).2. The HTTP probe waits for the app instead of assuming it is up. Open Web UI runs
its Alembic migrations and builds the model cache before uvicorn binds, so on a cold
deployment a single unconditional GET reaches the port forwarder with nothing behind it
and is reset. Measured: the whole live phase failed on this step ~8s into a cold bed.
The fix is the engine's readiness primitive, not a sleep in a shell step:
eventuallyprobes readiness in the check engine (bounded, observable, counted in thereport) and the same single request still asserts steady state once the app is up.
How tested
Run on the committed tree at head
632dfc0(the tip commit is an empty re-freeze that records the filed issue, so the content diff ise3c4aa0's). The image was built from this exact tree(provenance below), then the full disposable bed ran against it:
The two steps that used to red it, on the final tree:
attempts=45over 97 seconds is the readiness wait doing exactly the job it exists for,then passing — and
check-live-rebuildproves it survives the fresh-update leg too.The built image carries what this PR says it does (read from the image's own labels,
so it is the artifact and not the manifest):
Provenance. This is the in-development case the product does not support, and it is
filed rather than hidden: a box's
candy:list accepts only@github/@ocirefs andbare names without any local-source form, and
discover:-ing a candy repo registersan empty identity that panics
deploykit.CandyCopySource(CandyMapKey == "") onbox generate— opencharly/charly#999. So the bed project composes a byte-identicalcopy of this tree instead, and the four files were sha256-verified equal before the build
and again before this commit:
Filed issues
closed by fix(checks): assert a CPython floor, not one exact minor layer-python#9.
openwebuibox'spod-openwebuipin, whichnow can advance onto a candy whose bed is green.
charly secretsis not a registered command; still open,unrelated to this diff.
with both halves named:
discover:-ing a candy repo leaves an empty candy identity andpanics
deploykit.CandyCopySourceonbox generate, and acandy:list has nolocal-source ref form (so an unmerged candy can only be tested via a byte-identical
copy). Filed, not worked around silently — the provenance paragraph above cites it.
Rulebook compliance
change: the bed's
check-imagered traced to the layer's exact-minor assertion plus thelock's
python-3.12.13on both sides; the live red traced to which image the beddeployed (a stale box tag left in the local store) and then to the app's cold-start
window, visible as
attemptsnever being used.exact-minor claim is gone from the image's labels (asserted above).
sleepin a shell step, no retry loop, no|| true: thewait is the engine's own bounded
eventuallyprimitive.from the built image.
bed's own step report.
charly2026.293.1538, built fromcharlyorigin/main.including the destroy-and-rebuild leg.
Change classification
Runtime (candy dependency pin + a check's readiness contract) —
charly.ymlonly.Confidence: fully tested and validated — the change-class gate (the disposable bed)
passed on the final tree, and the built image's own labels confirm the new pin and checks.
Refs: closes #13, follows #12, depends on opencharly/layer-python#9.
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)