fabro/lib/crates/fabro-core/src
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
..
context.rs fmt 2026-04-11 11:27:46 -04:00
error.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
executor.rs ci: switch clippy to pinned nightly, clean up workspace lints 2026-04-16 18:59:11 -04:00
graph.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
handler.rs Unify Outcome types between fabro-core and fabro-workflows 2026-03-29 13:47:05 -04:00
lib.rs refactor: remove backwards-compat error type aliases 2026-04-11 12:51:42 -04:00
lifecycle.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
outcome.rs refactor: remove backwards-compat error type aliases 2026-04-11 12:51:42 -04:00
retry.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
stall.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
state.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
test_fixtures.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00