Skip to content

fix: add version dirs for the new 3.11.5.18 and 4.19.2.1 tags - #188

Merged
dkropachev merged 1 commit into
scylladb:masterfrom
nikagra:fix/version-dirs-3.11.5.18-4.19.2.1
Aug 25, 2026
Merged

fix: add version dirs for the new 3.11.5.18 and 4.19.2.1 tags#188
dkropachev merged 1 commit into
scylladb:masterfrom
nikagra:fix/version-dirs-3.11.5.18-4.19.2.1

Conversation

@nikagra

@nikagra nikagra commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

3.11.5.18 and 4.19.2.1 were tagged on 2026-08-17, ~25 minutes after scylladb/java-driver#1003 merged. Neither had a version directory, so Run.version_folder fell back to 3.11.5.16/ and 4.19.2.0/ — and those patches no longer apply.

master #2101 failed with 0 test failures (5114 passed): two of six runs died in _apply_patch_files() before executing a single test. 2026.3 selects the same two tags, so this fixes both pipelines.

What changed

New versions/scylla/3.11.5.18/ and versions/scylla/4.19.2.1/, each derived from the directory it had been falling back to:

Hunk Why it broke Action
WarningsTest.java #1003 added the identical @ScyllaSkip line upstream drop
LWTLoadBalancingIT.java renamed to *Test.java upstream (50b618a13a); fix already applied (301b879d2b) drop
CCMBridge.java upstream b45a7291fa took only the thrift half — our deterministic JMX port is still needed regenerate
SessionUtils.java upstream now applies the tablets workaround itself, version-gated drop

The prevention work this investigation turned up — fixing the misleading fallback log, and a scheduled check so a new tag breaks a 20-second job instead of a 3.5-hour matrix run — is split out into its own PR, tracked by #189.

Nothing for 3.11.5.17

2026.3 #5's ShardAwarenessTest failure needs no fix. .17 genuinely lacks #1000's retry, but extract_n_latest_repo_tags dedupes on the first three version components, so only the newest tag per line is ever selected — .17 will not be picked again.

Verification

Both patches apply cleanly (git apply --check and patch -p1, no rejects); all four selected tags now resolve exactly with no fallback; --patch-only is green for scylla and apache; 3.11.5.18 compiles and 4.19.2.1 fully installs; pytest tests/ 30/30. Hiding the two new directories reproduces #2101's errors and exits 1.

Expect a follow-up: 3.11.5.18 has never executed a test in this matrix, and six driver-core classes newly enter Surefire's discovery. ignore.yaml is copied unchanged rather than pre-emptively suppressing failures nobody has observed yet.

🤖 Generated with Claude Code

Both tags were cut on 2026-08-17 ~18:22Z, minutes after scylladb/java-driver#1003
merged. Neither had a version directory, so Run.version_folder fell back to
3.11.5.16/ and 4.19.2.0/, whose patches no longer apply -- master #2101 failed
with zero test failures, two of six runs dying in _apply_patch_files() before a
single test ran. 2026.3 will select the same two tags and fail identically.

3.11.5.18 (derived from 3.11.5.16/):
  - drop the WarningsTest hunk: #1003 (d88197e11d) added the byte-identical
    @ScyllaSkip line upstream, so the hunk is now a reversed patch.
  - drop the LWTLoadBalancingIT hunks: 50b618a13a renamed the file to
    *Test.java and 301b879d2b already removed the trailing ctor values.
  - regenerate the CCMBridge.add() hunk. Upstream b45a7291fa took only the
    thrift half, restructuring the method into if (isScylla) branches; the
    deterministic jmxPort = 7000 + n * 100 is still needed, so it now lives
    inside that branch.
  - no ShardAwarenessTest hunk: .18 carries #1000 upstream.

4.19.2.1 (derived from 4.19.2.0/):
  - drop the SessionUtils hunk: upstream now applies the tablets workaround via
    shouldUseScyllaTabletsWorkaroundForTestKeyspaces(), gated on Scylla OSS
    >= 6.1.0 / Enterprise >= 2024.2.0, which is strictly better than the
    unconditional override the hunk performed.

Both patches carry google-java-format's canonical output, so the fmt:format step
run.py runs before building no longer rewrites them.

Nothing is added for 3.11.5.17, whose ShardAwarenessTest failure in 2026.3 scylladb#5
needs no fix: extract_n_latest_repo_tags dedupes on the first three version
components, so only the newest tag per line is ever selected and .17 will not be
picked again.

Verified: both patches pass `git apply --check` and `patch -p1` against pristine
tags with no rejects; all four selected tags now resolve exactly with no
fallback; `--patch-only` exits 0 for scylla and apache; 3.11.5.18 compiles (275
test sources, Java 8) and 4.19.2.1 fully installs (32 modules).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dkropachev
dkropachev merged commit d29aa49 into scylladb:master Aug 25, 2026
11 checks passed
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