Skip to content

Reactor audit 2026-09-23 L30: shutdown report can claim success for never-started workers and hides over-budget AI workers #364

Description

@faratech

crates/wfdiag-app/src/workers.rs:526-569 pushes WorkerStopRecord::stopped (stopped_within_budget=true) for Monitor/Diagnostics/History/Provider/Update even when the handle was None (failed/unconfigured at boot); :588-596 discards chat/report stop_and_join(budget) results, so an AI worker missing AI_STOP_BUDGET is absent from ShutdownReport instead of reported over-budget.
Fix: record honest per-worker outcomes (not-started / stopped / over-budget).

Activity

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

    bugSomething isn't workingpriority: lowEdge-case or hygiene fix

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions