Repository navigation
test(watch): gate backlog-hold away-record fixture on tasks-axi - #4230
cipherholdingsllc wants to merge 1 commit into
Conversation
Every other make_hold_home caller in this file skips when tasks-axi is absent; test_backlog_hold_never_rechecked_while_away_record_exists was the one unguarded call, so hosts without tasks-axi hard-fail the fixture build instead of skipping. Add the same command -v guard. Verified: on a host without tasks-axi the test now reports "skip: tasks-axi not found (away-record backlog hold)" and exits clean.
|
Author review What landed: a Residual risk: none structural — the only question is the skip label wording ( Verified: on a macOS host without |
|
Closing this — resubmitting through the required no-mistakes pipeline so the gate check is real rather than manually flagged. Thanks for the patience. |
One test was crashing on machines without
tasks-axiinstalled instead of politely skipping like its siblings.The problem
test_backlog_hold_never_rechecked_while_away_record_existsintests/fm-watch-triage.test.shcallsmake_hold_home, which shells out totasks-axito build the backlog fixture. Every othermake_hold_homecaller in the file guards withcommand -v tasks-axiand printsskip: tasks-axi not found (...)— this one didn't, so on a host without the tool the suite reportsnot ok - could not build the backlog-hold fixtureinstead of a clean skip.The fix
Adds the same
command -v tasks-axiguard at the top of the test, matching the sibling pattern verbatim. Two lines, test-only, no production code.Verified
On a host without
tasks-axi(macOS), the test now reportsskip: tasks-axi not found (away-record backlog hold)and exits clean; previously it failed.bash -nclean.Note on the no-mistakes gate
This PR was prepared manually outside the no-mistakes pipeline, so the
PR must be raised via no-mistakescheck will fail — flagging in advance so the red X isn't a surprise. Happy to re-submit through the pipeline or hand this off as a patch if you prefer; the diff is a two-line test guard.