pub fn new_bordered_table() -> TableExpand description
Build a BORDERED comfy-table. Unlike new_table (the borderless
NOTHING preset), this loads comfy-table’s UTF8_FULL preset plus the
UTF8_SOLID_INNER_BORDERS modifier, so the rendered grid carries
solid box-drawing borders (│, ─, ┼, …) around every cell rather
than the preset’s default dashed inner lines (┆, ╌). Same
ContentArrangement::Disabled (columns expand to their content, no
terminal-width wrapping) as new_table.
Cell-color policy (see apply_bordered_color_policy): colors
render on an interactive TTY as with new_table, but ALSO —
deliberately unlike new_table, which stays escape-free on every
non-TTY stdout — on a non-TTY stdout when GITHUB_ACTIONS,
CLICOLOR_FORCE, or FORCE_COLOR is set (via comfy-table’s
enforce_styling), so GitHub Actions logs render the PASS/FAIL grid
green/red the way nextest’s own output already does there. NO_COLOR
outranks everything and disables styling. The env probes are cached
per process like stdout_color.
Used only by the verifier’s per-scheduler PASS/FAIL grids
(crate::verifier::render_result_table), where the border visually
separates the tally line above each grid from the grid itself and
delimits one scheduler’s grid from the next. Every other table
(locks, stats, verified_insns, the A/B diff) stays on the
borderless new_table so its output remains byte-stable for
shell-pipeline consumers.