Commit 7068f49
committed
fix(profile): ensure extractTransactionSegment never returns numeric segments
The fallback path was returning numeric segments when all other segments
were placeholders or numeric. Now the fallback also filters out numeric
and placeholder patterns, defaulting to 'txn' if nothing meaningful found.
Fixes flaky property-based test 'does not return purely numeric segments'.1 parent 456ebf5 commit 7068f49
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
0 commit comments