Skip to content

Add support for specifying anonymous/public paths for apps#7354

Draft
jeevb wants to merge 1 commit into
mainfrom
jeev/anonymous-paths
Draft

Add support for specifying anonymous/public paths for apps#7354
jeevb wants to merge 1 commit into
mainfrom
jeev/anonymous-paths

Conversation

@jeevb
Copy link
Copy Markdown
Contributor

@jeevb jeevb commented May 7, 2026

Tracking issue

Why are the changes needed?

What changes were proposed in this pull request?

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

Copilot AI review requested due to automatic review settings May 7, 2026 19:45
@github-actions github-actions Bot added the flyte2 label May 7, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Flyte “App” IDL to allow specifying a list of anonymous/public URL paths on an app’s SecurityContext, enabling partial unauthenticated access without making the entire app public.

Changes:

  • Added anonymous_paths to SecurityContext in flyteidl2/app/app_definition.proto with buf.validate constraints.
  • Regenerated TypeScript, Python, and Go protobuf outputs to include the new field (struct/type updates, descriptors).

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
flyteidl2/app/app_definition.proto Introduces anonymous_paths field on SecurityContext with validation annotations and documentation.
gen/go/flyteidl2/app/app_definition.pb.go Updates Go protobuf struct/accessors and raw descriptor to include AnonymousPaths.
gen/python/flyteidl2/app/app_definition_pb2.py Updates Python generated descriptor/options to include anonymous_paths.
gen/python/flyteidl2/app/app_definition_pb2.pyi Updates Python typing stubs for the new anonymous_paths field.
gen/ts/flyteidl2/app/app_definition_pb.ts Updates TS generated types/descriptors to include anonymousPaths.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +365 to +369
repeated string anonymous_paths = 6 [
(buf.validate.field).repeated.max_items = 50,
(buf.validate.field).repeated.items.string.min_len = 1,
(buf.validate.field).repeated.items.string.pattern = "^/.*"
];
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.

2 participants