Repository navigation
Support segment and recursive wildcards in fault patterns - #7241
Merged
shreyas-goenka merged 2 commits intoOct 28, 2026
Merged
Conversation
denik
approved these changes
Oct 28, 2026
Contributor
|
Commit: Regression test reportSelected 2 changed tests (limit=20, 0 not selected) 3 tests: regression=0 unreleased=1 coverage=2 failing=0
TestAccept/bundle/dms/operation-upload-fails-once/DMS=true: branch ✅ | main (8b4a341) ✅ | latest (v1.22.1) ❌latest (v1.22.1): |
Collaborator
Integration test reportCommit: 2afd984
Top 6 slowest tests (at least 2 minutes):
|
shreyas-goenka
deleted the
shreyas-goenka_data/shreyas/test-fault-glob-main
branch
October 28, 2026 17:34
Collaborator
Integration test reportCommit: da7a8be
Top 50 slowest tests (at least 2 minutes):
|
Sankalp-Mittal
added a commit
that referenced
this pull request
Oct 28, 2026
Since #7241, * in a fault pattern matches within one path segment and ** across segments. Upload paths span many segments, so the faults stopped firing. Co-authored-by: Isaac <no-reply@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Support
*within a path segment and**across path segments infault.pypatterns. Both match zero or more characters; all other characters are literal. Compile each rule once using short, commented steps.Update the recursive DMS operation fault to use
**and target the dashboard publish fault with*/published. Unit tests cover segment boundaries, recursive matching, empty matches, endpoint suffixes, and literal regex characters.Why
Allow precise rules such as
POST .../versions/*/completewithout enumerating version numbers. A rule ending inversions/*must not also match nested operation endpoints.This PR targets
mainand provides the matcher for #7231. It has no dependency on the generator-fix branch. The cloud recording proxy is unchanged.Tests
libs/testserverunit suite.main.Validation uses a temporary modfile with approved
x/netv0.61.0 because the dependency proxy blocks v0.62.0. Repository dependencies are unchanged.This PR was written by Codex.