- Issue created by @longwave
- Status changed to Needs review
11 months ago 11:24pm 24 January 2024 - Status changed to Needs work
11 months ago 4:29pm 25 January 2024 - πΊπΈUnited States smustgrave
Left a small nitpicky but MR appears to have a failure.
- Status changed to Needs review
11 months ago 5:18pm 25 January 2024 - π¬π§United Kingdom longwave UK
Unfortunately we can't add a return type because this is already extended in contrib.
Added a change record and improved the deprecation notice.
- Status changed to RTBC
11 months ago 3:04pm 26 January 2024 - πΊπΈUnited States smustgrave
Ah yea see what you mean about not being able to use the typehints. In that case rest looks fine.
- π³πΏNew Zealand quietone
I'm triaging RTBC issues β . I read the IS, the comments and the MR. I didn't find any unanswered questions or other work to do.
Leaving at RTBC;
- Status changed to Needs review
10 months ago 10:21pm 27 February 2024 Have a look at this issue, figure out which should be closed as a duplicate, and check if any changes from the duplicate issue should be incorporated.
- Status changed to RTBC
10 months ago 10:51pm 27 February 2024 - π¬π§United Kingdom longwave UK
Thanks, I did not see that issue earlier. I think that one can be closed as duplicate because:
- That one defines a new (but unused) queue.memory service, which I don't see the point in
- That one also adds a return type, but we can't do that without breaking backward compatibility
Otherwise the implementations are the same except for comments. Crediting fgm here for the work done over there.
- Status changed to Fixed
10 months ago 1:17pm 5 March 2024 - π¬π§United Kingdom catch
Committed/pushed to 11.x and cherry-picked to 10.3.x, thanks!
I asked @longwave about potentially backporting this to 10.2 so contrib could use it earlier for 10/11 compatibility, but as far as we know the only contrib module affected is redis, so should probably see if it's a real issue before backporting API additions to a patch release.
- π¬π§United Kingdom longwave UK
As there is no interface it is hard to search contrib but I did find QueueFactory references in the following (amongst a lot of false positives):
https://www.drupal.org/project/aws_sqs β
https://www.drupal.org/project/beanstalkd β
https://www.drupal.org/project/mongodb β
https://www.drupal.org/project/rabbitmq β
https://www.drupal.org/project/redis β - Status changed to Downport
10 months ago 3:09pm 5 March 2024 - π¬π§United Kingdom catch
That's enough I think we should backport just the interface to 10.2.x.
- Status changed to Needs review
10 months ago 3:51pm 5 March 2024 - π¬π§United Kingdom longwave UK
Adds the interface, applies it to QueueDatabaseFactory, also backports the comment fixes.
- Status changed to RTBC
10 months ago 3:55pm 5 March 2024 - π¬π§United Kingdom catch
That looks like just the right amount to backport.
- Status changed to Needs work
9 months ago 6:30pm 16 March 2024 - π¬π§United Kingdom alexpott πͺπΊπ
Can we add typehints (both param and return) to the interface and implementation. I think adding a new interface with typehints is more valuable than the backport to 10.2.x. Given there is no interface I think adding typehints should be allowed.
- Status changed to RTBC
9 months ago 11:41pm 16 March 2024 - π¬π§United Kingdom longwave UK
Can't be done without breaking contrib, as per previous comment on the MR.
If we add types to the interface, we need to add them to QueueDatabaseFactory.
queue_unique
extends QueueDatabaseFactory and so that will break: https://git.drupalcode.org/project/queue_unique/-/blob/8.x-2.x/src/Uniqu... - Status changed to Fixed
9 months ago 10:57am 17 March 2024 -
alexpott β
committed a5826e68 on 10.2.x
Issue #3416826 by longwave, catch, smustgrave, solideogloria, fgm: Queue...
-
alexpott β
committed a5826e68 on 10.2.x
Automatically closed - issue fixed for 2 weeks with no activity.
Hey, I noticed that
QueueDatabaseFactory
was given the new interface, butQueueFactory
does not yet implement the new interface. Should I open a new issue, or can that be fixed here?