Skip to content

Fix Resque::Scheduler.print_schedule#794

Merged
PatrickTulskie merged 1 commit intoresque:masterfrom
codealchemy:fix-print-schedule
Jun 3, 2025
Merged

Fix Resque::Scheduler.print_schedule#794
PatrickTulskie merged 1 commit intoresque:masterfrom
codealchemy:fix-print-schedule

Conversation

@codealchemy
Copy link
Copy Markdown
Contributor

@codealchemy codealchemy commented Oct 25, 2024

Added in 893f13c, this is intended to help with debugging. The :t and :last attrs were removed in the rufus-scheduler 2.0 -> 3.0 update

It seems #print_schedule likely hasn't worked since the rufus-scheduler depenency was bumped to require ~3.0 in d24657e - and could possibly be removed instead (considering the amount of time since then without a report).

This fixes the OpenStruct warnings seen in tests for newer Ruby versions (example failure - coupled with #793 this should get CI back to 🟢 see all tests passing with both changes here)

@codealchemy
Copy link
Copy Markdown
Contributor Author

Bump for 👀 @PatrickTulskie

@PatrickTulskie
Copy link
Copy Markdown
Member

PatrickTulskie commented May 13, 2025

@codealchemy hey just realized the test suite was super broken here. A fix was merged into master just now from #799

Would you mind rebasing this PR? We can re-run the specs and get this merged in too.

@codealchemy codealchemy force-pushed the fix-print-schedule branch from 9c47131 to 5f70d10 Compare May 13, 2025 14:35
@codealchemy
Copy link
Copy Markdown
Contributor Author

Would you mind rebasing this PR? We can re-run the specs and get this merged in too.

@PatrickTulskie thanks - and done (the lone failure looks unrelated to this change)

@codealchemy codealchemy force-pushed the fix-print-schedule branch from 5f70d10 to c0577a2 Compare May 27, 2025 21:02
Added in resque@893f13c, this is intended to help with debugging. The `:t` and `:last` attrs were removed in the jmettraux/rufus-scheduler@v2.0.24...v3.0.0

It seems `#print_schedule` likely hasn't worked since the `rufus-scheduler` depenency was bumped to require ~3.0 in resque@d24657e#diff-9732d81ad66d6656923a3883e83f6620a3b16a07484745677a0776f6e0bff025.

This fixes the `OpenStruct` warnings seen in tests for newer Ruby versions.
@codealchemy codealchemy force-pushed the fix-print-schedule branch from c0577a2 to 9a6869d Compare June 2, 2025 23:28
@codealchemy
Copy link
Copy Markdown
Contributor Author

Another bump when you have a moment @PatrickTulskie , thanks!

@PatrickTulskie PatrickTulskie merged commit b88d6a3 into resque:master Jun 3, 2025
149 checks passed
@codealchemy codealchemy deleted the fix-print-schedule branch June 3, 2025 21:20
@PatrickTulskie PatrickTulskie mentioned this pull request Jan 15, 2026
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