Skip to content

[Router] Remove unused custom constraint scaffold - #378

Open
RedZapdos123 wants to merge 1 commit into
rage-rb:mainfrom
RedZapdos123:router/remove-custom-constraint-scaffold
Open

[Router] Remove unused custom constraint scaffold#378
RedZapdos123 wants to merge 1 commit into
rage-rb:mainfrom
RedZapdos123:router/remove-custom-constraint-scaffold

Conversation

@RedZapdos123

@RedZapdos123 RedZapdos123 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Description:

This PR removes unused router custom constraint scaffold.

The router only supports host constraints as of the latest main. Rage::Router::Backend always builds Rage::Router::Constrainer without any custom strategies in practice, and the constrainer never uses the constructor argument.

This PR removes the unused constructor path and dead helper without changing router behavior.

Checklist:

  • I have run linting checks using bundle exec rubocop --format simple lib/rage/router/constrainer.rb lib/rage/router/backend.rb.
  • I have run focused tests using bundle exec rspec spec/router.

Signed-off-by: Mridankan Mandal <xerontitan90@gmail.com>
@RedZapdos123
RedZapdos123 force-pushed the router/remove-custom-constraint-scaffold branch from 1cabeee to 87d0fa5 Compare August 2, 2026 07:04
@RedZapdos123

Copy link
Copy Markdown
Contributor Author

This is an internal router cleanup with no runtime behavior or public API change, so no need to add a changelog entry.

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.

1 participant