base red: cmux-tui automation clippy and Windows workflow help

Merged
AU
2d ago
+7-2

Clears three base reds on feat-cmux-next that fail every PR touching cmux-tui. Found while landing https://github.com/manaflow-ai/cmux/pull/25768.

  • clippy (changed cmux-tui packages): cli/automation.rs Out::captured trips clippy::type_complexity. The fix names the captured result CapturedResult. cli/automation/teleport.rs every_as_cron trips manual_is_multiple_of. The fix uses seconds.is_multiple_of(60).
  • cargo check (x86_64-pc-windows-gnu): cli.rs help's "workflow" arm names workflow::HELP, but mod workflow is #[cfg(unix)]. The arm now carries the same cfg, so on Windows help workflow falls back to the root help, like other unix-only scopes.

Verified on rbx: cargo fmt --all --check, cargo clippy -p cmux-tui --all-targets --locked -- -D warnings, and the CI command cargo check --locked --target x86_64-pc-windows-gnu -p cmux-tui-core -p cmux-tui -p acpmux all pass. Example base failures: https://github.com/manaflow-ai/cmux/actions/runs/41749457187/job/126310631936 and https://github.com/manaflow-ai/cmux/actions/runs/41749457206/job/126310631777.

Changelog: none (CI-only).

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Clears three base CI failures on feat-cmux-next that currently fail every PR touching cmux-tui.

  • Fixes two clippy warnings by naming the captured result type as CapturedResult in cli/automation.rs and using seconds.is_multiple_of(60) in teleport.rs.
  • Adds the existing #[cfg(unix)] to the "workflow" help arm in cli.rs, so on Windows help workflow now falls back to root help like other unix-only scopes.