Rails 7.2.1 requires that queues implement the enqueue_after_transaction_commit? method.
The impact of not having this method and upgrading to 7.2.1 is that all job enqueuing fails.
This method is described in rails/rails@e922c59
This commit also introduced ActiveJob::QueueAdapters::AbstractAdapter which all rails queues now inherit from.
In the future, the best path would be to have the adapter inherit from AbstractAdapter, to avoid new methods breaking job enqueuing.
At this time, however, its default behaviour could simply be implemented.