Skip to content

fix(cri): refuse inventing SPDY exec success without authenticated exit - #403

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/spdy-exec-exit-no-invent
Sep 15, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/spdy-exec-exit-no-invent

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Non-TTY SPDY exec no longer seeds exit 0 before ExecEvent::Exit; transport EOF/error fail-closes to synthetic 255 (CRI supervisor parity) so kubectl does not see invented success.
  • TTY SPDY exec now projects authenticated PtyExit codes on the error stream (previously ignored non-zero exits and also invented success on mid-stream drop).
  • Unit tests lock authenticated keep vs absent → 255; CHANGELOG/ROADMAP honesty bullets updated. Does not flip B2, invent Live digests, or widen timeouts.

Test plan

  • cargo test -p a3s-box-cri resolve_spdy_exec_exit (Linux CI)
  • Confirm Format/Clippy/CI green
  • Spot-check: authenticated Exit(0) still silent-closes error stream; Exit(137) still NonZeroExitCode Failure

Seed kubectl error-stream status only from ExecEvent::Exit / PtyExit; absent evidence fail-closes to 255 instead of empty success close.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 2a3e2ea into main Sep 15, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the honesty/spdy-exec-exit-no-invent branch September 15, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant