Skip to content

Conversation

@lekemula
Copy link
Owner

@lekemula lekemula commented Sep 7, 2025

Preparations for the next solargraph release Release 0.56.2

  • Mainly spec chores so far and some strict typechecking fixes.

@lekemula lekemula force-pushed the prepare-next-solargraph-release branch from c012196 to 86e09e9 Compare September 17, 2025 20:59
@lekemula lekemula force-pushed the prepare-next-solargraph-release branch from 86e09e9 to 454c62c Compare September 17, 2025 21:01
@lekemula lekemula force-pushed the prepare-next-solargraph-release branch 5 times, most recently from 7d07bb3 to b62e1e2 Compare September 17, 2025 22:14
@lekemula lekemula force-pushed the prepare-next-solargraph-release branch 5 times, most recently from d2d9b08 to 2a83fdd Compare September 17, 2025 23:11
@lekemula lekemula force-pushed the prepare-next-solargraph-release branch 2 times, most recently from eaaccaf to bfe744d Compare September 17, 2025 23:31
@lekemula lekemula force-pushed the prepare-next-solargraph-release branch 9 times, most recently from b383e57 to 82e18b5 Compare September 18, 2025 01:38
@lekemula lekemula force-pushed the prepare-next-solargraph-release branch 5 times, most recently from a01cec4 to d188842 Compare September 19, 2025 19:36
@lekemula lekemula force-pushed the prepare-next-solargraph-release branch from d188842 to bd9a022 Compare September 19, 2025 19:39
@lekemula lekemula changed the title [DONT MERGE YET] Prepare for next solargraph release after 0.56.2 Chore: Prepare for next solargraph release after 0.56.2 Sep 19, 2025
@lekemula lekemula marked this pull request as ready for review September 19, 2025 19:42
Copilot AI review requested due to automatic review settings September 19, 2025 19:42
@lekemula lekemula force-pushed the prepare-next-solargraph-release branch from bd9a022 to 1cfac16 Compare September 19, 2025 19:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR prepares the codebase for the next solargraph release after 0.56.2, focusing on spec maintenance and strict typechecking improvements.

  • Updates test expectations and removes pending tests that are now working
  • Fixes gem dependencies and adds type annotations for strict typechecking
  • Improves CI workflow configuration and removes unused error handling

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
spec/solargraph/rspec/convention_spec.rb Updates test expectations with proper namespacing and removes pending test markers
lib/solargraph/rspec/test_helpers.rb Fixes gem dependency lists for proper RSpec plugin detection
lib/solargraph/rspec/spec_walker/fake_let_method.rb Removes unused error handling for syntax errors
lib/solargraph/rspec/config.rb Adds type annotations for strict typechecking compliance
gemfiles/default.gemfile Adds development dependencies including RBS and rubocop-yard
Appraisals Adds net-imap version constraint to fix YARD compatibility
.solargraph.yml.example Adds example configuration file for the project
.rubocop.yml Consolidates exclusion patterns under AllCops section
.github/workflows/ruby.yml Streamlines CI workflow by removing unnecessary path specifications

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

expect(completion_at(filename, [15, 13])).to include('host') # request.host
expect(completion_at(filename, [16, 5])).to include('response')
expect(completion_at(filename, [17, 14])).to include('body') # response.body
# The below expecattion does not work anymore because ActionDispatch::Response conflicts with Airborne#response
Copy link

Copilot AI Sep 19, 2025

Choose a reason for hiding this comment

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

There's a typo in the comment: 'expecattion' should be 'expectation'.

Suggested change
# The below expecattion does not work anymore because ActionDispatch::Response conflicts with Airborne#response
# The below expectation does not work anymore because ActionDispatch::Response conflicts with Airborne#response

Copilot uses AI. Check for mistakes.
end

it 'completes mailer methods' do
pending("FIXME: Why it doesn't work?")
Copy link

Copilot AI Sep 19, 2025

Choose a reason for hiding this comment

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

The pending test with 'FIXME' comment should either be fixed or have a more descriptive reason for being pending. Consider creating a GitHub issue and referencing it here.

Suggested change
pending("FIXME: Why it doesn't work?")
pending("Pending: Mailer method completion is not working as expected. See https://github.com/your-org/your-repo/issues/123 for details.")

Copilot uses AI. Check for mistakes.
@lekemula
Copy link
Owner Author

Solargraph v0.57.0 has been released, fixing RSpec 3rd part plugins 🎉

@lekemula lekemula changed the title Chore: Prepare for next solargraph release after 0.56.2 Chore: Adjust specs/CI for next solargraph release after 0.56.2 Sep 19, 2025
@lekemula lekemula merged commit aa1a423 into main Sep 19, 2025
3 checks passed
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