aboutsummaryrefslogtreecommitdiff
path: root/scripts/tests/inbox-boundary-check-hook.bats
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-23 23:57:58 -0500
committerCraig Jennings <c@cjennings.net>2026-07-23 23:57:58 -0500
commita053e9d1ecbf583b4a6f054c34f64ad1f359365e (patch)
tree27d60e5b02df6fdfad8094886c08952c82d5c70f /scripts/tests/inbox-boundary-check-hook.bats
parent0f91a8e0cd0a4b5b351efe407987bb8bb6ab125e (diff)
downloadrulesets-a053e9d1ecbf583b4a6f054c34f64ad1f359365e.tar.gz
rulesets-a053e9d1ecbf583b4a6f054c34f64ad1f359365e.zip
fix(inbox-send): clean error on an unreadable source, dedupe overlapping roots
main caught ValueError and FileNotFoundError around the send, so an unreadable source raised a PermissionError as a raw traceback instead of the clean "inbox-send: <message>" every other failure produces. Widening the catch to OSError covers the unreadable source, the missing source, and any atomic-write failure alike. discover_projects appended without deduping, so a roots config naming both a parent directory and one of its children listed the same project at two indices. It now dedupes on the resolved path, first-seen order preserved.
Diffstat (limited to 'scripts/tests/inbox-boundary-check-hook.bats')
0 files changed, 0 insertions, 0 deletions