cargo-hauler 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +11 -5
  3. package/artifact/agent-bundle.manifest.json +1 -1
  4. package/artifact/claude/.claude-plugin/marketplace.json +1 -1
  5. package/artifact/claude/.claude-plugin/plugin.json +1 -1
  6. package/artifact/claude/INSTALL.md +1 -1
  7. package/artifact/claude/bin/cargo-hauler-flight.mjs +4 -4
  8. package/artifact/claude/bin/cargo-hauler.mjs +120 -39
  9. package/artifact/claude/hooks/event-route-session-start.mjs +2 -2
  10. package/artifact/claude/hooks/event-route-stop.mjs +2 -2
  11. package/artifact/claude/hooks/hooks-flight.mjs +1 -1
  12. package/artifact/claude/mcp/mcp-hauler-2b8242f9-flight.mjs +5 -5
  13. package/artifact/claude/mcp/mcp-hauler-2b8242f9.mjs +7 -7
  14. package/artifact/claude/mcp-apps/dashboard.html +1 -1
  15. package/artifact/claude/scripts/hauler.mjs +118 -37
  16. package/artifact/claude/skills/cargo-hauler/SKILL.md +7 -4
  17. package/artifact/claude/skills/hauler-dashboard/SKILL.md +1 -1
  18. package/artifact/codex/.codex-plugin/plugin.json +1 -1
  19. package/artifact/codex/INSTALL.md +1 -1
  20. package/artifact/codex/bin/cargo-hauler-flight.mjs +4 -4
  21. package/artifact/codex/bin/cargo-hauler.mjs +120 -39
  22. package/artifact/codex/hooks/event-route-session-start.mjs +2 -2
  23. package/artifact/codex/hooks/event-route-stop.mjs +2 -2
  24. package/artifact/codex/hooks/hooks-flight.mjs +1 -1
  25. package/artifact/codex/mcp/mcp-hauler-2b8242f9-flight.mjs +5 -5
  26. package/artifact/codex/mcp/mcp-hauler-2b8242f9.mjs +7 -7
  27. package/artifact/codex/mcp-apps/dashboard.html +1 -1
  28. package/artifact/codex/scripts/hauler.mjs +118 -37
  29. package/artifact/codex/skills/cargo-hauler/SKILL.md +7 -4
  30. package/artifact/codex/skills/hauler-dashboard/SKILL.md +1 -1
  31. package/artifact/cursor/.cursor-plugin/plugin.json +1 -1
  32. package/artifact/cursor/INSTALL.md +1 -1
  33. package/artifact/cursor/bin/cargo-hauler-flight.mjs +4 -4
  34. package/artifact/cursor/bin/cargo-hauler.mjs +120 -39
  35. package/artifact/cursor/hooks/event-route-session-start.mjs +2 -2
  36. package/artifact/cursor/hooks/event-route-stop.mjs +2 -2
  37. package/artifact/cursor/hooks/hooks-flight.mjs +1 -1
  38. package/artifact/cursor/install.mjs +1 -1
  39. package/artifact/cursor/mcp/mcp-hauler-2b8242f9-flight.mjs +5 -5
  40. package/artifact/cursor/mcp/mcp-hauler-2b8242f9.mjs +7 -7
  41. package/artifact/cursor/mcp-apps/dashboard.html +1 -1
  42. package/artifact/cursor/scripts/hauler.mjs +118 -37
  43. package/artifact/cursor/skills/cargo-hauler/SKILL.md +7 -4
  44. package/artifact/cursor/skills/hauler-dashboard/SKILL.md +1 -1
  45. package/artifact/portable/INSTALL.md +1 -1
  46. package/artifact/portable/bin/cargo-hauler-flight.mjs +4 -4
  47. package/artifact/portable/bin/cargo-hauler.mjs +120 -39
  48. package/artifact/portable/install.mjs +1 -1
  49. package/artifact/portable/mcp/mcp-hauler-2b8242f9-flight.mjs +5 -5
  50. package/artifact/portable/mcp/mcp-hauler-2b8242f9.mjs +6 -6
  51. package/artifact/portable/mcp-apps/dashboard.html +1 -1
  52. package/artifact/portable/plugin.json +1 -1
  53. package/artifact/portable/scripts/hauler.mjs +118 -37
  54. package/artifact/portable/skills/cargo-hauler/SKILL.md +7 -4
  55. package/artifact/portable/skills/hauler-dashboard/SKILL.md +1 -1
  56. package/dist/bin/cargo-hauler-flight.mjs +4 -4
  57. package/dist/bin/cargo-hauler.js +120 -39
  58. package/dist/bin/hauler.js +118 -37
  59. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 10500db: Fold `cargo test` runs that share an identical `--exact` harness flag.
8
+
9
+ `--exact` joins `--test-threads=N`, `--nocapture`, and `--quiet` as a harness flag a `cargo test` composite carries: libtest OR-s its positional filters and applies `--exact` to each, so `cargo test -p a -- x::y --exact` and `cargo test -p b -- z::w --exact` now run as `cargo test -p a -p b --no-fail-fast -- x::y z::w --exact` — the union of packages with the union of filters, the flag once — with the same cross-package name-collision caveat the substring fold already accepts (under `--exact`, only a test of the same full name in another package). `--exact --nocapture`, the single-test shape agents emit, folds the same way. The harness set must still be identical on every participant, so exact and substring matching never mix: a run with `--exact` never joins a composite without it, and vice versa. Everything else holds: the `--test` / `--lib` selection must match, unfiltered runs fold only with unfiltered runs, requests naming the same packages still need the same filters (#53), a participant inherits a composite failure only when it asked for every package and every filter the composite ran and otherwise reruns alone (#87), and `--skip`, `--ignored`, `--include-ignored`, `--list`, `--format`, `--logfile`, or any other harness flag keeps a run out of composites. A composite now splices the followers' filters in behind the leader's own, ahead of its harness flags (`-- f1 f2 --test-threads=4` rather than `-- f1 --test-threads=4 f2`); libtest reads both alike. (#97)
10
+
3
11
  ## 0.6.1
4
12
 
5
13
  ### Patch Changes
package/README.md CHANGED
@@ -198,14 +198,20 @@ become `cargo clippy -p a -p b -- -D warnings`, with the trailer once. Under
198
198
  whose own units compiled cleanly is still released as done, the rest rerun
199
199
  alone. Folded tests share the composite process and output. `cargo test`
200
200
  requests fold when their `--test` / `--lib` selection and harness flags match
201
- — `--test-threads=N`, `--nocapture`, and `--quiet` are the only flags a
202
- composite carries, and only when every participant asked for the same set.
203
- Requests naming different packages may also differ in bare name filters:
201
+ — `--test-threads=N`, `--nocapture`, `--quiet`, and `--exact` are the only
202
+ flags a composite carries, and only when every participant asked for the same
203
+ set. Requests naming different packages may also differ in bare name filters:
204
204
  `cargo test -p a -- f1` and `cargo test -p b -- f2` become `cargo test -p a -p
205
205
  b --no-fail-fast -- f1 f2`, a run over the union of packages with the union of
206
- filters (a filter for one package may also match test names in another).
206
+ filters (a filter for one package may also match test names in another). The
207
+ same holds under `--exact`, which libtest applies to each filter it OR-s:
208
+ `cargo test -p a -- x::y --exact` and `cargo test -p b -- z::w --exact` become
209
+ `cargo test -p a -p b --no-fail-fast -- x::y z::w --exact`, the flag once, and
210
+ the only cross-package spill is a test of the same full name in the other
211
+ package. Exact and substring never mix: a run with `--exact` never joins a
212
+ composite without it, and vice versa.
207
213
  Requests naming the same packages share no compile and still need the same
208
- filters; unfiltered runs fold only with unfiltered runs; `--exact`, `--skip`,
214
+ filters; unfiltered runs fold only with unfiltered runs; `--skip`,
209
215
  `--ignored`, `--include-ignored`, `--list`, `--format`, `--logfile`, or any
210
216
  other harness flag keeps a run out of composites. `cargo nextest run`
211
217
  requests fold only on an identical filterset. On success every participant