fix(agent99): align transport framing with payload cap
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m27s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-15 10:36:04 +08:00
parent bfc3ba6e08
commit 9476b234fc
2 changed files with 8 additions and 4 deletions

View File

@@ -163,10 +163,12 @@ def test_sender_builds_sha256_envelope_and_streams_it_without_remote_cli_data()
assert "remote_bootstrap_input_limit_exceeded" in source
assert "remote_bootstrap_sentinel_missing" in source
assert "line_width = 65536" in source
assert "len(payload_lines) > 8" in source
assert "max_payload_lines = 16" in source
assert "len(payload_lines) > max_payload_lines" in source
assert '"\\n".join(payload_lines)' in source
assert "remote_bootstrap_payload_line_contract_failed" in source
assert "$payloadLines.Count -gt 8" in source
assert "$maxPayloadLines = 16" in source
assert "$payloadLines.Count -gt $maxPayloadLines" in source
assert "$charCount -gt 1048576" in source
assert '<"${BOOTSTRAP_PAYLOAD_PATH}"' not in source
assert "rawEnvelope" not in source