Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document request proxy and shift boundaries #2617

Merged
merged 1 commit into from
May 24, 2024
Merged

Document request proxy and shift boundaries #2617

merged 1 commit into from
May 24, 2024

Conversation

jonatanklosko
Copy link
Member

@jonatanklosko jonatanklosko commented May 24, 2024

Runtime.fetch_proxy_handler_spec/1 now returns {:ok, {module, function, args}} and the plug just does apply(module, function, args ++ [conn]). This minimises the surface between the Livebook server and the runtime. This effectively means that Livebook.Proxy.Server is a part of runtime implementation (but the part operating on the Livebook side :)). This also means that all the specific messaging between Proxy.Server and Proxy.Adapter is "internal" from design point of view.

Copy link

github-actions bot commented May 24, 2024

Uffizzi Preview deployment-52233 was deleted.

@jonatanklosko
Copy link
Member Author

I'm gonna merge to open another PR, if anyone has design concerns I can do a follow up :)

@jonatanklosko jonatanklosko merged commit 428d9ff into main May 24, 2024
8 checks passed
@jonatanklosko jonatanklosko deleted the jk-proxy branch May 24, 2024 17:37
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