Skip to content

Support protocol applications in falcon serve. - #366

Merged
samuel-williams-shopify merged 12 commits into
mainfrom
serve-protocol-configuration
Aug 9, 2026
Merged

Support protocol applications in falcon serve.#366
samuel-williams-shopify merged 12 commits into
mainfrom
serve-protocol-configuration

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

  • Introduce Falcon::Environment::Serve for application configuration discovery and loading.
  • Prefer config/serve.rb as a protocol middleware builder configuration, falling back to Rack config.ru.
  • Select protocol or Rack loading for explicit --config paths from the .rb or .ru extension.
  • Preserve the existing Rack-oriented Falcon::Server.middleware interface while adding protocol-native wrapping.

Testing

  • bundle exec sus
  • bundle exec bake decode:index:coverage lib
  • bundle exec rubocop lib/falcon/server.rb lib/falcon/environment/serve.rb lib/falcon/command/serve.rb test/falcon/environment/serve.rb test/falcon/command/serve.rb

@samuel-williams-shopify
samuel-williams-shopify merged commit 5dd9d63 into main Aug 9, 2026
73 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the serve-protocol-configuration branch August 9, 2026 02:27
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