Repository navigation
Open
Labels
T-RFCLabel RFC PRs and Issues[E] User ExperienceAn UX enhancement for an existing feature. Including deprecation of an existing one.
Description
This issue is a task to write/propose an RFC for a new default output format for Kani.
There are a number of needs here:
- Cleanup Kani's output #1194
- Feature Request: Vast
cargo kanioutput simplification #1653 (closed but has good discussion) - Organize the output from Kani to make it more user friendly #598
- Report memory usage for verification step #1675
- Kani should not print warnings about concurrency primitives (as long as it's single-threaded) #1460
- We should give better output for unbounded unwinding that the raw CBMC output.
- Support --output-format=terse kani-github-action#10
- Print out current task and timestamp for better user experience #1713
- UI unclear: reported results need to be clearer about the harness #1711
- Add user friendly Kani driver messages #1899
- Remove terse output requirement for parallel jobs #3357
The RFC should address how the output changes with the parallel runner kani -j.
The goal should be (I think:)
- Default output
- Verbose output
- Quiet output (probably nothing: just exit status)
- Plus: possible differences for being interactive (terminal) versus batch (redirected to file / CI). (Colors + live status info as considerations)
I think I will designate as out-of-scope:
There are likely a lot of decisions to be made here. I'm not even going to start the list of questions yet.
Reacted by Diana and Langston Barrett
Metadata
Metadata
Assignees
Labels
T-RFCLabel RFC PRs and Issues[E] User ExperienceAn UX enhancement for an existing feature. Including deprecation of an existing one.
Type
Projects
- StatusShow more project fieldsTodo
- StatusShow more project fieldsIn Progress
- StatusShow more project fieldsIn Progress
- StatusShow more project fieldsIn Progress
- StatusShow more project fieldsIn Progress
Activity
tedinski commentedon Sep 28, 2022
Some notes on inspiration for a new default output:
cargo testlooks like this:cargo buildgives a status like this:This nicely shows parallelism (
clap, object, regex, num-bigint, syn, rayon) on just one line. Meanwhile, you can scroll the output above it.I think a hybrid might be nice, augmented with more statistics
tedinski commentedon Oct 5, 2022
Just looked at
cargo-nextest's output, here's an excerpt (of batch output, not interactive terminal):tedinski commentedon Oct 26, 2022
When a run fails, we should ensure we conclude with a command that would re-run just the failing harnesses. This allows both a tighter loop locally, and would allow people to go from a CI failure to reproducing that failure locally easily.
celinval commentedon Nov 15, 2022
I created #1899 to track consistent info / warn /error messages which I believe is related to this.