fabro/lib/crates/fabro-cli/tests/it/cmd
Bryan Helmkamp 1048534e2c
ci: switch clippy to pinned nightly, clean up workspace lints
- rust.yml: move clippy to nightly-2026-04-14 (was stable); also pin
  fmt to the same nightly date for consistency. Both jobs now use the
  dated nightly and the run-step uses `cargo +nightly-2026-04-14 ...`.
- AGENTS.md: update developer commands to match CI.
- Duration constructors: replace `Duration::from_secs(N * 60)` /
  `Duration::from_millis(N * 1000)` with `from_mins` / `from_secs` /
  `from_hours` across the workspace to satisfy clippy's new
  `duration_suboptimal_units` lint. std::time::Duration only — custom
  `settings::duration::Duration` sites kept on `from_secs`.
- map/unwrap_or cleanup: `.map(f).unwrap_or(v)` → `.map_or(v, f)`,
  `.map(f).unwrap_or(false)` on Result → `.is_ok_and(f)`, per
  `clippy::map_unwrap_or`.
- Misc lints: collapse nested `if` into match guard in
  handler/llm/api.rs and run_state.rs; replace `columns.len() > 0`
  with `!columns.is_empty()`; switch a pair of `sort_by` calls to
  `sort_by_key`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 18:59:11 -04:00
..
artifact_cp.rs perf(cli): reduce slow integration test overhead 2026-04-07 22:57:45 -04:00
artifact_list.rs perf(cli): reduce slow integration test overhead 2026-04-07 22:57:45 -04:00
attach.rs fix(tests): isolate CLI integration tests from repo project config 2026-04-15 11:18:19 -04:00
config.rs chore(lint): fix fabro-cli clippy warnings 2026-04-13 19:45:26 -04:00
create.rs refactor(cli): route global args through settings layer 2026-04-14 12:27:59 -04:00
diff.rs refactor(scratch): remove store-backed diff and blob cache writes 2026-04-07 22:31:59 -04:00
discord.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
docs.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
doctor.rs fix(doctor): simplify LLM provider detail lines 2026-04-15 07:31:15 -04:00
exec.rs ci: switch clippy to pinned nightly, clean up workspace lints 2026-04-16 18:59:11 -04:00
fabro.rs feat(cli): add fabro version command 2026-04-14 16:30:53 -04:00
fork.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
graph.rs refactor: wire vendored Graphviz into fabro-graphviz, remove dot dependency 2026-04-13 22:46:29 -04:00
inspect.rs fix(auth): restore local dev-token client coverage 2026-04-13 07:33:35 -04:00
install.rs fix(install): use consistent web URL for GitHub App callback and generated settings 2026-04-16 07:29:48 -04:00
json_global.rs refactor(cli): route global args through settings layer 2026-04-14 12:27:59 -04:00
logs.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
mod.rs Merge remote-tracking branch 'origin/main' 2026-04-14 18:38:49 -04:00
model.rs wip 2026-04-16 13:13:09 -04:00
model_list.rs refactor(cli): separate local socket and storage defaults 2026-04-06 11:57:14 -04:00
model_test.rs fix(tests): make bulk_skip model test independent of local credentials 2026-04-15 11:22:02 -04:00
parse.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
pr.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
pr_close.rs refactor(cli): make run-adjacent commands server-only 2026-04-06 06:12:16 -04:00
pr_create.rs Add --force option for fabro pr create (#155) 2026-04-12 15:56:01 -04:00
pr_list.rs feat(github): add gh cli integration strategy 2026-04-11 21:35:16 -04:00
pr_merge.rs refactor(cli): make run-adjacent commands server-only 2026-04-06 06:12:16 -04:00
pr_view.rs refactor(github): rename gh_cli strategy to token, GITHUB_CLI_TOKEN to GITHUB_TOKEN 2026-04-13 20:46:11 -04:00
preflight.rs feat(template): unify workflow and config template syntax 2026-04-11 10:58:50 -04:00
provider.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
provider_login.rs Complete provider credential auth and scripted install 2026-04-13 09:15:45 -04:00
ps.rs refactor(server): remove implicit dry-run fallback 2026-04-14 12:28:55 -04:00
render_graph.rs fix(ci): stabilize graphviz Rust checks 2026-04-14 19:31:01 -04:00
repo.rs refactor(config): move project state under .fabro 2026-04-11 12:55:46 -04:00
repo_deinit.rs refactor(config): move project state under .fabro 2026-04-11 12:55:46 -04:00
repo_init.rs feat(github): add gh cli integration strategy 2026-04-11 21:35:16 -04:00
resume.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
rewind.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
rm.rs fmt 2026-04-11 11:27:46 -04:00
run.rs fix(ci): stabilize snapshot test and double CLI test timeout 2026-04-15 11:39:06 -04:00
runner.rs Merge origin/main into local main 2026-04-13 12:28:08 -04:00
sandbox_cp.rs refactor(scratch): remove stale scratch file refs 2026-04-07 20:40:06 -04:00
sandbox_preview.rs refactor(cli): make run-adjacent commands server-only 2026-04-06 06:12:16 -04:00
sandbox_ssh.rs refactor(cli): make run-adjacent commands server-only 2026-04-06 06:12:16 -04:00
secret.rs test(cli): refresh list output expectations 2026-04-14 11:30:34 -04:00
secret_list.rs feat: add typed secrets metadata and API 2026-04-12 12:47:08 -04:00
secret_rm.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
secret_set.rs feat(secret): accept secret value via stdin or interactive prompt 2026-04-15 07:34:33 -04:00
send_analytics.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
send_panic.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
server_start.rs feat(cli): add --watch-web flag to server start (debug builds only) 2026-04-16 07:42:54 -04:00
server_status.rs test(nextest): share one session server by default 2026-04-07 09:44:34 -04:00
server_stop.rs test(nextest): share one session server by default 2026-04-07 09:44:34 -04:00
start.rs fix(tests): isolate CLI integration tests from repo project config 2026-04-15 11:18:19 -04:00
store.rs refactor(cli): deglobalize server and storage target flags 2026-04-05 16:06:42 -04:00
store_dump.rs fmt 2026-04-11 11:27:46 -04:00
support.rs fix(tests): isolate CLI integration tests from repo project config 2026-04-15 11:18:19 -04:00
system.rs feat(system): add server-backed system commands 2026-04-06 16:10:06 -04:00
system_df.rs test(nextest): share one session server by default 2026-04-07 09:44:34 -04:00
system_events.rs test(nextest): share one session server by default 2026-04-07 09:44:34 -04:00
system_info.rs test(nextest): share one session server by default 2026-04-07 09:44:34 -04:00
system_prune.rs test(cli): narrow system prune coverage for speed 2026-04-07 23:42:15 -04:00
test_panic.rs test: speed up slow default-profile tests and tighten nextest thresholds 2026-04-05 13:15:59 -04:00
top_level.rs Move cli.rs and scenario.rs tests into per-subcommand cmd/ files 2026-03-30 11:37:24 -04:00
uninstall.rs test(cli): add integration tests for fabro uninstall 2026-04-08 16:47:48 -04:00
upgrade.rs feat(release): support prerelease builds 2026-04-14 15:43:00 -04:00
validate.rs refactor(cli): separate local socket and storage defaults 2026-04-06 11:57:14 -04:00
version.rs feat(cli): add fabro version command 2026-04-14 16:30:53 -04:00
wait.rs refactor(scratch): remove stale scratch file refs 2026-04-07 20:40:06 -04:00
workflow.rs test(cli): refresh list output expectations 2026-04-14 11:30:34 -04:00
workflow_create.rs refactor(config): move project state under .fabro 2026-04-11 12:55:46 -04:00
workflow_list.rs test(cli): refresh list output expectations 2026-04-14 11:30:34 -04:00