Skip to content

Start MarkdownIR code block rewrite smoke tests#360

Merged
dowdiness merged 4 commits into
mainfrom
implement-333-codeblock-origin
Jun 18, 2026
Merged

Start MarkdownIR code block rewrite smoke tests#360
dowdiness merged 4 commits into
mainfrom
implement-333-codeblock-origin

Conversation

@dowdiness

Copy link
Copy Markdown
Owner

Summary

  • add MarkdownIR content origins for fenced code blocks
  • preserve untouched fenced-code source slices during local rewrites
  • add smoke tests for preserve/local/canonical rewrite behavior around code blocks

Validation

  • NEW_MOON_MOD=0 moon -C examples/markdown fmt --check
  • NEW_MOON_MOD=0 moon -C examples/markdown check --deny-warn
  • NEW_MOON_MOD=0 moon -C examples/markdown test
  • NEW_MOON_MOD=0 moon -C examples/markdown info
  • inspected .mbti diff: none

Refs #333

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@dowdiness, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 7 minutes and 24 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 29c71b6d-13a4-4f11-bebb-96d481ff0ed8

📥 Commits

Reviewing files that changed from the base of the PR and between fb84d20 and fd9a23e.

📒 Files selected for processing (2)
  • examples/markdown/src/markdown_ir.mbt
  • examples/markdown/src/markdown_ir_test.mbt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch implement-333-codeblock-origin

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0995562c7e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread examples/markdown/src/markdown_ir.mbt Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 40cd4fd074

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread examples/markdown/src/markdown_ir.mbt Outdated
@dowdiness dowdiness merged commit 9790594 into main Jun 18, 2026
29 checks passed
@dowdiness dowdiness deleted the implement-333-codeblock-origin branch June 18, 2026 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant