Skip to content

chore(artifact-cas): precompile auth selector regexes in gRPC server#2784

Merged
matiasinsaurralde merged 1 commit intochainloop-dev:mainfrom
matiasinsaurralde:chore/artifact-cas-auth-selector-regex
Feb 25, 2026
Merged

chore(artifact-cas): precompile auth selector regexes in gRPC server#2784
matiasinsaurralde merged 1 commit intochainloop-dev:mainfrom
matiasinsaurralde:chore/artifact-cas-auth-selector-regex

Conversation

@matiasinsaurralde
Copy link
Contributor

Summary

This refactor moves gRPC auth selector regex compilation out of request-time matcher functions and into package-level precompiled patterns in the Artifact CAS server.

It keeps behavior unchanged while improving readability and reducing per-request overhead in both unary and stream auth selector checks.

Signed-off-by: Matías Insaurralde <matias@chainloop.dev>
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@matiasinsaurralde matiasinsaurralde merged commit 6dfeb8f into chainloop-dev:main Feb 25, 2026
15 checks passed
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