Skip to content

feat: add multi-version ruby_llm test matrix via Appraisal#24

Open
oleksii-leonov wants to merge 1 commit into
thoughtbot:mainfrom
syngenta:chore/multi-rubyllm-version-ci
Open

feat: add multi-version ruby_llm test matrix via Appraisal#24
oleksii-leonov wants to merge 1 commit into
thoughtbot:mainfrom
syngenta:chore/multi-rubyllm-version-ci

Conversation

@oleksii-leonov
Copy link
Copy Markdown
Contributor

Pins testing against two RubyLLM versions in CI so we catch compatibility regressions across the supported range:

  • ruby_llm-1.8.0 is practical minimum at current moment. RubyLLM::Models.resolve class-level delegation (added in 1.8.0) are referenced by the chat / embedding patches, so anything older than 1.8 cannot run this gem.
  • ruby_llm-1-latest~> 1.8, resolves to the latest 1.x release (currently 1.15.x). Catches breaking changes in newer RubyLLM releases before they surface in production.

Pins testing against two RubyLLM versions in CI so we catch
compatibility regressions across the supported range:

- `ruby_llm-1.8.0` is practical minimum at current moment.
  `RubyLLM::Models.resolve` class-level delegation (added in
  1.8.0) are referenced by the chat / embedding patches, so anything
  older than 1.8 cannot run this gem.
- `ruby_llm-1-latest` — `~> 1.8`, resolves to the latest 1.x release
  (currently 1.15.x). Catches breaking changes in newer RubyLLM
  releases before they surface in production.
@oleksii-leonov
Copy link
Copy Markdown
Contributor Author

Related to #25.

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