Skip to content

Conversation

@cratelyn
Copy link
Member

@cratelyn cratelyn commented Sep 2, 2025

this is a follow-on to #4119.

see #4119 (comment)
for further background on this:

This is reaching unreadable levels of complexity imo.

i'd look to trying to golf this down so that we don't have so many
wrapping lines, or otherwise extract this into a separate function so
it is, e.g. push_filter(spawn_routes)

this commit performs that transformation, outlining our
push_filter(|| {}) into a standalone function rather than an inline
closure.

Signed-off-by: katelyn martin kate@buoyant.io

this is a follow-on to
#4119.

see
#4119 (comment)
for further background on this:

> This is reaching unreadable levels of complexity imo.
>
> i'd look to trying to golf this down so that we don't have so many
> wrapping lines, or otherwise extract this into a separate function so
> it is, e.g. `push_filter(spawn_routes)`

this commit performs that transformation, outlining our
`push_filter(|| {})` into a standalone function rather than an inline
closure.

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn self-assigned this Sep 2, 2025
@cratelyn cratelyn marked this pull request as ready for review September 2, 2025 19:29
@cratelyn cratelyn requested a review from a team as a code owner September 2, 2025 19:29
@cratelyn cratelyn enabled auto-merge (squash) September 2, 2025 19:29
@cratelyn cratelyn merged commit 0f2cf38 into main Sep 3, 2025
15 checks passed
@cratelyn cratelyn deleted the kate/app-gateway.extract-spawn-routes-fn branch September 3, 2025 13:31
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.

2 participants