Skip to content

Unify redirection middleware. - #61

Merged
samuel-williams-shopify merged 5 commits into
mainfrom
unified-redirection-middleware
Aug 10, 2026
Merged

Unify redirection middleware.#61
samuel-williams-shopify merged 5 commits into
mainfrom
unified-redirection-middleware

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the per-redirection middleware classes with one configurable Utopia::Redirection middleware
  • retain Utopia::Redirection::Errors as a separate response-phase middleware for internal error requests
  • evaluate client-facing request rules in declaration order
  • update generated configuration, guides, and fixtures for the split API

Testing

  • focused middleware tests: 33 examples, 81 assertions
  • redirection tests: 12 examples, 29 assertions
  • documentation coverage: 478/478 definitions
  • RuboCop: changed Ruby files, no offenses
  • full in-repository run: 321 examples passed; four command-generation tests remain blocked locally by stale native extensions in vendor/bundle (date_core.bundle Ruby ABI mismatch)

The external utopia-project consumer has been migrated in socketry/utopia-project#16.

Assisted-By: devx/b3414b50-d642-461b-95a8-8f773c4d087b
Assisted-By: devx/b3414b50-d642-461b-95a8-8f773c4d087b
Assisted-By: devx/b3414b50-d642-461b-95a8-8f773c4d087b
Assisted-By: devx/b3414b50-d642-461b-95a8-8f773c4d087b
Assisted-By: devx/b3414b50-d642-461b-95a8-8f773c4d087b
@samuel-williams-shopify
samuel-williams-shopify merged commit d91c011 into main Aug 10, 2026
22 of 40 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the unified-redirection-middleware branch August 10, 2026 02:24
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