You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-11-11] Web - Search - Console error shows up when entering comma in the search router #51661
Version Number: 9.0.55-2 Reproducible in staging?: Y Reproducible in production?: N If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers):applausetester+kh1610015@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Click Search router icon
Enter a comma
Expected Result:
No console error when entering comma in the search router
Actual Result:
Console error shows up when entering comma in the search router
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android: Standalone
Android: HybridApp
Android: mWeb Chrome
iOS: Standalone
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6649388_1730208661473.20241029_212727.mp4
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
@dangrous@lanitochka17 I can verify that this bug is not a thing on newest main, specifically after this PR: #51555 which is merged. It also introduces unit tests, so as part of this issue we can add a test case with just the ,.
I can confirm that this error appears right now both in staging and in prod, but on newest main it should not be there.
hmm @Kicu I still see the error on main, and also I don't see it on production... Can you check again? If it's truly fixed on main (and/or production) we can move this through as not a blocker since it's an edge case, but that's not what I'm seeing with my testing. Thanks!
SearchQueryUtils.ts:223 Error when parsing SearchQuery: "," SyntaxError: Expected default key, end of input, key, quote, whitespace, or word but "," found. (at searchParser.js:20:1)
at new peg$SyntaxError (searchParser.js:20:1)
at peg$buildStructuredError (searchParser.js:415:1)
at Module.peg$parse (searchParser.js:1195:1)
at Module.buildSearchQueryJSON (SearchQueryUtils.ts:214:20)
at eval (SearchRouter.tsx:118:23)
at invokeFunc (debounce.js:102:19)
at trailingEdge (debounce.js:151:14)
at timerExpired (debounce.js:139:14)
I also see it on main and agree it comes from #50883. That being said, I don't think this is a blocker since it only breaks the syntax in a few edge cases
changed the title [-]Web - Search - Console error shows up when entering comma in the search router[/-][+][HOLD for payment 2024-11-11] Web - Search - Console error shows up when entering comma in the search router[/+]on Nov 4, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.56-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.
Activity
melvin-bot commentedon Oct 29, 2024
Triggered auto assignment to @dangrous (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Oct 29, 2024
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Oct 29, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
lanitochka17 commentedon Oct 29, 2024
Production:
bandicam.2024-10-29.15-33-47-678.mp4
lanitochka17 commentedon Oct 29, 2024
We think that this bug might be related to #wave-control
Kicu commentedon Oct 29, 2024
@dangrous @lanitochka17 I can verify that this bug is not a thing on newest main, specifically after this PR: #51555 which is merged. It also introduces unit tests, so as part of this issue we can add a test case with just the
,.I can confirm that this error appears right now both in staging and in prod, but on newest
mainit should not be there.Kicu commentedon Oct 29, 2024
my local dev
Screen.Recording.2024-10-29.at.15.23.53.mov
dangrous commentedon Oct 29, 2024
hmm @Kicu I still see the error on
main, and also I don't see it onproduction... Can you check again? If it's truly fixed on main (and/or production) we can move this through as not a blocker since it's an edge case, but that's not what I'm seeing with my testing. Thanks!And it's definitely from #50883 (d3f99c1)
The error is:
luacmartins commentedon Oct 29, 2024
I also see it on main and agree it comes from #50883. That being said, I don't think this is a blocker since it only breaks the syntax in a few edge cases
dangrous commentedon Oct 29, 2024
yeah i think that's fine - I'll switch to daily. Do you want to take over? I can also continue to shepherd, whichever you prefer.
10 remaining items
[-]Web - Search - Console error shows up when entering comma in the search router[/-][+][HOLD for payment 2024-11-11] Web - Search - Console error shows up when entering comma in the search router[/+]melvin-bot commentedon Nov 4, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Nov 4, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.56-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-11-11. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Nov 11, 2024
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.
luacmartins commentedon Nov 19, 2024
This is done and no payment is needed here.