Skip to content

Conversation

@apiology
Copy link
Contributor

@apiology apiology commented Sep 5, 2025

Useful for:

  1. Maintaining a separate pin cache per branch to avoid contamination and get more accurate spec results locally
  2. Testing solargraph-rails against branches consolidating multiple open PRs (e.g., the dated ones at https://github.com/apiology/solargraph/pulls)

.envrc is a direnv implementation for the per-branch pin cache.

Includes #1051 as master isn't currently passing

To avoid merge conflicts and contributors having to deal with
non-intuitive RuboCop todo changes:

* Lock down development versions of RuboCop and plugins so that
  unrelated PRs aren't affected by newly implemented RuboCop rules.
* Exclude rule entirely if more than 5 files violate it today, so that
  PRs are less likely to cause todo file changes unless they are
  specifically targeted at cleanup.
* Clarify guidance on RuboCop todo file in CI error message.
* Fix to hopefully ensure guidance always appears in CI error message.
Useful for:
1. Maintaining a separate pin cache per branch to avoid contamination
   and get more accurate spec results locally
2. Testing solargraph-rails against branches consolidating multiple
   open PRs (e.g., the dated ones at
   https://github.com/apiology/solargraph/pulls)

Includes a direnv implementation for #1
@apiology apiology changed the title Allow solargraph version to be overidden for test purposes Allow solargraph version to be overidden for dev/test purposes Sep 5, 2025
@apiology apiology changed the title Allow solargraph version to be overidden for dev/test purposes Allow solargraph version to be overridden for dev/test purposes Sep 7, 2025
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.

1 participant