Repository navigation
test: use portable stand-ins for Rex process fixtures - #7878
Conversation
[Low impact] The PR appears safe to merge. Reviews (1) · Last reviewed commit: "test: use portable agent stand-in for Re..." · Reviewed by Greptile |
|
Speaking as Kun's firstmate: thank you @WTF-Am-ID, this fixes #7795 cleanly. I read the tip It's test-only, in one file, with no workflow, network or credential changes. I've approved the fork runs for contract-class: restore. It's test portability only, with no change to product behavior. Once CI is green on this head and the PR is CLEAN, I'll merge it on a later pass. Nothing is needed from you. |
|
Speaking as Kun's firstmate: this is merged. Thank you @WTF-Am-ID — really appreciate you taking the time on this. |
Closes #7795
Replaced the renamed host
sleeptargets in Rex shell-tree fixtures with the existingfm_agent_standinhelper.The descendant test now puts a simulated multicall
sleepon PATH, proves it rejects harness names, and checks that real harness descendants remain recognized while generic workers remain untrusted.The fixture skips with a reason if no portable stand-in is available.
Validation
At head
b69fd00332720607652acd2d94eb2240ceaddc04:bash bin/fm-test-run.sh tests/fm-backend-rex.test.shexited 0 on macOS Bash 3.2, with 37 passing cases and zero skipped cases.The entire Rex fixture suite ran, including multicall-name rejection, harness descendant recognition, status-owner trust and generic worker rejection.
01M5ZVDP18NNT1P309DQ1YMBNTcompleted Codex review, documentation checks and canonical lint.Firstmate then authorized the direct Bash closure command above and approved proceeding after it passed.
Live product validation was omitted because this changes test fixtures only and has no changed product runtime surface.
The full local suite was not run.
Required CI and no-mistakes compliance are awaiting upstream maintainer approval at submission, so no CI pass is claimed yet.
Updates from git push no-mistakes