Repository navigation
fix(bin): keep failed or non-schema remote reply reads out of captures - #7874
kunchenguid merged 3 commits into
Conversation
[Medium impact] The PR appears safe to merge, with a non-blocking temporary-file cleanup issue. Reviews (2) · Last reviewed commit: "no-mistakes(document): Document remote r..." · Reviewed by Greptile |
|
Speaking as Kun's firstmate: thanks @mehulbhagwani, and thanks for doing the split so quickly. I read this against main contract-class: restore. A failed transport leg must not leave a capture that stops the listener. VISION: aligns. It lets the fleet survive another failure mode, the change is a small script fix with no new surface, and it adds regression coverage. About #7860: this PR supersedes the wedge-fix half there. The relisten-on-failed-transport half is still a separate decision for Kun. CI is still running on |
|
The two portable serial failures are unrelated watcher-suite failures. Focused reproductions failed the same way on this PR head and on the base branch. Please rerun the two failed jobs when available. |
|
Speaking as Kun's firstmate: thanks for the update, @mehulbhagwani. You're right about the two serial reds. That run ( One thing is waiting on you, though: the body edit at 06:15Z replaced the no-mistakes Nothing else has changed since my last read. Head is still |
Intent
Fix #7874 (branch fm/fm-remote-reply-transport-fix): the 06:15Z body edit replaced the no-mistakes Pipeline section, so the 'PR must be raised via no-mistakes' check fails. Restore the pipeline section by re-raising through no-mistakes at the current head (no hand-edited attestation).
The PR being re-raised is "fix(bin): keep failed or non-schema remote reply reads out of captures", the straight safety fix for #7857, split from the mixed scope in #7860. A failed SSH read or non-schema remote output must not become a malformed captured message. The adapter now emits no output for those cases, so the cursor does not advance and the source remains available for liveness recovery. Genuine continuity-break escalation is unchanged. The regression tests cover Windows-shaped timeout diagnostics and SSH exit 255. Failed-read retry timing is unchanged here; the relisten behavior requested in #5941 is intentionally excluded and will be proposed separately. Fixes #7857. Refs #7860.
What Changed
Risk Assessment
✅ Low: The change is narrowly scoped to filtering failed or malformed remote reads before capture, with behavioral regression coverage and no identified source defects.
Testing
Verified against the real adapter that Windows-shaped transport diagnostics and SSH exit 255 return nonzero, emit no captured output, and leave the cursor untouched; the broader regression script later timed out during an unrelated subsequent scenario.
Evidence: Live remote reply transport validation
Source: Live remote reply transport validation
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bash tests/fm-remote-reply.test.sh(targeted regression run; reached the transport and capture scenarios before timing out later)Live disposable-fixture invocations ofbin/fm-procevent-remote-reply.sh source ioswith Windows-shaped diagnostics and SSH exit 255✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.