Skip to content

Scan with nothing to configure - #38

Merged
dcadolph merged 5 commits into
mainfrom
scan-nothing-to-configure
Nov 2, 2026
Merged

dcadolph merged 5 commits into
mainfrom
scan-nothing-to-configure

Conversation

@dcadolph

@dcadolph dcadolph commented Nov 2, 2026

Copy link
Copy Markdown
Owner

A bare fleetsweeper scan now scans every kubeconfig context. --all-contexts is gone from scan, watch, serve, and the init scaffold. --contexts and --group narrow the set. One resolver handles the CLI, the serve scheduler, the scan API, and the controller, so an empty API request and a ClusterScan with no contexts both scan everything. The all_contexts API field and chart scheduler.allContexts are removed, and chart scheduler.contexts now renders.

Scans are stored by default in a local SQLite file under the XDG state directory, created 0700/0600 and printed once on first use. --db still overrides it. Commands that required --db now use the default store.

The terminal summary leads with coverage, then the score or "not graded", then the top three fixes, then cohorts and incidents.

UPGRADING.md has a v0.16.0 section covering each change, and the chart moves to 0.16.0.

The all-contexts flag, the all_contexts API field, and the chart's allContexts value are gone. One resolver now serves scan, watch, the serve scheduler, the API trigger, the inbound webhook, and the controller.
A scan now tells the terminal how much of the fleet it observed before it prints a score, and names the three fixes with the most leverage.
With no --db, scans go to a SQLite file under the XDG state directory, so history, trends, and serve work on day two with nothing configured. The path prints once on first use.
@dcadolph
dcadolph merged commit 60cfa04 into main Nov 2, 2026
5 checks passed
@dcadolph
dcadolph deleted the scan-nothing-to-configure branch November 2, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant