Skip to content

Remove unused pre-release public APIs - #750

Merged
thomhurst merged 1 commit into
mainfrom
issue-644-unused-api
Nov 13, 2026
Merged

thomhurst merged 1 commit into
mainfrom
issue-644-unused-api

Conversation

@thomhurst

@thomhurst thomhurst commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Removes the unused pre-release partition scheduler/completion window and their dependent options, bindings and tokens. Removes static transport capability stubs; RabbitMQ keeps the same conservative defaults in an internal helper, with registered runtime endpoint capabilities authoritative. Updates D23/D42, the design and website references/status together.

Retains IOutboxStore.ReadPendingAsync and RenewClaimAsync: D29 and the documented provider/custom-dispatcher contract are supported consumers, covered through IOutboxStore by the shared store conformance tests. Bundled workers use provider-specific atomic claims. The audit covered production, generator, samples, tests, benchmarks and docs. Compatibility: README/release docs say packages are unreleased, remote tags are empty and GitHub releases are drafts only.

Builds on existing runtime ITransport.GetCapabilities, RabbitMQ adapter defaults and D42 native-first processing (Dekaf RunPartitionedAsync); introduces no native capability implementation or duplicate. Removes only unused scheduler tests/benchmarks/smoke fixtures. Adds runtime RabbitMQ fallback coverage.

Validation: 42 focused ReceivePipelineTests/RabbitMqCapabilityTests passed across net10.0/net11.0; AOT smoke and benchmark projects built with zero warnings/errors; npm ci and npm run build passed. No broker behavior changed. Per-message cost: unchanged operations and allocations, 0 B added; unused code removal needs no benchmark run.

Local validation logs, reports and test binaries: /Users/tom/git/Relayer-evidence/pr-750/cff10515c65ff3a71630e296feb1460c50d764aa/ (outside removable worktrees).

Closes #644

@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: 50a4e9bb-7ec0-4f0f-a04d-397a87b97805
  • 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:41:57.162188Z a8a26b7 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 of #750 (remove unused partition scheduler / completion window and static capability stubs)

No blocking findings.

  • Removal is clean. I searched the head for PartitionScheduler, PartitionCompletionWindow, IPartitionSource, IPartitionMessageBinding, PartitionAssignmentToken and the removed static *Transport capability classes. The only remaining hits are historical text in docs/decisions.md (marked superseded, which is appropriate) and string fixtures in .github/scripts/test_benchmark_gate.py, which never compile against the code.
  • This follows AGENTS.md. It deletes a parallel implementation of something the native client already provides (D42, Dekaf RunPartitionedAsync), and D23/D42 and the design doc are updated in the same PR.
  • The RabbitMQ capabilities move to an internal helper with the same conservative defaults. The runtime GetCapabilities fallback has a test, and the whitespace endpoint check is kept.
  • The docs removal covers the two pages, the sidebar, the index status table, the roadmap and the authoring page. The outbox-stores note explains why ReadPendingAsync and RenewClaimAsync stay.
  • Per-message cost is stated (0 B added), so no benchmark is needed.

One non-blocking nit: the PR description links a local evidence path (/Users/tom/...). That is harmless because no evidence files are committed.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: cff10515c6

ℹ️ 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 approve cff1051; no unresolved review threads or blocking findings. The local evidence path noted in Claude’s review is intentional under the repository evidence policy. Archived the existing validation logs, reports and test binaries under /Users/tom/git/Relayer-evidence/pr-750/cff10515c65ff3a71630e296feb1460c50d764aa/; verified the full 491-file inventory and SHA-256 hashes against the originals and saved evidence-manifest.json. Updated the PR description to this retained location. No code changed; no tests rerun.

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

thomhurst commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner Author

Rechecked run 43510175341 for current head cff1051: still in progress, with net10.0 Native AOT smoke test running; net11.0 and documentation passed. Both required current-head reviews are clear, all review surfaces have no outstanding findings, and auto-merge remains armed. Checked the resolution routes: #644 is delivered by this PR and Closes #644 is present; there is no separate repository prerequisite, stale remaining scope, finished parent, or superseding PR to act on. The remaining gate is this active CI run. No rerun, competing run, or on-hold label is warranted.

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

Pull request was converted to draft

@thomhurst
thomhurst force-pushed the issue-644-unused-api branch from cff1051 to a8a26b7 Compare November 13, 2026 21:38
@thomhurst

Copy link
Copy Markdown
Owner Author

Run 43510175341 completed successfully, including CI Passed. The remaining blocker was a new conflict with #736. Rebased onto current origin/main in a8a26b7, retaining its RouteBuilder/D79 documentation and this PR’s scheduler-removal history. Range-diff confirms only that documentation context changed; automatic merges preserve the AOT smoke and website updates. npm ci and npm run build passed again; logs are retained under /Users/tom/git/Relayer-evidence/pr-750/a8a26b7f/. No tests rerun for the documentation-only conflict resolution; prior focused tests and full CI passed on cff1051.

Checked the resolution routes: #644 is fully delivered by this PR with Closes #644 present, no separate prerequisite or superseding PR exists, and no stale scope or finished parent needs action. Returned to draft for the new-head review cycle.

@codex review

@github-actions

Copy link
Copy Markdown

Review

This PR removes the unused partition scheduler, completion window and their options, bindings and tokens, along with the static transport capability stubs. The change is sound.

  • No dangling references. A grep of the head finds no remaining uses of the removed types in src, tests, benchmarks or website. The only hits are the historical wording in D23, which says the scheduler was removed, and a string fixture in .github/scripts/test_benchmark_gate.py. The fixture is just a file-path string and does not affect anything.
  • Native-first. The removal follows D1 and D42. Dekaf's RunPartitionedAsync is documented as the future route for parallel receive. A future fallback needs a recorded decision, and D23 now says so.
  • RabbitMQ fallback. RabbitMqCapabilities is internal and keeps the same conservative defaults. It validates the endpoint, and registered runtime capabilities remain authoritative. The new RabbitMqCapabilityTests cover it.
  • Docs. The decision record, the design doc, the website pages and the sidebar are updated together. The IOutboxStore read and claim contract is kept, with a rationale.
  • Performance. This removes code and adds nothing to the per-message path, so no benchmark is needed.

I found nothing blocking.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: a8a26b7fb5

ℹ️ 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 marked this pull request as ready for review November 13, 2026 21:40
@thomhurst
thomhurst enabled auto-merge (squash) November 13, 2026 21:40
@thomhurst

Copy link
Copy Markdown
Owner Author

Earlier wait run 43510175341 succeeded. Rechecked all review surfaces: Claude CLEAR and Codex completed without findings both name current head a8a26b7; no threads or outstanding findings. Verified all 491 retained files against the original SHA-256 manifest under /Users/tom/git/Relayer-evidence/pr-750/cff10515c65ff3a71630e296feb1460c50d764aa/. The documentation-only rebase logs remain under /Users/tom/git/Relayer-evidence/pr-750/a8a26b7f/ with a SHA-256 inventory.

Checked Resolve routes: #644 is delivered by this PR and Closes #644 remains present; no separate prerequisite, superseding PR, stale scope or finished parent requires action. The prior run no longer blocks. Promoting the approved head with the repository auto-merge wrapper; the fresh ready CI run is the remaining gate.

@thomhurst
thomhurst merged commit ed19555 into main Nov 13, 2026
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 public API that nothing uses

1 participant