Repository navigation
[release] fix(lib-cache-tiered-redis): expose Caffeine as an api dependency (1.2.1) - #170
Merged
Merged
Conversation
…2.1) AbstractTieredCache keeps its L1 in a Caffeine-typed field, so a subclass declared as a Micronaut bean needs Caffeine on its compile classpath. With Caffeine runtime-only, Micronaut skipped generating the subclass's bean definition (a compile warning), and the application failed at startup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jon Martí <jonathan.marti@seqera.io>
stefanoboriero
approved these changes
Oct 23, 2026
jonmarti
added a commit
that referenced
this pull request
Oct 23, 2026
Publishes 1.2.1 (#170): its squash-merge commit did not carry [release], so CI skipped publishing. Signed-off-by: Jon Martí <jonathan.marti@seqera.io> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
jonmarti
added a commit
that referenced
this pull request
Oct 23, 2026
…og (#172) Signed-off-by: Jon Martí <jonathan.marti@seqera.io> Co-authored-by: Claude Opus 5.5 <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.
What changes
lib-cache-tiered-redisdeclares Caffeine asapiinstead ofimplementation, so it is on the compile classpath of every module that uses the library.Why
AbstractTieredCachekeeps its L1 in a Caffeine-typed field. Micronaut needs Caffeine at compile time to generate the bean definition of a subclass declared as a bean. Without it the bean is skipped with only a compile warning, and the application fails at startup. seqeralabs/sched#1742 hit this on 1.2.0 and had to declare Caffeine itself.How
build.gradle: Caffeine moves fromimplementationtoapi, same version (3.1.8).[release]publishes it on merge.Testing
compilescope (runtimein 1.2.0)../gradlew :lib-cache-tiered-redis:testpasses (Redis Testcontainer).🤖 Generated with Claude Code