Polish CLI UX and speed up local preview flows#44
Merged
TrevorBasinger merged 1 commit intomainfrom Mar 18, 2026
Merged
Conversation
07f8f8e to
b414666
Compare
b414666 to
8cedcdb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR is a CLI polish and startup/performance pass for
roar.It focuses on two things:
What Changed
CLI UX and correctness
show,log, andstatuserrors instead of printing failure text as successroar init --pathso.gitignorehandling uses the target repo, not the caller reporoar cleanguidanceroar show --path,--job,--artifact, and--sessionselectorsroar auth keyas the primary SSH key workflow and keepauth registeras a compatibility aliasrun,put, andregisterPerformance and profiling framework
scripts/profile_roar.pydocs/developer/profiling.mdstatus,log, andshowput --dry-runlocal by skipping backend/runtime/git setupregister --dry-runlocal with preview-only runtime, raw config access, lightweight git/session prep, and lightweight job normalizationProfiling Results
Latest full profile sweep from this branch:
cli_help:47.1mscli_run_simple:985.2mscli_status_active:70.3mscli_show_session:82.1mscli_register_dry_run:111.2mscli_put_dry_run:77.6msLargest wins from the original branch baseline:
cli_put_dry_run:3131.6ms -> 77.6mscli_status_active:491.0ms -> 70.3mscli_show_session:445.2ms -> 82.1mscli_register_dry_run:424.5ms -> 111.2msThe main remaining product-path hotspot is still
roar run, which is dominated by tracer/process and provenance collection work rather than generic CLI startup.Verification
Ran from
/home/trevor/dev/roar-cli-polish:Results:
ruff check .: passedmypy roar: passedpytest -m "not live_glaas and not ebpf":1021 passed, 1 skippedcli_register_dry_run:106.4mstests/benchmarks/results/Follow-Up
The next highest-value work is deeper phase timing around
roar run, plus runtime startup/atexit overhead behind thesitecustomizeperformance guardrail.