Migrate to lib-data-workqueue modules#1079
Open
pditommaso wants to merge 1 commit into
Open
Conversation
Adopt the new libseqera work-queue modules (lib-data-workqueue 1.0.0,
lib-data-workqueue-redis 1.0.0) in place of lib-data-stream-redis.
- build.gradle: swap the single stream dependency for the two workqueue artifacts.
- service/data/stream/BaseMessageStream (extends AbstractMessageStream) ->
service/data/workqueue/BaseWorkQueue (extends AbstractWorkQueue); RedisStreamConfigBean ->
RedisWorkQueueConfigBean (implements io.seqera.data.workqueue.redis.RedisWorkQueueConfig,
getClaimTimeout->getVisibilityTimeout). Old service/data/stream files removed.
- JobPendingQueue / JobProcessingQueue: MessageStream->WorkQueue, package + import swaps
(MessageConsumer name kept).
- settings.gradle: TEMPORARY includeBuild('../libseqera') for pre-release validation; replace
with published coordinates once libseqera releases 1.0.0.
Validated: compileGroovy + compileTestGroovy BUILD SUCCESSFUL.
NOTE (ops): dashboards using seqera.stream.* must move to seqera.workqueue.* before deploy.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrate wave from
lib-data-stream-redisto the newlib-data-workqueue+lib-data-workqueue-redis(1.0.0).Depends on seqeralabs/libseqera new-modules PR (the WorkQueue rename). Merge/release those first.
Changes
build.gradle: swap the single stream dependency for the two workqueue artifacts.service/data/stream/BaseMessageStream(extendsAbstractMessageStream) →service/data/workqueue/BaseWorkQueue(extendsAbstractWorkQueue);RedisStreamConfigBean→RedisWorkQueueConfigBean(implements io.seqera.data.workqueue.redis.RedisWorkQueueConfig,getClaimTimeout→getVisibilityTimeout). Oldservice/data/streamfiles removed.JobPendingQueue/JobProcessingQueue:MessageStream→WorkQueue, package + import swaps (MessageConsumername kept).Validation — temporary composite build
settings.gradleadds a TEMPORARYincludeBuild('../libseqera')so the unreleased modules resolve locally.compileGroovy+compileTestGroovy→ BUILD SUCCESSFUL (compile-only;./gradlew checknot run).Before merge: remove the
includeBuildand pin publishedlib-data-workqueue/-redis1.0.0.Dashboards using
seqera.stream.*must move toseqera.workqueue.*before deploy.🤖 Generated with Claude Code