Skip to content

Conversation

@elmuerte
Copy link
Contributor

@elmuerte elmuerte commented Jul 1, 2025

When testing with coverage RubyLsp::LspReporter.instance.shutdown will not actually shutdown. It expects to be notified via at_coverage_exit so that it can gather coverage stats.

When testing with coverage RubyLsp::LspReporter.instance.shutdown will
not actually shutdown. It expects to be notified via at_coverage_exit
so that it can gather coverage stats.
Copy link
Owner

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

Good catch, thanks 👍
BTW I think ruby-lsp can have a PR converting https://github.com/Shopify/ruby-lsp/blob/main/lib/ruby_lsp/test_reporters/lsp_reporter.rb#L59C22-L59C42 into using the start_coverage? helper.

Copy link
Owner

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

Thanks!

@st0012 st0012 added the bug Something isn't working label Jul 26, 2025
@st0012 st0012 merged commit f0a9f48 into st0012:main Jul 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants