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

Don't print "All good!" when compilation is not "All good!" #170

Conversation

9999years
Copy link
Member

Turned out I wasn't ever setting the "compilation failed" variable where I expected it.

Also I had a bug with the BaseMatcher, so I fixed it to be stricter about spans.

Turned out I wasn't ever setting the "compilation failed" variable where
I expected it.

Also I had a bug with the `BaseMatcher`, so I fixed it to be stricter
about spans.
Copy link

linear bot commented Dec 1, 2023

@github-actions github-actions bot added the patch Bug fixes or non-functional changes label Dec 1, 2023
parsonsmatt
parsonsmatt previously approved these changes Dec 1, 2023
@9999years 9999years enabled auto-merge (squash) December 1, 2023 19:20

/// Test that `ghciwatch` can detect when compilation fails.
///
/// Regression test for DUX-1649.
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps create a matching GitHub issue that can be referenced here since this is an open source project (since outside contributors won't have access to our internal Linear).

@9999years 9999years merged commit 2aa3c49 into main Dec 4, 2023
28 checks passed
@9999years 9999years deleted the rebeccat/dux-1649-compilation-is-always-all-good-even-when-it-isnt branch December 4, 2023 18:06
Copy link
Contributor

github-actions bot commented Dec 4, 2023

9999years added a commit that referenced this pull request Dec 5, 2023
Make the "compilation failed" message error-level rather than
debug-level. The `ghci` error output does generally show when
compilation fails, but without a visible prompt it's not super clear
when exactly compilation finished. This is a follow-up to #167 + #170,
which added an "All good!" message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Bug fixes or non-functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants