Skip to content

Conversation

@arkalim
Copy link

@arkalim arkalim commented Jun 3, 2025

What did you do?

This PR introduces appraisals gem to enable testing across multiple ActiveRecord versions.

The Appraisals file defines three separate test environments for testing the gem against different ActiveRecord versions. This allows us to pin dependencies for each environment independently.

Why did you do it?

CI runs in this repo were failing due to the incompatibility of ActiveRecord versions 6.1 and 7.0 with the latest concurrent_ruby version 1.3.5. Using the Appraisals file, we've now pinned concurrent_ruby to version 1.3.4 for ActiveRecord versions 6.1 and 7.0.

This fixed the CI error: uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger

Testing

  • CI passes
  • Tests run locally

@arkalim arkalim self-assigned this Jun 3, 2025
@arkalim arkalim marked this pull request as ready for review June 3, 2025 15:50
@arkalim arkalim requested a review from peerkleio June 3, 2025 15:50
@arkalim arkalim force-pushed the add-appraisals branch 2 times, most recently from 34f7fb8 to 4dd23b6 Compare June 4, 2025 16:10
@arkalim arkalim requested review from a team, liamloxton and peerkleio June 4, 2025 16:15
Copy link
Contributor

@peerkleio peerkleio left a comment

Choose a reason for hiding this comment

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

LGTM

@arkalim arkalim merged commit 95f1121 into master Jun 4, 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.

3 participants