Repository navigation
Pin Service Bus send allocation checks to the native SDK baseline - #373
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ReviewI reviewed the diff against AGENTS.md. The change touches tests, a benchmark and docs only, with no production code.
Nothing actionable found. |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Both required reviewers cleared head 69524ab; all review surfaces have no outstanding findings or threads. Reverified the complete 245-file SHA-256 inventory at |
The Service Bus send allocation check still described SDK-required strings as a release blocker after D52, and compared preparation with discarded conversions rather than an actual native message. It now compares equivalent warmed raw SDK body/header/content-type preparation and asserts exact allocation equality. The existing header benchmark also covers stored trace creation context; the site describes the measured boundary without claiming the unmeasured 5% throughput target.
Reuses #300/#297's changing ID/timestamp, serializer, wire-type and buffer-lifetime coverage and retains the DefaultJson acknowledged comparison. Azure.Messaging.ServiceBus 7.21.0's ContentType property and native conversion use strings for text; the existing upstream request Azure/azure-sdk-for-net#64450 remains the optimization follow-up. No native feature is reimplemented.
Validation: six allocation/lifetime cases pass. Adapter and raw preparation both allocate 312/368 B without tracing and 504/560 B with tracing (string/UTF-8 content type respectively), adding 0 B in each case on .NET 10.0.14 arm64.
npm ciandnpm run buildpass; Release benchmark build and all eight Dry/in-process header benchmark cases pass. The first parallel benchmark build failed with MSBuild worker exits (MSB4166); a serial-m:1 -nr:falsebuild passed. Dry runs verify execution only, not throughput. No broker comparison was rerun because production transport behavior is unchanged.Per-message production cost: unchanged, 0 added operations and 0 added B. This updates tests, benchmark coverage and docs only; no new trade-off or budget exception.
Closes #295
Validation evidence and SHA-256 inventory:
/Users/tom/git/Relayer-evidence/pr-373/69524ab85b30337064c2436830600fcbf6665cda(test reports, loaded test binaries, build logs and benchmark smoke artifacts).