Skip to content
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

fix(errors): handle diagnotics from latest version of nextest #64

Merged
merged 1 commit into from
Jan 25, 2024
Merged

fix(errors): handle diagnotics from latest version of nextest #64

merged 1 commit into from
Jan 25, 2024

Conversation

igorlfs
Copy link
Contributor

@igorlfs igorlfs commented Dec 4, 2023

Update diagnostic handling to work with the latest versions of nextest. Besides updating the match and the test, I also updated some "build_spec" tests and their respective XMLs (so that the tests are passing; I'm not sure if updating the XMLs directly is a good idea).

I'm not really proficient with Lua patterns, so I've hard-coded the match containing the message to capture all lines up to a line containing 'note' -- that's far from elegant, it'd be nice to at least handle the case where RUST_BACKTRACE is set and a line with 'stack' should be used instead. But still, there must be a better way to do that.

Preview:

image

image

@igorlfs igorlfs changed the title fix(errors): handle latest nextest diagnostics fix(errors): handle diagnotics from latest version of nextest Dec 4, 2023
@igorlfs igorlfs mentioned this pull request Dec 4, 2023
@igorlfs
Copy link
Contributor Author

igorlfs commented Jan 25, 2024

Hey @rouge8, any thoughts?

Copy link
Owner

@rouge8 rouge8 left a comment

Choose a reason for hiding this comment

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

Sorry for the delay, thanks!

@rouge8 rouge8 merged commit f04071c into rouge8:main Jan 25, 2024
2 checks passed
@igorlfs igorlfs deleted the fix-diagnostics branch January 25, 2024 17:31
This was referenced Jan 25, 2024
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.

2 participants