Skip to content

Avoid checking message constraints when there are none - #3945

Merged
doriable merged 1 commit into
mainfrom
return-early-no-message-rules
Aug 5, 2025
Merged

doriable merged 1 commit into
mainfrom
return-early-no-message-rules

Conversation

@doriable

@doriable doriable commented Aug 1, 2025

Copy link
Copy Markdown
Member

We currently do this for field rules but not message rules.
This will avoid setting up the CEL environment, etc. which is a
very expensive operation, when there are no message constraints
to be checked.

@doriable
doriable requested a review from emcfarlane August 1, 2025 22:36
@github-actions

github-actions Bot commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedAug 1, 2025, 10:36 PM

@doriable
doriable merged commit 47f7e78 into main Aug 5, 2025
@doriable
doriable deleted the return-early-no-message-rules branch August 5, 2025 17:20
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