Skip to content

Bump good_job from 4.11.2 to 4.13.3#724

Merged
zetter-rpf merged 2 commits intomainfrom
dependabot/bundler/good_job-4.13.3
Mar 19, 2026
Merged

Bump good_job from 4.11.2 to 4.13.3#724
zetter-rpf merged 2 commits intomainfrom
dependabot/bundler/good_job-4.13.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2026

Bumps good_job from 4.11.2 to 4.13.3.

Release notes

Sourced from good_job's releases.

v4.13.3

Review the Changelog for more details.

What's Changed

New Contributors

Full Changelog: bensheldon/good_job@v4.13.2...v4.13.3

v4.13.2

Review the Changelog for more details.

What's Changed

New Contributors

Full Changelog: bensheldon/good_job@v4.13.1...v4.13.2

v4.13.1

Review the Changelog for more details.

What's Changed

Full Changelog: bensheldon/good_job@v4.13.0...v4.13.1

v4.13.0

Review the Changelog for more details.

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from good_job's changelog.

v4.13.3 (2026-02-18)

Full Changelog

Fixed bugs:

  • Fix search_text scope using mismatched text search configurations #1716 (alexspeller)
  • --daemonize no longer changes working directory, fixes relative paths #1714 (jamie)

Merged pull requests:

  • Update suggested Puma config in README #1713 (Spone)

v4.13.2 (2026-01-29)

Full Changelog

Fixed bugs:

Closed issues:

  • Test failures against rails-head #1704

Merged pull requests:

v4.13.1 (2025-12-16)

Full Changelog

Fixed bugs:

  • Adjust indexes on good_jobs.finished_at to better support job cleanup #1677 (mkrfowler)

Closed issues:

  • ui question: meaning of icons in cron job section #1651

Merged pull requests:

  • Add Active Support load hooks for all Active Record classes #1699 (bensheldon)
  • Replace Rails UJS with Turbo; make navbar badges data-turbo-permanent to not pop-in on every navigation #1658 (bensheldon)

... (truncated)

Commits
  • 438d139 Release good_job v4.13.3
  • 1ea935e Fix search_text scope using mismatched text search configurations (#1716)
  • 0f2551a Update suggested Puma config in README (#1713)
  • db82664 --daemonize no longer changes working directory, fixes relative paths (#1714)
  • 7f4f97f Release good_job v4.13.2
  • ce46a9f Check for graceful shutdown inside job cleanup (#1711)
  • f183d8d Add test for Migration generator with custom migration path (#1709)
  • e1362be Add Ruby 4.0 to CI (#1705)
  • e5d7f5b Support Rails 8.2-dev `enqueue_after_transaction_commit by deferring framewor...
  • ece13ef Bump actions/upload-artifact from 5 to 6 (#1703)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Mar 10, 2026
Copilot AI review requested due to automatic review settings March 10, 2026 09:24
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Mar 10, 2026
@dependabot dependabot bot review requested due to automatic review settings March 10, 2026 09:24
@cla-bot cla-bot bot added the cla-signed label Mar 10, 2026
@github-actions
Copy link

github-actions bot commented Mar 10, 2026

Test coverage

89.81% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/23287001303

@dependabot dependabot bot force-pushed the dependabot/bundler/good_job-4.13.3 branch from 959072c to 4f8af79 Compare March 18, 2026 10:50
@dependabot dependabot bot requested review from Copilot and removed request for Copilot March 18, 2026 10:50
Copilot AI review requested due to automatic review settings March 19, 2026 08:49
dependabot bot and others added 2 commits March 19, 2026 08:50
Bumps [good_job](https://github.com/bensheldon/good_job) from 4.11.2 to 4.13.3.
- [Release notes](https://github.com/bensheldon/good_job/releases)
- [Changelog](https://github.com/bensheldon/good_job/blob/main/CHANGELOG.md)
- [Commits](bensheldon/good_job@v4.11.2...v4.13.3)

---
updated-dependencies:
- dependency-name: good_job
  dependency-version: 4.13.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
By running  `bin/rails g good_job:update`

This isn't required, but is suggested in the good job readme and may improve performance.
@zetter-rpf zetter-rpf force-pushed the dependabot/bundler/good_job-4.13.3 branch from 447438f to 44c192a Compare March 19, 2026 08:50
@zetter-rpf zetter-rpf temporarily deployed to editor-api-p-dependabot-eskyap March 19, 2026 08:50 Inactive
@zetter-rpf zetter-rpf merged commit a943eb2 into main Mar 19, 2026
6 checks passed
@zetter-rpf zetter-rpf deleted the dependabot/bundler/good_job-4.13.3 branch March 19, 2026 08:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Rails app’s background job infrastructure by bumping the good_job gem to v4.13.3 and aligning the database schema (indexes) with the newer GoodJob release requirements.

Changes:

  • Bump good_job from 4.11.2 to 4.13.3 (and update related transitive gems in Gemfile.lock).
  • Add concurrent index migrations for good_jobs (concurrency_key, created_at, job_class, and a revised finished_at cleanup index).
  • Update db/schema.rb to reflect the new/updated indexes.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
db/schema.rb Updates schema version and GoodJob-related indexes to match new migrations.
db/migrate/20260319084430_add_index_good_jobs_concurrency_key_created_at.rb Adds concurrent composite index for concurrency-based lookups.
db/migrate/20260319084431_add_index_good_jobs_job_class.rb Adds concurrent index on job_class.
db/migrate/20260319084432_add_index_good_jobs_finished_at_for_cleanup.rb Adds a new partial finished_at index optimized for cleanup queries.
db/migrate/20260319084433_remove_extraneous_finished_at_index.rb Drops the older finished_at index variant.
Gemfile Updates good_job dependency constraint to ~> 4.13.
Gemfile.lock Locks good_job v4.13.3 and updates dependent gems accordingly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +6 to +16
def change
reversible do |dir|
dir.up do
# Ensure this incremental update migration is idempotent
# with monolithic install migration.
return unless connection.index_exists? :good_jobs, [:finished_at], name: :index_good_jobs_jobs_on_finished_at
end
end

remove_index :good_jobs, [:finished_at], where: "retried_good_job_id IS NULL AND finished_at IS NOT NULL", name: :index_good_jobs_jobs_on_finished_at, algorithm: :concurrently
end
Comment on lines +11 to +15
return if connection.index_exists? :good_jobs, [:concurrency_key, :created_at]
end
end

add_index :good_jobs, [:concurrency_key, :created_at], algorithm: :concurrently
Comment on lines +7 to +16
reversible do |dir|
dir.up do
# Ensure this incremental update migration is idempotent
# with monolithic install migration.
return if connection.index_exists? :good_jobs, :job_class
end
end

add_index :good_jobs, :job_class, algorithm: :concurrently
end
Comment on lines +7 to +16
reversible do |dir|
dir.up do
# Ensure this incremental update migration is idempotent
# with monolithic install migration.
return if connection.index_exists? :good_jobs, [:finished_at], name: :index_good_jobs_jobs_on_finished_at_only
end
end

add_index :good_jobs, [:finished_at], where: "finished_at IS NOT NULL", name: :index_good_jobs_jobs_on_finished_at_only, algorithm: :concurrently
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants