Skip to content

Fix solargraph-rspec plugin specs - #1291

Merged
castwide merged 1 commit into
castwide:masterfrom
lekemula:fix-ci-solargraph-rspec-plugin
Aug 30, 2026
Merged

Fix solargraph-rspec plugin specs#1291
castwide merged 1 commit into
castwide:masterfrom
lekemula:fix-ci-solargraph-rspec-plugin

Conversation

@lekemula

Copy link
Copy Markdown
Contributor

@lekemula
lekemula force-pushed the fix-ci-solargraph-rspec-plugin branch from 8a9d5d0 to a80b64c Compare August 12, 2026 21:55
@castwide

Copy link
Copy Markdown
Owner

Thanks!

@castwide
castwide merged commit 8a5f106 into castwide:master Aug 30, 2026
28 checks passed
apiology added a commit to apiology/solargraph that referenced this pull request Sep 2, 2026
Brings PR 1252 (Rewrite PinCache as an instance-based engine) up to
date with master, so its own CI can pass again. Two failures on the
stale branch:

1. spec/yard_map/mapper_spec.rb called the old Yardoc.load!(gemspec)
   API. Master added this spec (castwide#1279) after this
   branch forked, exercising a namespace-conflict fix in
   yard_map/mapper.rb that this branch didn't have. This branch's own
   Yardoc.load! now takes a path string, not a Gem::Specification, so
   the merged tree hit:

     TypeError: no implicit conversion of Gem::Specification into
     String

   The auto-merge carried master's version of the test through with
   no conflict, so the break landed silently. Fixed by adapting the
   spec to build the yardoc into a temp path first (build_docs) and
   loading that path, matching the pattern yardoc_spec.rb already
   uses. The merge itself supplies the missing namespace-conflict fix
   (Mapper#namespace_with_bug_fix), so the adapted spec now passes.

2. .github/workflows/plugins.yml's run_solargraph_rspec_specs job
   cloned a stale branch of lekemula/solargraph-rspec. Already fixed
   on master by castwide#1291 ("Use the original repo"),
   merged 2026-08-30. No local conflict; this branch never touched
   the file, so the merge carries master's fix through untouched.

No other file needed manual resolution. Every other changed file
auto-merged without conflict markers, verified file-by-file against
each side's own commits touching it.

Verified after merge: full spec suite 1680 examples/0 failures/67
pending; solargraph typecheck --level strong 527 problems in 89 of
250 files, with every problem not already present on this branch's
old tip confirmed pre-existing on plain master (531 problems
standalone) rather than merge-introduced; rubocop 48 offenses vs 51
on this branch's old tip, the improvement coming entirely from
master's own rewrite of source/chain/call.rb.
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