fix: close 9 defects from adversarial bug-hunt sweep - #125
Merged
Merged
Conversation
- client: close the socket when readLoop exits, so reconnect swaps stop leaking fds and server slots; TUI closes the replaced old client - server: grace-poll the spawned stderr token before the legacy probe (HTTP can answer before the token line flushes and 403-fail a server bodek itself spawned) and fail fast if the child exits mid-wait - tokens: serialize persistence under the store mutex (interleaved Set/Delete could resurrect deleted tokens on disk) and quarantine a corrupt store as sessions.json.corrupt instead of silently wiping it - settings: staged tmp+rename save so a crash cannot truncate config.json - workspace: report failed persists on stderr instead of swallowing them - client: 30s client for bulk reads (session detail, export); export errors instead of silently truncating past the 64 MiB bound - cmd: SIGINT/SIGTERM quits the Bubble Tea program instead of a side- goroutine os.Exit that skipped terminal restore and deferred teardown - tui: regression tests for untrusted-wrapper folding
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bodek | b8c8d7a | Commit Preview URL Branch Preview URL |
Sep 18 2026, 10:14 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
3-wave adversarial bug hunt; 10 validated findings, 9 fixed (RED-test-first where testable):
Full
go test -race ./...green. Known-limitation follow-ups (odek-side) noted in session notes: wrapper nonce-binding, listener inheritance for freePort TOCTOU.