test: Rebalance suite — unit + contract + smoke + scoverage (+ 0.6.0 bump) #377
No reviewers
Labels
No labels
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli!377
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/bump-version-0.6.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Single bundled PR for the end-to-end test rebalance tracked in docs/plans/2026-06-03-test-rebalance.md, shipped on top of the 0.6.0 version bump and release-asset upload that already lived on this branch.
core+dashboardinstrumented with scoverage 2.1.0; baseline captured (core 77.43%, dashboard 76.24%); CI uploads per-module XML + HTML + summary.review-stateextracted tocore/model/ReviewStateCliParserwith 48 munit tests; BATS slice 61 → 6 (~531× per-test speedup).test/contract/tier pins external-tool assumptions (git, gh, glab, scala-cli, mill, tmux) across 6 files / 35 tests; nightly +contract-labeled PRs in CI.CommandEnvharness) — 22/22 commands migrated. Eachcommands/<name>.scalais now a 7-line shim delegating toiw.core.commands.<Name>.run(args, env). Capability traits introduced on-demand: Console, FileSystem, GitOps, Process, Clock, HookOps, TrackerOps (9 methods inc. forge-polymorphic create/fetch), Stdin, ServerOps, StateReader, Prompt, TmuxOps, WorktreeOps, EnvVars, ConfigOps, ServerConfigOps, DashboardLifecycle, ProcessLifecycle, ReviewStateOps. ~185 harness-test scenarios added; BATS for each command is now 1–2 round-trip smokes.is_docker()helpers stripped from prompt BATS files;IW_SERVER_DISABLED=1audit confirmed it remains load-bearing inServerClient.scala(4 short-circuit points) — kept in all BATS files.Also on this branch (pre-existing)
VERSIONto 0.6.0; tag/tarball already published at https://github.com/iterative-works/iw-cli/releases/tag/v0.6.0 (andvlatestalready points at it).iw-bootstrapas a v0.6.0 release asset so the README install command works againstreleases/latest/download/iw-bootstrap.Diff shape
main.Test plan
./mill core.test— 186/186 passing./mill dashboard.test— passingcontractjob (nightly cron +contractlabel only — not gating)Notes
Closes #357 (superseded by Phase 3 — bloop cold-start eliminated by removing dead setup work).
Closes #304 (superseded by Phase 2.7 + smoke refactor — capture-pane checks live in gated contract suite).
🤖 Generated with Claude Code