GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(world-doctor): PR #801 — a Warn finding exits nonzero claiming '6 problem(s)', and the ceiling/profile checks are dead from the CLI (inputs hardcoded None) · Issue #816 · developing-today/code

id(world-doctor): PR #801 — a Warn finding exits nonzero claiming '6 problem(s)', and the ceiling/profile checks are dead from the CLI (inputs hardcoded None) #816

New issue
Copy link
New issue
Copy link
Closed
#826
Closed
id(world-doctor): PR #801 — a Warn finding exits nonzero claiming '6 problem(s)', and the ceiling/profile checks are dead from the CLI (inputs hardcoded None)#816
#826
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)

Description

@dezren39
dezren39
opened on Oct 24, 2026
Issue body actions

Problem

PR #801's new id world doctor (F12.16, tracking issue #559) does not behave the way its own severity model and PR description promise, in two independent ways:

1. A Warn finding exits nonzero, and the error counts every check as a problem

  • pkgs/id/src/world_doctor.rs:24 — Severity::Warn is documented as "Something is off but does not stop a world from running."
  • pkgs/id/src/world_doctor.rs:53-57 — DoctorReport::healthy() is all(|f| f.severity == Severity::Ok), so a single Warn makes the whole report "unhealthy".
  • pkgs/id/src/commands/world.rs:426-430 (branch id/phase-12) — the CLI bails whenever !report.healthy(), with bail!("world doctor found {} problem(s)", report.findings.len()). findings.len() is the total number of checks (always 6), not the number of non-Ok findings.

So the one Warn path that exists today (toolchain: a configured Roc binary that exists but differs from / is not the pinned nightly, world_doctor.rs check_toolchain) makes id world doctor exit nonzero while claiming "found 6 problem(s)" — even when the other five checks are Ok and nothing blocks a world. The PR body says the command "exits nonzero on failure"; Warn is not Fail.

2. The ceiling and profile checks can never fire from the CLI

  • pkgs/id/src/commands/world.rs:413-422 — the Doctor handler constructs DoctorInputs { caps_ceiling: None, profile: None, .. } unconditionally. There is no flag, env var, or config source that supplies either value.
  • check_ceiling with None always returns Ok ("no capability ceiling (whole catalog)") and check_profile with None always returns Ok ("no world execution profile (server defaults)").

Both checks are unit-tested in isolation, but through the only user-facing entry point they are dead: a world whose actual ceiling contains * or an unknown name, or whose profile has a zero bound, still gets ok ceiling / ok profile from id world doctor. The PR body advertises doctor as checking "the capability ceiling, the execution profile" — from the CLI it checks neither.

Evidence

  • PR id: Phase 12 — world doctor + world.toml manifest (F12.16, F12.1) #801 (OPEN, branch id/phase-12), commits 408e664c3a50, 0616553c34cd.
  • All file:line references above are on the PR branch as fetched this run (gh api .../contents/...?ref=id/phase-12); the code is not on main yet, so this is a fix-before-merge finding, not a regression on main.
  • No existing issue covers this: id: F12.16 id world doctor #559 is the F12.16 feature tracker PR id: Phase 12 — world doctor + world.toml manifest (F12.16, F12.1) #801 closes; searches for "doctor warn" / "doctor ceiling profile" found no defect issue.

Acceptance

  • A report whose worst severity is Warn exits 0 (or the severity model / PR description is changed so Warn is explicitly a failure — pick one and make code, docs, and tests agree).
  • The failure message counts only non-Ok findings (e.g. "found 1 problem(s)"), not findings.len().
  • A test drives the CLI-level report path (not just check_* in isolation) with a Warn-only report and asserts the exit behaviour.
  • id world doctor has a real source for the ceiling and profile it claims to check (flags, env, a live-world query, or local config), OR the two checks are removed from the CLI report and the docs stop claiming them.
  • A test shows a bad ceiling / zero-bound profile actually producing a Fail finding through the wired path.

Activity

  1. github-actions
    assigned
    dezren39
    on Oct 24, 2026
  2. dezren39
    closed this as completedin #826on Oct 25, 2026
  3. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 24, 2026 – with developing.today fleet
    Contributor
    More actions

    AUDIT-7 Lane 2 slice 3 — closing evidence. Verified against the issue body and merged implementation PR(s):

    • PR #826 — fix(id): world doctor — Warn no longer fails the command; --ceiling/--profile wired (merged 2026-10-25)

    The issue had zero comments in the fresh pre-action read; this comment records the missing close evidence.

  4. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.