refactor: move app/highlight-words module - #41919
Conversation
|
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (4)
🧰 Additional context used📓 Path-based instructions (2)The main Rocket.Chat Meteor application resides in `apps/meteor/`; place its application code there rather than in other monorepo areas.📄 CodeRabbit inference engine (CLAUDE.md) Files:
Write concise, technical TypeScript/JavaScript with accurate typing in Playwright tests📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc) Files:
🪛 ast-grep (0.45.1)apps/meteor/client/lib/highlightWords.ts[warning] 17-20: Regular expression constructed from variable input detected. This can lead to Regular Expression Denial of Service (ReDoS) attacks if the variable contains malicious patterns. Use libraries like 'recheck' to validate regex safety or use static patterns. (regexp-from-variable) [warning] 23-28: Regular expression constructed from variable input detected. This can lead to Regular Expression Denial of Service (ReDoS) attacks if the variable contains malicious patterns. Use libraries like 'recheck' to validate regex safety or use static patterns. (regexp-from-variable) 🪛 Biome (2.5.7)apps/meteor/tests/unit/app/highlight-words/helper.tests.js[error] 3-3: Illegal use of an import declaration outside of a module (parse) 🔇 Additional comments (3)
WalkthroughThe change updates highlight regular-expression literals and aligns production and test imports with the client library location. Matching logic and call sites remain unchanged. ChangesHighlight helper update
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to This change only relocates the highlight-words client module and updates its references, with no actionable merge-blocking risk remaining beyond normal checks and review. Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning Some tools did not complete. Review the errors below. 🔧 Biome (2.5.7)apps/meteor/tests/unit/app/highlight-words/helper.tests.jsFile contains syntax errors that prevent linting: Line 1: Illegal use of an import declaration outside of a module; Line 3: Illegal use of an import declaration outside of a module Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/jira ARCH |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## refactor/remove-stale-modules #41919 +/- ##
=================================================================
+ Coverage 69.29% 69.33% +0.03%
=================================================================
Files 4254 4254
Lines 168646 168646
Branches 30066 30044 -22
=================================================================
+ Hits 116870 116925 +55
+ Misses 46599 46540 -59
- Partials 5177 5181 +4
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
d2a0ec2 to
59e95d7
Compare
|
Layne could not analyze all changed content. Review the Check Run summary before merging. |
c3fe37b to
eedaeac
Compare
eedaeac to
3f5257d
Compare
Proposed changes (including videos or screenshots)
It moves client modules from
app/highlight-words/toclient/.Issue(s)
Steps to test or reproduce
Further comments
Stack created with GitHub Stacks CLI • Give Feedback 💬
Summary by CodeRabbit
Task: ARCH-2390