Skip to content

feat: parallelize volume queries + Linux/presets/audit docs#39

Merged
dean0x merged 3 commits intomainfrom
feat/perf-and-docs
Mar 11, 2026
Merged

feat: parallelize volume queries + Linux/presets/audit docs#39
dean0x merged 3 commits intomainfrom
feat/perf-and-docs

Conversation

@dean0x
Copy link
Owner

@dean0x dean0x commented Mar 10, 2026

Summary

Closes #31, closes #32

Test plan

  • All 290 unit + 13 integration tests pass
  • cargo clippy clean
  • cargo fmt --check clean
  • 9 new unit tests for extracted helpers (parse_du_bytes, collect_disk_usage)
  • CI passes

Dean Sharon added 3 commits March 10, 2026 02:09
Add unit tests for parse_du_bytes and collect_disk_usage helpers
extracted to src/orchestration/mod.rs. Covers happy path, edge cases
(empty input, non-numeric, whitespace-only), None-skipping, and error
propagation.
…32)

Parallelize volume_disk_usage with futures::future::join_all in both
NativePodmanRuntime and OrbStackRuntime. Wrap detect_lockfiles in
spawn_blocking to avoid blocking IO on the async runtime. Extract shared
parse_du_bytes/collect_disk_usage helpers. Remove redundant second
volume_disk_usage call in show_project_info.

Update README with Linux platform support, network presets table, and
audit log format documentation.
Only join_all is used — no need for the full futures crate (10 sub-crates).
futures-util provides the same function with ~60% less compile surface.
@dean0x dean0x merged commit 4a0275c into main Mar 11, 2026
7 checks passed
@dean0x dean0x deleted the feat/perf-and-docs branch March 11, 2026 09:07
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.

docs: document Linux support and network presets in README perf: parallelize volume_disk_usage and fix blocking IO in lockfile hashing

1 participant