Skip to content

fix: sequence diagram support via mermaid/svgdom upgrade#16

Merged
pilat merged 1 commit intomainfrom
fix/sequence-diagram-proper
Apr 28, 2026
Merged

fix: sequence diagram support via mermaid/svgdom upgrade#16
pilat merged 1 commit intomainfrom
fix/sequence-diagram-proper

Conversation

@pilat
Copy link
Copy Markdown
Owner

@pilat pilat commented Apr 28, 2026

Fixes sequence diagram rendering by upgrading dependencies instead of the broken polyfill approach.

What changed:

  • Removed the CSSStyleDeclaration polyfill that was causing broken renders (missing lifelines, stroke="none")
  • mermaid 11.12 → 11.14 (sequence renderer fixes)
  • svgdom 0.1.22 → 0.1.23 (native removeProperty support)
  • Removed unnecessary npm install -g npm@latest from publish workflow (Node 22's npm already supports OIDC provenance)

Result: Sequence diagrams now render correctly with full lifelines and arrows.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 28, 2026

Warning

Rate limit exceeded

@pilat has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 52 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 994e16f3-d1f6-43e1-82cc-dd0dcb4657b2

📥 Commits

Reviewing files that changed from the base of the PR and between d0fb8b3 and e4454e0.

📒 Files selected for processing (5)
  • .github/workflows/publish.yml
  • CHANGELOG.md
  • src/mermaid/render.ts
  • src/mermaid/style-polyfill.ts
  • test/mermaid-elk.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/sequence-diagram-proper

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.

@pilat pilat force-pushed the fix/sequence-diagram-proper branch from 16fd630 to e4454e0 Compare April 28, 2026 00:49
@pilat pilat merged commit 5358d7f into main Apr 28, 2026
3 checks passed
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