Skip to content

markdown_preview: Remove recoverable_panic and fix mermaid hex parsing panic#50470

Merged
smitbarmase merged 1 commit intomainfrom
fix-mermaid-renderer-potential-panics
Mar 2, 2026
Merged

markdown_preview: Remove recoverable_panic and fix mermaid hex parsing panic#50470
smitbarmase merged 1 commit intomainfrom
fix-mermaid-renderer-potential-panics

Conversation

@smitbarmase
Copy link
Copy Markdown
Member

@smitbarmase smitbarmase commented Mar 2, 2026

#50176 added recoverable_panic to swallow mermaid panics, then #50280 fixed it in upstream. This PR removes the workaround so future panics reach Sentry. Also bumps mermaid-rs-renderer to fix a hex parsing panic.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 2, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 2, 2026
@smitbarmase smitbarmase force-pushed the fix-mermaid-renderer-potential-panics branch from 4f538fd to 01df0b4 Compare March 2, 2026 08:43
@smitbarmase smitbarmase merged commit 3f57cb0 into main Mar 2, 2026
29 checks passed
@smitbarmase smitbarmase deleted the fix-mermaid-renderer-potential-panics branch March 2, 2026 08:57
tahayvr pushed a commit to tahayvr/zed that referenced this pull request Mar 4, 2026
…ing panic (zed-industries#50470)

zed-industries#50176 added `recoverable_panic` to swallow mermaid panics, then zed-industries#50280
fixed it in upstream. This PR removes the workaround so future panics
reach Sentry. Also bumps `mermaid-rs-renderer` to fix a hex parsing
panic.

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant