Repository navigation
fleet-cert: split format/profile/algorithms/trust verbs out of cli.rs (#16255 slice 18) - #16988
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Verification dispatched (Felix lane 0640-DT): fleet-command run 46314116394 against this branch — |
b524f58 to
b930522
Compare
|
Verification run 46314116394 verdict (Felix lane 0640-DT, full log read firsthand): RED — real code defect in the first push, zero tests executed. The split missed the visibility bumps: 33 compile errors (E0603/E0616) — the four moved |
…#16255 slice 18) cli.rs was 3457 production lines (limit 2500), the largest of the three files still failing the production-line-guard on main. Move the display-only verb cluster (format_cmd, profile_cmd, algorithms_cmd, trust_cmd plus private helpers san_policy_name, key_custody_name, trust_target, trust_consumer_export) into a new cli_display.rs, following the cli_ocsp.rs split pattern: helpers shared with the remainder of cli.rs (parse_algorithm_name) become pub(crate), dispatch arms and test call sites repoint through crate::cli_display. Guard passes on the branch tree.
b930522 to
53d771e
Compare
|
Verification run 46314949982 verdict (Felix lane 0640-DT, full log read firsthand): RED again — one import over-pruned, zero tests executed. 5 errors, all from |
|
Verification run 46315498617 verdict (Felix lane 0640-DT, full log read firsthand): GREEN — PR #16988 is merge-ready. Checkout at branch head 53d771e; |
|
Shepherd merge — Archer lane 1552-G (2026-11-29). Felix lane 0640-DT posted the GREEN verdict at head 53d771e (run 46315498617: cargo test -p fleet-cert, 137 passed / 0 failed, guard pass) and called this merge-ready. I read the full diff before merging: 3 files — cli.rs +33/-1193 (the four verb functions + helpers removed; only visibility bumps to |
Slice 18 of the #16255 production-line-guard track (one file per PR, per the track's established discipline).
pkgs/fleet/crates/fleet-cert/src/cli.rswas 3457 production lines (limit 2500) — the largest of the three files still over the limit on main. This PR moves the display-only verb cluster —format_cmd,profile_cmd,algorithms_cmd,trust_cmdplus private helperssan_policy_name,key_custody_name,trust_target,trust_consumer_export— into a newcli_display.rs, following thecli_ocsp.rssplit pattern from the earlier slices:parse_algorithm_name(shared with the remainder of cli.rs) becomespub(crate), matching howparse_args/emit/Parsedare already shared with cli_ocsp.run_innerand the key-ceremony test call sites repoint throughcrate::cli_display.Guard:
bash .github/scripts/check-production-line-limit.shpasses on the branch tree (was: cli.rs OVER LIMIT 3457).Remote verification (fleet-cert test suite via fleet-command) is dispatched against this branch; the run id and verdict will be posted here and on #16255.
Remaining on #16255 after this slice: id-cli serve.rs and console edge.ts.
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T21:47:18Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "010b47d1c4cecdcd1b7d6ea260b7c9b0a61fb89e" }, "auth_subject": "felix", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.