Skip to content

fix(relay): align message and worker byte framing - #274

Merged
abruption merged 4 commits into
mainfrom
abruption/stability-264-20261007
Oct 7, 2026
Merged

abruption merged 4 commits into
mainfrom
abruption/stability-264-20261007

Conversation

@abruption

Copy link
Copy Markdown
Owner

Summary

  • Define compatible bounded UTF-8 message, escaped application-envelope and native-worker byte budgets, including operator-owned bindings.
  • Preserve accepted Unicode and escaping-heavy worker input; reject known oversize frames before application writes, worker spawn or receiver journal intent.
  • Keep uncertain post-submission failures unknown with no automatic resend. Refresh application expiry after route setup while retaining the original request ID/body.
  • Document the 32 KiB message, 64 KiB application and 256 KiB worker limits in four locales.

Fixes #264

Type of change

Paired-device stability fix with synthetic framing/worker and effect-boundary regressions.

Validation

  • Framing regressions: 13 passed, including ASCII/Hangul/emoji/control escaping, long bindings, exact/over limits, no write/spawn/journal on refusal, post-submission uncertainty and slow send/status route setup.
  • Full relay suite: 202 passed. Documentation suite: 29 passed.
  • Comprehensive suite in an isolated relay/MCP/test-dependency environment: 752 tests, 12 platform/optional skips, unittest success.
  • Standalone generator and git diff checks passed.
  • The comprehensive local run emitted non-failing asyncio server-close/unclosed-transport diagnostics; this is not a warning-free claim. The targeted relay run passed, and CI gates remain mandatory.

Dependencies and boundaries

Includes PR #269's lockfile-only dependency repair for the existing Control audit gate. No live agent/model ACK, remote campaign, service configuration change, main merge, release or operational deployment was performed. Synthetic queued/submitted results do not prove consumption.

@abruption

Copy link
Copy Markdown
Owner Author

@codex security review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T06:58:14.304157Z e9f6bcb PR opened
🔒 Security Review ✅ Completed 2026-10-07T06:58:55.373260Z e9f6bcb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abruption abruption added this to the v1.0.4 milestone Oct 7, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: e9f6bcbfeb

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@abruption
abruption merged commit 21b8800 into main Oct 7, 2026
28 checks passed
@abruption
abruption deleted the abruption/stability-264-20261007 branch October 7, 2026 09:10
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.

fix(relay): align message byte limits and native worker framing

1 participant