Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughAdds ancestor-based guards to skip transforming mentions/hashtags when text or author elements are inside inline code, fenced code blocks, or Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@packages/render-helper/src/markdown-2-html.spec.ts`:
- Around line 1276-1281: The test "should not linkify mentions inside fenced
code blocks" only checks absence of linkification but not that the fenced block
is still rendered as code; update the spec for markdown2Html to add positive
assertions that the output includes the code wrapper and the original code
content (e.g., assert result contains '<pre><code>' and '@aws-sdk/client-s3') in
the it block so the test protects the wrapping/rendering behavior alongside the
existing negative link checks.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 58ef4784-45a6-4402-8ab9-617e364e65b4
📒 Files selected for processing (2)
packages/render-helper/src/markdown-2-html.spec.tspackages/render-helper/src/methods/text.method.spec.ts
🚧 Files skipped from review as they are similar to previous changes (1)
- packages/render-helper/src/methods/text.method.spec.ts
Summary by CodeRabbit
Bug Fixes
Tests
Chores