-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Emoji in workflow will crash Zizmor #263
Comments
Thanks for the report @peterflat! This is a nice confirmation that our panic handler works as expected, although it's not ideal that you hit this crash 😅 Is there any chance you could share the crashing workflow? I have some testcases that use emojis and haven't seen this, so I'm wondering if it's something unusual. |
For reference, I put 🚀 in a few workflows just now, and couldn't reproduce this. I suspect it needs to happen in a finding somewhere based on the crash in Edit: based on the full context, this appears to happen due to a slice within |
Looks like this may have been a regression in annotate-snippets: rust-lang/annotate-snippets-rs#161 |
This bumps to the latest patch version, which is noted to fix a panic in string slicing. Fixes #263 See: rust-lang/annotate-snippets-rs#161 Signed-off-by: William Woodruff <william@yossarian.net>
#264 is a candidate fix for this. @peterflat if you could give that branch a try I'd greatly appreciate it! |
Pre-submission checks
Expected behavior
I expected Zizmor to handle my silly workflow that has unicode chars in it.
Actual behavior
Zizmor provided a very courteous notification and crash report.
Reproduction steps
Put an emoji in a workflow and run zizmor in that directory or on that workflow directly. For example 🚀 ...
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: