Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #534

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Fix CI #534

merged 3 commits into from
Jan 16, 2025

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Jan 16, 2025

ActiveSupport::LoggerThreadSafeLevel depends on logger, but doesn't require it explicitly prior to 7.1. In the real application, the logger is likely required by other components so this is not an issue. But for this gem's test setup, we need to require it explicitly.

@st0012 st0012 force-pushed the fix-ci branch 2 times, most recently from d05f405 to fc9f1ec Compare January 16, 2025 19:59
`ActiveSupport::LoggerThreadSafeLevel` depends on `logger`, but doesn't
require it explicitly prior to 7.1. In the real application, the `logger`
is likely required by other components so this is not an issue. But for
this gem's test setup, we need to require it explicitly.
@st0012 st0012 marked this pull request as ready for review January 16, 2025 20:26
require "job-iteration"
require "active_job"
Copy link
Member Author

Choose a reason for hiding this comment

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

active_job is already be required by job-iteration.

require "job-iteration"
require "job-iteration/test_helper"

require "globalid"
require "sidekiq"
require "resque"
require "active_job"
Copy link
Member Author

Choose a reason for hiding this comment

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

active_job is already be required by job-iteration.

@@ -13,6 +13,7 @@ jobs:
ports:
- 6379:6379
strategy:
fail-fast: false
Copy link
Member Author

Choose a reason for hiding this comment

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

From my experience maintaining projects with a complicated dependency matrix, it's best not to fail fast on these kinds of builds so we can get a better sense on what's failing.

@st0012 st0012 requested a review from Mangara January 16, 2025 20:27
Copy link
Contributor

@Mangara Mangara left a comment

Choose a reason for hiding this comment

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

Thank you for fixing this!

@Mangara Mangara merged commit 3a71af5 into main Jan 16, 2025
49 checks passed
@Mangara Mangara deleted the fix-ci branch January 16, 2025 21:03
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