Skip to content

charly clean --dry-run hangs indefinitely — the R10 bed check-commands-local killed it at the 2m never-hang ceiling #423

Closed

Description

@atrawog

Symptom

charly clean --dry-run (and charly clean --deep --dry-run) hang indefinitely. Measured on this host with the charly binary at /tmp/charly-bin/charly (stamped 2026.240.1230):

$ timeout 30 /usr/bin/time -f "%es" charly clean --dry-run
# exit 124 (killed by timeout — never returns)
$ timeout 30 /usr/bin/time -f "%es" charly clean --deep --dry-run
# exit 124

Surfaced by the R10 bed check-commands-local (run 2026.240.1905): the bed's clean-dry-run-runs and clean-deep-dry-run-runs checks were both "probe killed by never-hang ceiling after 2m0.003s" — the clean command never exits.

Why it matters

The check-commands-local bed asserts charly clean --dry-run exits 0 and prints the would-remove retention report. The hang makes the bed fail (2 of its 8 check-live steps), which blocks the R10 gate for every change that touches the plugin-loader/check surface (the bed is the canonical local-substrate R10 target).

Required RCA direction

Profile charly clean --dry-run — likely the retention engine (the "retention" HostBuild seam) blocks on the podman store scan (the store has 3552+ images / 132GB, per issue #173) or on a lock. The non-dry-run clean works (it was exercised in earlier sessions); the dry-run path may be scanning something unbounded.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)

Activity

  1. atrawog commented on Aug 29, 2026

    @atrawog
    ContributorAuthor

    Fixed by charly#446 (merged): the retention-defaults seam reads charly.yml defaults directly (no project walk, no @github ref resolution — the clean command's 70 network calls are gone), the builtin prescan skip removes the 13s charly version hang, and the GitClient TTL cache (spec#65/#66) bounds mutable-ref downloads. Verified live: charly version 0.31s (was 13.5s), charly status 11.19s warm (was 97s), charly clean --dry-run reads keep_images from the per-host charly.yml with zero network.

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

Metadata

Metadata

Assignees

No one assigned

    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