Skip to content

Remove unused route option type parameters - #736

Merged
thomhurst merged 1 commit into
mainfrom
issue-620-route-options
Nov 13, 2026
Merged

thomhurst merged 1 commit into
mainfrom
issue-620-route-options

Conversation

@thomhurst

@thomhurst thomhurst commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Transport registrations no longer carry an empty route-options type: AddTransport<BrokerOptions, ConsumerOptions> now declares send, request and consumer routes. Remove all ten empty route option classes and RouteBuilder.Options / RouteDefinition.Options; keep portable SendRouteOptions, typed ordering selectors and native transport/consumer options unchanged.

Update every declaration call site, the analyzer's builder metadata lookup, AOT smoke code, benchmark fixtures and website examples. Regression-gate fixtures select the old signature when compiled against main's project. D79 records the public signature change.

Native/reuse review: builds on the existing Send/Request/Consume declarations, generated handler registration, named native Options pass-through, typed ordering selectors and startup capability validation. This removes empty Relayer configuration; no broker capability or native client behavior is implemented or duplicated. Native adapters are unchanged apart from builder signatures.

Validation: Release solution build passed with 0 warnings/errors; ConfigurationAnalyzerTests passed 84/84 across net10/net11. BuilderTests, CapabilityValidationTests, SenderTests, RequestResponseTests and PublicApiSurfaceTests passed all 282 existing cases; the new request declaration test passed on both targets after removing an unnecessary runtime client resolution from its declaration-only fixture. npm ci and npm run build passed in website. Final diff reviewed for reuse, correctness and efficiency.

Per-message cost: unchanged, 0 additional operations or allocations; only startup declaration types/empty options allocations are removed. No benchmark run required.

Closes #620

Validation evidence retained at /Users/tom/git/Relayer-evidence/pr-736/9c8ca1d319b32e1fb9452d9eeaac61c549d5aad8 with verified SHA-256 inventory (sha256.txt), test reports and test binaries.

Rebase validation at d0af00a: preserved main’s ServiceBusTransportOptions rename while removing the empty route generic. BuilderTests, RequestResponseTests, ServiceBusSendTests and ServiceBusTopologyExportTests pass 176/176 across net10/net11. npm ci and npm run build pass. Range-diff and diff-check reviewed. New reports and loaded test binaries are retained at /Users/tom/git/Relayer-evidence/pr-736/rebase-d0af00a9/ with 487 verified SHA-256 entries. Earlier CI allocation failure and its original inputs remain retained; this rebase does not attribute or claim to correct it.

Rebase validation at 20c843a: benchmark project Release build passes with 0 warnings/errors; website npm ci/build passes. Conflicts preserve main benchmark target-framework/NoWarn settings and both decisions, with route-builder decision now D77. Logs retained with SHA-256 inventory at /Users/tom/git/Relayer-evidence/pr-736/rebase-current/. Prior evidence hashes reverified (932 original, 487 prior-rebase entries); original worktrees unavailable, so no new original-file comparison is claimed.

Rebase validation for 981d1dc: preserved main’s RequestBuilder callback API and removed its empty route generic, adapting new request tests to portable send settings and native reply options. BuilderTests, RequestResponseTests and PublicApiSurfaceTests pass 76/76 across net10/net11. Reports and loaded binaries retained at /Users/tom/git/Relayer-evidence/pr-736/rebase-request/ (485 SHA-256 entries; copied inputs verified against originals). No per-message change. Website changes are unchanged by this rebase; prior site build remains recorded above.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 08aa0e0b-8700-4da8-aba5-9900dd072a7b
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@thomhurst

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T21:16:07.410145Z 1bac5b4 Draft marked ready
ℹ️ 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.

@github-actions

Copy link
Copy Markdown

Review

I checked the core changes (TransportBuilder<,>, RouteBuilder<TMessage>, RouteDefinition<TMessage>, AddTransport, the analyzer metadata name TransportBuilder2, D76) and searched the head for leftover references. I found none: no *RouteOptionstypes other than the portableSendRouteOptions, no three-argument TransportBuilder, and no two-argument RouteBuilder`.

  • Correctness: The change is a mechanical removal of an empty generic parameter. The analyzer's metadata lookup was updated to match, so it won't silently stop matching. Portable SendRouteOptions, ordering selectors and native options are unchanged.
  • Performance: Startup declarations only. There is no per-message change, and the PR states the per-message cost, as AGENTS.md requires.
  • Docs and decisions: D76 is recorded and the D23/D27 text is updated. Website examples and samples are updated, and the PR says the site build passed.
  • Native reuse: Nothing is re-implemented.
  • Non-blocking: This is a public API break, which is acceptable pre-release. The PR description cites a local evidence path (/Users/tom/...) that reviewers can't access. It is harmless, but don't commit evidence files.

No actionable issues.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 9c8ca1d319

ℹ️ 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".

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".

@thomhurst

Copy link
Copy Markdown
Owner Author

Both required reviewers cleared head 9c8ca1d, with no blocking findings or review threads. Claude’s evidence-path observation is non-blocking: the path records the repository-required local retention location; no evidence files are committed. Reverified the retained archive inventory and all 932 SHA-256 hashes at the location in the PR body. Proceeding through the guarded promotion and auto-merge script.

@thomhurst

thomhurst commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner Author

The earlier waiting blocker has ended: CI run 43486253505 failed net10's exact receive allocation comparison. Scoped/Consumer/Receive totals are 1,024,000 / 1,029,128 / 1,024,000 B. Consumer window 966 alone has caller=6,152 B (normally 1,024), worker=0 and zero Gen0/1/2 deltas. Net11 passed. Aggregate counters cannot attribute the allocating owner. Disabled auto-merge and restored draft; no unchanged CI retry.

Downloaded original hosted artifact ci-test-failure-net10.0-43486253505-1 (14067997720); all 244 binaries.sha256 entries verify. Source archive, original binaries, test log and host/runtime metadata remain at /Users/tom/git/Relayer-evidence/pr-736/run-43486253505-inputs/. Advisory Performance run43486253676 is separately dispositioned in #742: Build100Handlers reports 8.58% loss, still below 50 ms; no per-message regression is established. Full hosted performance artifact is downloaded at /Users/tom/git/Relayer-evidence/pr-736/run-43486253676/. No benchmark rerun or trade-off accepted.

Blocker-first: released pr-736 and acquired issue-687/pr-705/pr-348, then reacquired pr-736 for this record. Refreshed upstream dotnet/runtime#134724 and every comment: the complete Linux counter-only reproduction has no supported explanation/correction yet. #705 remains diagnostic tooling at a416eb8, not a correction; known experiments are terminal. Tried the existing #348 mitigation rather than duplicating it: original run42309147287 has zero artifacts, registered self-hosted runners zero, full artifact pagination has no exact cited Windows head/archive, and refreshed comments provide no archive access. #299 explicitly requires originals verification, which new runs cannot supply; no loss or proven dependency on #348 is claimed.

Resolve routes checked: fresh origin/main4a7bb94 supplies no correction, #687 has no native children/prerequisites, and no already-shipped, finished-parent, stale-scope, superseding implementation or reversible decision satisfies the outstanding correction. #736 still delivers #620 and retains Closes #620. Both current-head reviewers clear the change; REST reviews/inline comments and GraphQL threads have no outstanding findings. No speculative product fix, duplicate GC mitigation, assertion tolerance, warmup/parallelism change or competing experiment was made. No source changes, local tests or services.

Current blocker: [upstream] #687, whose existing on-hold condition is a supported runtime explanation/correction demonstrable without weakening exact equality; re-evaluate alternatively if separately held #348's originals become verifiable and its correction passes the protected lifecycle. This is not waiting on run43486253505. Releasing every owned lock.

Fresh assigned-unit Resolve audit: original run 43486253505 is terminal failure, so the quoted waiting reason no longer holds. Released pr-736 before blocker-first work; acquired issue-687 after its other owner released it, and acquired pr-705/pr-348. Refreshed upstream runtime#134724 and all comments: no supported explanation/correction has arrived after the complete Linux counter-only reproduction. #705 remains diagnostics, with no demonstrated correction. #348 remains held for access to its cited Windows originals: original run 42309147287 has zero artifacts, registered self-hosted runners are zero, full hosted-artifact pagination has no exact cited head match, and refreshed comments expose no new access link. #299 explicitly still requires original inventory/hash verification; a new run cannot supply that.

Fresh origin/main f8131f8 adds transport naming changes, not a correction to the allocation comparison. #687 still has no native children/prerequisites; no already-implemented, finished-parent, stale-scope, superseding-PR or reasonable reversible-choice route supplies the missing correction/evidence. #736 remains the sole PR delivering open #620 and retains Closes #620. Both required reviewers clear its unchanged head, all REST review/comment surfaces and GraphQL threads have no outstanding findings, and it remains draft/unarmed. No retry, competing diagnostic, assertion tolerance, GC/warmup/parallelism change, speculative production fix, local test or service was started.

The native blocked_by write was attempted for #736 -> #687, but GitHub rejects pull requests as the source (HTTP 422: Source issue may only be an issue); this visible comment records the prerequisite instead. Current blocker remains [upstream] #687; resume on a supported correction that preserves exact equality, or re-evaluate the separately held #348 once its original evidence is accessible and verified. All owned locks released after this record.

The quoted deferral is stale: #348 now has fresh independently verified Linux evidence, revised #299 acceptance accurately distinguishes new evidence from inaccessible historical Windows originals, and its access hold is removed. Under its other worker’s lock it has completed current-head review, is ready and auto-merge armed, with required CI run 43492619820 underway. My linked pr-348 acquire returned HELD, so I left that work with its owner. #687 remains open for historical attribution; its original evidence does not have to be recreated to evaluate this separate demonstrated test-host mitigation.

Independently resolved this PR’s new conflicts with main f8131f8 and pushed d0af00a. The two conflict resolutions preserve ServiceBusTransportOptions from #740 while removing the empty route-options generic from AspireConnectionExtensions and ServiceBusBuilderExtensions. Range-diff confirms the intended adaptation, with no lost changes. All 176 focused builder/request/ServiceBus tests pass across both frameworks; npm ci/build and diff-check pass. New validation archive and verified inventory are recorded in the PR body. Original unfavorable CI evidence remains retained; no allocation assertion, warmup, parallelism or GC setting changed in this PR, and no unchanged CI retry occurred.

Resolve routes checked: #736 still uniquely delivers open #620 and retains Closes #620; main does not already remove the route type, no finished-parent or superseded route applies, and its scope remains accurate. The reasonable reversible route was resolving the actual conflicts while the existing mitigation progresses, rather than duplicating #348 or repeating the obsolete access deferral. REST reviews/inline comments, all conversation comments and GraphQL threads had no outstanding findings before this push. The new head stays draft and needs both reviews; old-head approvals do not authorize promotion. No services were started. Releasing pr-736; no other lock was acquired.

Assigned-unit Resolve audit: the quoted deferral no longer holds. #348 now has fresh independently verified Linux evidence and revised #299 acceptance; its former inaccessible-originals-only gate is removed. Its one-property test-host mitigation preserves exact equality, warmup and parallelism and does not change production or benchmark settings. Current head 3d10750 is ready and auto-merge armed; existing required CI run 43492619820 has passed net10 and is still running net11. Released pr-736 for blocker-first work; acquiring pr-348 returned HELD by another worker, so no competing mutation or workflow was started. Reacquired pr-736 before updating this comment.

Refreshed dotnet/runtime#134724 and every comment: no upstream-supported explanation/correction has arrived; historical attribution remains open separately in #687. #705 remains published diagnostics at a416eb8, not a correction. #687 has no native children/prerequisites. Fresh origin/main f8131f8 lacks #348's test-host property and still has the route-options surface: #736 uniquely delivers open #620 and retains Closes #620. Already-implemented, finished-parent and superseded-PR routes do not apply; #620 scope remains accurate. The stale evidence constraint was already corrected in #299/#348. The reasonable reversible route is to let the existing reviewed mitigation finish protected CI, then incorporate it into #736 after merge and review/validate that new head, rather than duplicate it or wait indefinitely for historical attribution.

Current #736 head d0af00a has Claude CLEAR and Codex completed/no findings. Every REST review, inline comment, conversation comment and GraphQL thread was checked; there are no outstanding findings or threads. It remains draft/unarmed while the test-host correction progresses. No source changes, local tests, services, retries, assertion relaxation or new diagnostic captures. Next gate: #348 run 43492619820, not an upstream-only or inaccessible-evidence deferral. Releasing pr-736; pr-348 belongs to another worker and was not acquired.

@thomhurst
thomhurst force-pushed the issue-620-route-options branch from 9c8ca1d to d0af00a Compare November 13, 2026 19:29
@thomhurst

Copy link
Copy Markdown
Owner Author

@codex review

Please review rebased head d0af00a; conflict resolutions and fresh validation are recorded in the updated PR body and existing progress comment.

@github-actions

Copy link
Copy Markdown

Review

I read the PR description and diff and searched the head for leftover references. I did not build the code or run the tests myself.

What I checked

  • Leftover references: nothing remains of the old three-parameter TransportBuilder, the two-parameter RouteBuilder and RouteDefinition, or the per-transport route option classes. The only remaining *RouteOptions matches are the intentionally retained SendRouteOptions, including in the docs.
  • Call sites: the transport extensions (Kafka, SQS/SNS, Service Bus, RabbitMQ and Streams, NATS, Google Pub/Sub, PostgreSql local, InMemory), UseSerializer, UseAspireConnection, the analyzer, AOT smoke, benchmarks and tests all move to AddTransport<TTransportOptions, TConsumerOptions>.
  • Conventions:
    • D76 is recorded in docs/decisions.md, and docs/design.md is updated.
    • The change removes empty configuration and re-implements no native feature.
    • Per-message cost is stated as unchanged, so no benchmark is needed.
    • The PR adds a request-declaration test.
  • Public API: this is a breaking signature change. It is acknowledged and recorded in D76, and PublicApiSurfaceTests is updated.

I found no correctness, security or performance concerns. Beyond the PR's own validation notes, I'd only expect the CI Documentation site and regression-gate compile jobs to pass.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: d0af00a9ca

ℹ️ 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".

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".

@thomhurst
thomhurst force-pushed the issue-620-route-options branch from d0af00a to 753eb38 Compare November 13, 2026 20:10
@thomhurst

Copy link
Copy Markdown
Owner Author

The earlier blocker is resolved: #348 merged as a80ded6 after run 43492619820 succeeded. Rebased this PR onto that main commit and pushed 753eb38. The existing ConcurrentGarbageCollection=false test-host correction is now inherited from main; no duplicate mitigation, production change, allocation assertion relaxation, or workflow retry was introduced.

Resolve audit: #736 still uniquely delivers open #620 and retains Closes #620. No already-implemented, finished-parent, stale-scope or superseded-PR route applies. Historical attribution in #687 remains separate and does not block using the merged correction. All review surfaces on the previous head were clear, with current-head Claude CLEAR and Codex completed/no findings and no threads. The conflict-free rebase has an identical patch according to git range-diff; git diff --check passes and the worktree is clean. Per repository instructions, unchanged tests/docs builds were not repeated after a rebase without code conflicts; prior validation remains documented against its measured SHA, not claimed as new-head evidence.

The PR remains draft for fresh review of 753eb38. No services started. This unit pushed the existing correction into the PR base rather than deferring again.

@codex review

@github-actions

Copy link
Copy Markdown

Review

I read the core changes: TransportBuilder, RouteBuilder, RouteDefinition<TMessage>, AddTransport<TTransportOptions, TConsumerOptions>, the analyzer's metadata lookup (TransportBuilder2`), D76 and the website example. I also checked the regression-gate fixtures.

  • Correctness: The empty route-options type is removed consistently. The analyzer now looks up TransportBuilder2, which matches the new arity. Searching the head for the old three-argument AddTransport/TransportBuilderforms found only the regression-gate fixtures, and each of those sits in the#elsebranch of#if RELAYER_REDUCED_BUILDERS`. They keep compiling against main's project as the PR description says.
  • Performance: Per-message paths are untouched. Only startup declaration types and empty options allocations go away. The PR states this and does not add a benchmark, as AGENTS.md asks.
  • Decisions and docs: D76 records the public signature change and design.md is updated. The configuration guide uses the two-argument form.
  • Native reuse: Nothing is reimplemented. Native option pass-through, the typed ordering selectors and SendRouteOptions are unchanged.

Non-blocking nit: website/docs/guides/configuration.md still declares public sealed class RouteOptions { } in the example option types, and nothing references it any more. Delete that line so the sample doesn't suggest a route-options type is still needed.

No blocking issues.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 753eb380e9

ℹ️ 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".

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".

@thomhurst

thomhurst commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner Author

The earlier blocker is resolved: #348 merged after run 43492619820 succeeded, and current head 753eb38 includes that correction. Both required reviewers cleared this head. All paginated REST review/comment surfaces and GraphQL threads were checked again in this assigned unit; there are no review objects, inline comments or review threads, and no outstanding conversation findings.

Disposition of Claude comment #736 (comment) remains unchanged: the unused RouteOptions declaration is a non-blocking sample cleanup. It does not affect the documented two-argument API or compilation; declining this optional nit under the review rule against a nit-only push.

The prior unit verified the retained validation inventories (932 original and 487 rebase entries), with the original worktrees already unavailable; no new tests or original-file comparison is claimed.

Fresh assigned-unit Resolve audit: the quoted waiting reason still holds. Existing required CI run 43499484714 is in_progress: net11 Build & Test and Documentation site succeeded; net10 is in its Test step. The PR remains ready and auto-merge armed on the unchanged current head. #348 is merged, so there is no remaining actionable prerequisite to acquire. Historical attribution in #687 is separate from the merged mitigation. Freshly fetched origin/main still declares TransportBuilder<TTransportOptions, TRouteOptions, TConsumerOptions>, so #620 is not already implemented. #620 remains open, its acceptance criteria still match the change, and this PR retains Closes #620. No finished-parent, stale-scope, replacement/superseded-PR or reversible-choice route removes the pending protected CI gate. There is no failed run to diagnose or rerun, and creating a competing run or changing a reviewed head would not resolve this wait.

No source change, retry, competing workflow, local test or service was started. This is waiting on the existing run, not an external deferral; no on-hold label is warranted. Releasing the only owned lock, pr-736.

@thomhurst
thomhurst marked this pull request as ready for review November 13, 2026 20:13
@thomhurst
thomhurst enabled auto-merge (squash) November 13, 2026 20:13
@thomhurst
thomhurst marked this pull request as draft November 13, 2026 20:36
auto-merge was automatically disabled November 13, 2026 20:36

Pull request was converted to draft

@thomhurst
thomhurst force-pushed the issue-620-route-options branch from 753eb38 to 20c843a Compare November 13, 2026 20:37
@thomhurst

Copy link
Copy Markdown
Owner Author

The quoted waiting blocker has ended: run 43499484714 passed CI on 753eb38. Both reviewers cleared that head, with no outstanding review objects, inline comments or threads. Claude’s unused sample declaration nit remains non-blocking and dispositioned under the nit-only push rule.

Fresh state exposed conflicts against main 489ce70, so restored draft (auto-merge is null), rebased and pushed 20c843a. Preserved main’s benchmark target-framework/NoWarn settings and added RELAYER_REDUCED_BUILDERS to its existing constants. Preserved the EF provider decision as D76 and renumbered this PR’s route-builder decision/cross-reference to D77. Range-diff confirms these adaptations; no runtime code conflict or lost change. Release benchmark-project build passes with 0 warnings/errors; npm ci/build and diff-check pass. Unchanged runtime tests were not repeated. Verified prior retained inventories (932 and 487 entries); fresh logs/inventory and measured SHA are recorded in the PR body. No original-worktree comparison is claimed.

Resolve audit: #348 is merged; #687 historical attribution is separate and no longer blocks the merged mitigation. #736 uniquely delivers still-open #620 and retains Closes #620; main still has the old route generic. No finished-parent, stale-scope, already-implemented or superseding route applies. Resolving actual conflicts was the actionable route rather than deferring on a completed run. No retry, competing workflow, local test, benchmark run or service started. New head remains draft for both fresh reviews; old approvals do not authorize promotion.

@codex review

@github-actions

Copy link
Copy Markdown

Review of PR 736 (remove empty route options): the change is a mechanical signature simplification and looks correct. Checked against the PR head: RouteBuilder and RouteDefinition drop the empty options type parameter while SendRouteOptions and typed ordering selectors are kept. AddTransport<TTransportOptions, TConsumerOptions> matches TransportBuilder arity, and the analyzer lookup of TransportBuilder with two type parameters is consistent. No per-message impact, so no benchmark is needed. D77 records the public signature change.

Non-blocking nit: website/docs/guides/configuration.md line 32 still declares an unused empty RouteOptions class in the example option types. Delete it so readers do not wonder what it is for.

No blocking issues.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 20c843a807

ℹ️ 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".

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".

auto-merge was automatically disabled November 13, 2026 20:48

Pull request was converted to draft

@thomhurst
thomhurst force-pushed the issue-620-route-options branch from 20c843a to 05cd50b Compare November 13, 2026 20:48
@thomhurst

Copy link
Copy Markdown
Owner Author

The quoted waiting run 43503802754 was still testing when inspected, but it was no longer the only gate: this PR conflicted with newly merged #741 on main 4da5ac8. Restored draft, rebased and pushed 05cd50b. Preserved main’s D77 batch-item decision and renumbered the route-builder decision/cross-reference to D78, adding its decision index entry. Range-diff confirms these are the only patch adaptations; automatic merges preserve the native batch-failure changes while removing the route generic from their registration call sites. git diff --check passes and the worktree is clean. No runtime code conflict; unchanged tests and website builds were not rerun, and no new validation evidence is claimed.

Resolve audit: #348 is merged; historical attribution #687 is separate from the merged test-host mitigation. #620 remains open with matching acceptance criteria and this PR retains Closes #620; main still has the old route generic. No already-implemented, finished-parent, stale-scope, superseding PR or additional prerequisite route applies. Resolving the actual conflict was the actionable route rather than deferring on an in-flight run. All paginated REST review/inline/conversation surfaces and GraphQL threads were checked: no outstanding blocking findings. Claude’s unused sample declaration nit remains non-blocking and previously dispositioned under the nit-only push rule. New head requires fresh reviews and stays draft; prior approvals do not authorize promotion. No workflow retry, competing diagnostic, services or per-message change introduced.

@codex review

@github-actions

Copy link
Copy Markdown

Review

This is a mechanical removal of the empty TRouteOptions type parameter. I read the core changes (TransportBuilder, RouteBuilder, RouteDefinition, IRelayerBuilder, RelayerInfrastructureExtensions, in-memory options, ConfigurationAnalyzer) and checked the rest of the repo for leftover references.

  • Correctness: the arity change is applied consistently. The analyzer's metadata name moved from TransportBuilder3toTransportBuilder2, which matches the new generic arity. A grep of pr-head finds no remaining RouteBuilder<,>, RouteDefinition<,> or three-argument TransportBuilder<,,> usages. Portable SendRouteOptions, the typed ordering selectors and the native consumer and transport options are untouched.
  • Performance: this only affects startup declaration types. Nothing on the per-message path changes, and the PR states that. No benchmark is needed.
  • Design: this follows the explicit-not-magic and one-obvious-way principles, and the public signature change is recorded as D78.
  • Docs, non-blocking: website/docs/guides/configuration.md:32 still declares the example public sealed class RouteOptions { }. It is no longer used by the sample, so it is dead and misleading. Please delete that line to keep the docs consistent with the API.

Nothing blocks merge. The stale docs line is a trivial cleanup.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 05cd50b477

ℹ️ 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".

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".

@thomhurst

Copy link
Copy Markdown
Owner Author

Assigned-unit Resolve audit: run 43503802754 belongs to the superseded head; current head 05cd50b is mergeable and both required reviewers clear it (Claude 43504980605/1 and current Codex summary). Checked every paginated review, inline and conversation surface plus GraphQL threads: no outstanding blocking findings or threads. Claude comment 6864591569 repeats the previously dispositioned non-blocking unused sample declaration nit; declining a nit-only push under the review policy.

Fresh origin/main 5820aeb still has the old route generic; #620 remains open with matching acceptance criteria and this PR retains Closes #620. #348 is merged and historical #687 attribution is separate from its correction. No already-implemented, finished-parent, stale-scope, superseding PR or actionable prerequisite route applies. The reasonable reversible route is guarded promotion of this reviewed, mergeable head. No competing run or retry is needed.

Reverified retained inventories at the locations in the PR body: 932 original, 487 prior-rebase and 3 current-rebase entries all match SHA-256. Original worktrees are unavailable, so no fresh comparison to originals or new validation is claimed. No edits, tests or services started. Proceeding through the guarded promotion script.

@thomhurst
thomhurst marked this pull request as ready for review November 13, 2026 20:53
@thomhurst
thomhurst marked this pull request as draft November 13, 2026 20:54
@thomhurst
thomhurst force-pushed the issue-620-route-options branch from 05cd50b to 981d1dc Compare November 13, 2026 20:55
@thomhurst

Copy link
Copy Markdown
Owner Author

Guarded promotion caught new conflicts after main advanced and did not arm auto-merge. Restored draft and rebased onto main 48cdfcd; pushed 981d1dc. Preserved main’s new RequestBuilder callback API while removing its empty route-options generic, and adapted both request declaration tests to portable SendOptions and native reply settings. Automatic merges preserve the new SQS batching work. Reviewed range-diff and final adaptation; diff-check passes. All 76 BuilderTests, RequestResponseTests and PublicApiSurfaceTests pass across net10/net11. Verified archive location and inventory are in the updated PR body. No broker capability duplicated, per-message change, workflow retry or service started. This resolves the actual conflict rather than deferring on the superseded run. New head stays draft and requires fresh reviews.

@codex review

@github-actions

Copy link
Copy Markdown

Review of #736 (remove empty route-options type parameter)

I found no actionable issues.

  • Core API: TransportBuilder<TTransportOptions, TConsumerOptions>, RouteBuilder<TMessage>, RouteDefinition<TMessage>, RequestBuilder<TRequest, TConsumerOptions>, IRelayerInfrastructure.AddTransport and UseSerializer are changed consistently. Portable SendRouteOptions, typed ordering selectors and native transport and consumer options are unchanged.
  • Analyzer: ConfigurationAnalyzer now looks up the metadata name Relayer.TransportBuilder2`, matching the new arity. The PR reports 84/84 analyzer tests passing.
  • Leftovers: I searched pr-head for the old arity, the removed *RouteOptions classes and two-argument RouteBuilder<...,...> usages. The only RouteOptions matches are the retained SendRouteOptions.
  • Transports and fixtures: All the transport extensions, Aspire helpers, AOT smoke code, benchmarks (including the RegressionGate fixtures) and tests are updated to the new signatures.
  • Performance: This only touches startup declaration types, so the per-message cost is unchanged. The PR states that and correctly skips a benchmark.
  • Docs: D78 in docs/decisions.md, docs/design.md and the website pages (configuration, topology, authoring) are updated in the same PR. The PR reports npm run build passing.
  • Public API change: This is a breaking signature change. It is recorded in D78 and PublicApiSurfaceTests is updated.

I did not run any builds or tests. The above comes from reading the diff and searching the head.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 981d1dc689

ℹ️ 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".

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".

@thomhurst

Copy link
Copy Markdown
Owner Author

The quoted waiting blocker has ended: run 43503802754 succeeded on a superseded head. Current head 981d1dc is mergeable; Claude run 43505964798/1 is CLEAR and Codex current-head summary is completed with no findings. All paginated conversation/review/inline surfaces and GraphQL threads were checked: no outstanding findings or threads. Earlier optional sample nit is already dispositioned; the latest review reports no actionable issues.

Reverified all retained evidence inventories at the PR-body locations: 932 original, 487 earlier-rebase, 3 current-rebase and 485 request-rebase SHA-256 entries match. Original worktrees are unavailable, so no new original-file comparison or validation is claimed.

Resolve audit: main still declares the three-parameter TransportBuilder; #620 remains open with matching scope and Closes #620 remains present. #348 is merged; historical #687 attribution is separate from its mitigation. No already-implemented, finished-parent, stale-scope, superseding PR or actionable prerequisite route applies. Guarded promotion of the reviewed current head is the actionable route. No edits, retries, tests or services started. Proceeding through Enable-AutoMerge.ps1 -MarkReady.

@thomhurst
thomhurst marked this pull request as ready for review November 13, 2026 21:00
@thomhurst
thomhurst enabled auto-merge (squash) November 13, 2026 21:01
@thomhurst

Copy link
Copy Markdown
Owner Author

Guarded promotion succeeded on unchanged head 981d1dc; auto-merge is armed. Ready-event CI run 43506664863 is now the pending protected gate. No competing run or retry was started. Releasing the only owned lock, pr-736.

@thomhurst
thomhurst marked this pull request as draft November 13, 2026 21:10
auto-merge was automatically disabled November 13, 2026 21:10

Pull request was converted to draft

@thomhurst
thomhurst force-pushed the issue-620-route-options branch from 981d1dc to 1bac5b4 Compare November 13, 2026 21:10
@thomhurst

Copy link
Copy Markdown
Owner Author

Assigned-unit Resolve audit: the quoted run 43506664863 was still in progress, but new conflicts with main 3071760 supplied an actionable route. Restored draft and rebased; pushed 1bac5b4. Preserved main’s D78 failed-outbox-batch decision and renumbered this PR’s route-builder decision, index and cross-reference to D79. Range-diff confirms these are the only patch adaptations; the authoring documentation merged automatically. Diff-check passes and the worktree is clean. No code under test changed in the conflict resolution, so prior tests/builds were not repeated and no new validation evidence is claimed. Per-message cost remains unchanged.

Checked every paginated REST review, inline and conversation surface plus GraphQL threads: no reviews, inline comments or threads, and no outstanding blocking conversation findings. Both reviewers cleared the previous head; the new head needs fresh reviews and remains draft. No retry or competing workflow was started.

Resolve routes: #348 is merged; historical #687 attribution is separate from its mitigation. Fresh main retains the old generic surface; #620 remains open with matching acceptance criteria and this PR retains Closes #620. No already-implemented, finished-parent, stale-scope, superseding PR or actionable prerequisite route applies. Resolving the actual conflict advances this item rather than deferring on its superseded CI run. No services started. Releasing the only owned lock, pr-736.

@codex review

@github-actions

Copy link
Copy Markdown

Review

This is a mechanical refactor. It removes the empty route-options type and moves AddTransport to <TTransportOptions, TConsumerOptions>. I grepped the head for leftover RouteBuilder<,>, RouteDefinition<,>, three-argument TransportBuilder and metadata names like TransportBuilder3. None remain in code. The analyzer lookup now uses TransportBuilder2. D79 is recorded, and the per-message cost note (unchanged, 0 B) matches the change. A new test covers request declarations keeping their route settings and reply options. I did not build or run tests.

One non-blocking finding:

  • website/docs/guides/configuration.md:32 still has public sealed class RouteOptions { } in the example option types. Nothing uses it any more, since the sample calls AddTransport<BrokerOptions, ConsumerOptions>. It suggests a route options type still exists, which contradicts D79. Delete the line.

No blocking issues.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 1bac5b4c21

ℹ️ 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".

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".

@thomhurst

Copy link
Copy Markdown
Owner Author

Assigned-unit Resolve audit: run 43506664863 is still in progress but belongs to superseded head 981d1dc; it is no longer the gate for current head 1bac5b4. Both required reviewers clear the current head (Claude 43508374122/1 CLEAR; Codex current-head summary completed/no findings). All paginated review, inline and conversation surfaces and GraphQL threads checked: no outstanding blocking findings or threads. Claude comment 6865035047 repeats the previously dispositioned non-blocking unused sample declaration nit; declining a nit-only push under repository review policy.

Fresh origin/main still declares the three-parameter TransportBuilder. Open #620 retains matching acceptance criteria and this PR retains Closes #620. #348 is merged; historical attribution #687 remains separate from its merged mitigation. No already-implemented, finished-parent, stale-scope, superseding PR or actionable prerequisite route applies. Guarded promotion of the reviewed current head is the available reversible route, rather than another deferral or competing run.

Reverified retained SHA-256 inventories recorded in the PR body: 932 original, 487 prior-rebase, 3 current-rebase and 485 request-rebase entries match. Original worktrees are unavailable; no fresh original-file comparison or new validation is claimed. No source edits, tests, retries or services started. Proceeding through Enable-AutoMerge.ps1 -MarkReady.

@thomhurst
thomhurst marked this pull request as ready for review November 13, 2026 21:15
@thomhurst
thomhurst enabled auto-merge (squash) November 13, 2026 21:15
@thomhurst

Copy link
Copy Markdown
Owner Author

Guarded promotion succeeded on unchanged reviewed head 1bac5b4, and auto-merge is armed. Ready-event CI run 43508985435 is the current protected gate, replacing superseded run 43506664863. No competing run or retry was started. Releasing the only owned lock, pr-736.

@thomhurst
thomhurst merged commit 44489e0 into main Nov 13, 2026
20 of 21 checks passed
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.

Remove the unused TRouteOptions type parameter from transport builders

1 participant