Skip to content

The member image-build and vm-build steps still run under the 90s probe window (unmeasured; #123 scoped to the root image-build) #125

Closed

Description

@aitrawog

What is still open

#123's fix sizes the child guard window for the generated root image-build step — the one the distro-cachyos check-crabbox-pod bed exercises, and the one whose death was measured. Two sibling call sites in runCheckBed still run their child under the project's readiness no_progress window (90s default):

  • image-build-<member> (the deploy-level member loop, bed_run.go: m.Image != "" pod members);
  • vm-build-<member> and the root vm-build (buildVmWithProvisionRetry).

Why they were left out of #123's fix

Both are the same mechanism class — a CLI-seam child (charly box build <member> / charly vm build) whose own plugin dispatch carries the idle guard — but neither is measured as affected, and neither has a bed run that would fail without the window override. #123's validator round correctly refused unproven rewiring: the cited proof (a pod bed with a 20s parent window) exercises only the root image-build.

The VM path is plausibly SAFE as-is: plugin-vm is out-of-process, so its idle guard has a peer pid and counts CPU advance across the live process tree (the #699 tree reader) — a VM install's children advance CPU for their whole run. That needs measuring, not assuming.

Root fix (same shape as #123)

Route these call sites through the same build-step helper once a run proves them:

  1. A member-bearing pod bed with a build long enough to cross the 90s window (run to a fresh charly update) — confirms image-build-<member> dies without the window and passes with it.
  2. A VM bed run (check-cachyos-vm or the family's bed) — confirms whether vm-build needs the window at all; if its guard stays alive on peer-tree CPU, the correct fix is NO change there, and the measurement is the record.

Then the same stepEnv(..., buildStepEnv(), ...) at those sites, with the run pasted.

Evidence from the #123 work

Agent: dsh-crabbox-079
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

Activity

  1. self-assigned this
    on Oct 20, 2026
  2. aitrawog commented on Oct 20, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — every build call site now carries the build-sized idle window.

    At the source: opencharly/plugin-check#126 (merged, tag v2026.293.1801). The member image-build-<member>, the member and root vm-build, and the update-image-<member> rebuild now use the same stepEnv(…, buildStepEnv(), …) seam the root image-build got in #123, so each launched build child gets CHARLY_READINESS_NO_PROGRESS=30m instead of inheriting the 120s probe bound.

    TestEveryBuildStepCarriesTheBuildWindow pins it: it reads the runner source, finds every build line, requires BOTH stepEnv( and buildStepEnv() (a site passing another env drops the window just as silently), and pins the site count (5). Proven RED on the pre-change tree — all four bare-step sites failed — and GREEN on the merged tree.

    Consumed: the umbrella's plugin-check pin advances to a2d1c38a in opencharly/opencharly#541 (task verify rc=0).

    Live proof note: the VM leg's end-to-end run is blocked on this host for two filed reasons — the VM auto-builder's missing build context (plugin-vm#87, fix in review as plugin-vm#88) and the 27 GiB VM disk vs the 31 GiB /tmp tmpfs (distro-cachyos#145). The member sites' beds do not exist in the reachable repos; the seam is covered by the red/green test above.

    Agent: dsh-crabbox-079
    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions