8000 fix(inkless:test): test the inkless tag suffix without the baked version file by gqmelo · Pull Request #922 · aiven/inkless · GitHub
[go: up one dir, main page]

Skip to content

fix(inkless:test): test the inkless tag suffix without the baked version file - #922

Merged
jeqo merged 1 commit into
mainfrom
fix/inkless-tag-suffix-test
Dec 1, 2026
Merged

jeqo merged 1 commit into
mainfrom
fix/inkless-tag-suffix-test

Conversation

@gqmelo
@gqmelo gqmelo commented Dec 1, 2026
Copy link
Copy Markdown
Collaborator

Since the Kafka 4.4 sync (#897), the clients tests load the generated kafka-version.properties, so getInklessTag() returns the git-describe of the build instead of "unknown". The upstream CI workflow fails testInklessTagDefaultsToUnknownAndSuppressesSuffix on main.

Move the suffix logic into inklessTagSuffix(String), as kafkaVersion already does for the version, and test it with the unknown, empty, and real tag values.

Testing

  • ./gradlew :clients:test --tests AppInfoParserTest passes with a real inkless tag baked into the build.
  • checkstyle, spotless, spotbugs, and the public API checker pass for :clients.

@gqmelo
gqmelo marked this pull request as ready for review December 1, 2026 14:51
@gqmelo
gqmelo requested a review from jeqo December 1, 2026 14:51
…ion file

Since the Kafka 4.4 sync (#897), the clients tests load the generated
kafka-version.properties, so getInklessTag() returns the git-describe of
the build instead of "unknown". The upstream CI workflow fails
testInklessTagDefaultsToUnknownAndSuppressesSuffix on main.

Move the suffix logic into inklessTagSuffix(String), as kafkaVersion
already does for the version, and test it with the unknown, empty, and
real tag values.

## Testing

- `./gradlew :clients:test --tests AppInfoParserTest` passes with a real
  inkless tag baked into the build.
- checkstyle, spotless, spotbugs, and the public API checker pass for
  `:clients`.

Assisted-by: Claude Opus 5.5
@gqmelo
gqmelo force-pushed the fix/inkless-tag-suffix-test branch from c1fe8b3 to 0b7c3c6 Compare December 1, 2026 15:20
@gqmelo
gqmelo requested a review from jeqo December 1, 2026 15:21
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

0