Skip to content

Make --tools optional when using traces/mined#3

Merged
kelkalot merged 1 commit into
mainfrom
fix/optional-tools
Jul 4, 2026
Merged

Make --tools optional when using traces/mined#3
kelkalot merged 1 commit into
mainfrom
fix/optional-tools

Conversation

@kelkalot

@kelkalot kelkalot commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Allow probe/derive runs to omit --tools when traces or mined inputs provide probes. Add a reusable _TOOLS_OPTION and _require_probe_source check, handle trace-only runs by using an empty tools fingerprint, and error when no probe sources or when the derived battery is empty. Bump package version to v0.3.1, update README and VALIDATION notes to reflect the behavior change, and add tests covering trace-only, mined-only, missing-source, and empty-battery cases.

Allow probe/derive runs to omit --tools when traces or mined inputs provide probes. Add a reusable _TOOLS_OPTION and _require_probe_source check, handle trace-only runs by using an empty tools fingerprint, and error when no probe sources or when the derived battery is empty. Bump package version to v0.3.1, update README and VALIDATION notes to reflect the behavior change, and add tests covering trace-only, mined-only, missing-source, and empty-battery cases.
@kelkalot
kelkalot merged commit 8bb9371 into main Jul 4, 2026
2 checks passed
@kelkalot
kelkalot deleted the fix/optional-tools branch July 4, 2026 18:40
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