Skip to content

Use in-process clients instead of creating loopback http clients - #8423

Open
Sovietaced wants to merge 1 commit into
flyteorg:mainfrom
Sovietaced:in-process-v2
Open

Sovietaced wants to merge 1 commit into
flyteorg:mainfrom
Sovietaced:in-process-v2

Conversation

@Sovietaced

@Sovietaced Sovietaced commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Why are the changes needed?

These clients are creating loopback HTTP clients and unnecessarily making requests over HTTP when they can be made directly in-process. This also makes implementing authorization / RBAC simpler since these internal clients effectively become system / admin clients automatically.

Rate limiters remain.

What changes were proposed in this pull request?

Update runs service to use in-process interfaces instead of HTTP clients where applicable.

How was this patch tested?

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Stack

If you do use git town to manage PR Stacks, the stack relevant to this PR
will show below. Otherwise, you can ignore this section.

Docs link

Signed-off-by: Jason Parraga <sovietaced@gmail.com>
@Sovietaced
Sovietaced marked this pull request as ready for review November 18, 2026 00:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant