Repository navigation
ci: bump mordant to 52896c0 - #43817
Conversation
The baseline holds a count of findings for each lint and file, not which findings. When a file went over, mordant hid the first N findings in the file and printed the rest, so a new finding written above the old ones was hidden and an old one was printed in its place. On #43728 the annotation named a function the change did not touch. From this revision a file that goes over prints every finding of that lint, then one line with the number found and the number the baseline allows. A file within its count still prints nothing, and target/mordant/over-baseline.txt counts the same as before. Nothing else changes over this workspace: the findings are the same as with 00778d3, and a regeneration leaves mordant-baseline.toml as it is.
|
Status: merged.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: oven-sh/bun/.coderabbit.yaml Review profile: ASSERTIVE Plan: Essentials Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review. WalkthroughThe Mordant workflow now pins revision ChangesMordant lint baseline
Suggested reviewers: Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to Over-baseline lint output will show all findings while the existing baseline failure check remains in place. No concrete merge-blocking regression is evident. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Comment |
Problem
mordant-baseline.tomlholds a count of allowed findings for each lint and file, not which findings. When a file went over its count, mordant hid the first N findings in file order and printed the rest.generic_body_not_genericfindings innode_fs.rs, and the change added a fourth,UVFSRequest::run_from_js_thread. The CI annotation namedreaddir_with_entries_recursive_asyncatnode_fs.rs:6446, which is not in that diff.Fix
MORDANT_REVmoves to52896c0cc7c1751bbe29672dbc1f007d7d52f3f3(Show every finding of a lint in a file that is over its baseline scarletindustries/mordant#30).MORDANT_TOOLCHAINstaysnightly-2026-09-01.target/mordant/over-baseline.txtcounts the same as before, so the job fails in the same cases. The workflow notes describe the new output.00778d3(all lints, line by line). A regeneration leavesmordant-baseline.tomlunchanged.Background
bun scripts/rust-mordant.tsover three targets and then tests thattarget/mordant/over-baseline.txtis empty or absent.Notes
The new output, with the entry for
src/runtime/node/node_fs.rslowered from 3 to 2 on this branch: the three findings in that file (CpSingleTask::create,mkdir_recursive_os_path_impl,readdir_with_entries_recursive_async), each with the notegeneric_body_not_generic over the mordant baseline (2 recorded for src/runtime/node/node_fs.rs), and then:A file with a large count prints all of it when one finding is added. The largest entry here is 105
derived_fieldfindings insrc/css/properties/margin_padding.rs. GitHub shows a limited number of annotations for a job, so for such a file the job log is the place to read.no test proof · iteration 0 · build/CI scripts only; test-proof not applicable