Skip to content

Conversation

flavorjones
Copy link
Owner

This is a rebase of rails#601

rosa added 11 commits October 12, 2025 16:21
And include it in the host application's deprecators.
It's been a long time already since version 1.0 went out.
To be used as `bin/rails solid_queue:update` to copy new migrations.

The new migration links claimed executions to processes with
`process_name`, and replaces the unique index on processes on
`supervisor_id, name` with just `name`, as we'll want the name to
uniquely identify a process because we'll rely on that to release
claimed executions, independently from the supervisor. Even though it
was really unlikely to have a collision on name because these are set
randomly with `SecureRandom.hex(10)`, in this way we guarantee it.

fix
People installing Solid Queue for the first time will get the final
schema. Migrations are idempotent so they can later update and run
migrations without any problems.
We can only use this if new migrations have been run. If not, we just
emit a deprecation warning and continue as before.
In the deprecation warning and upgrade instructions.
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