Skip to content

This one needs to go first: Repair keyext.api.client test compilation - #7

Merged
unp1 merged 2 commits into
mainfrom
fix/client-test-compilation
Jun 22, 2026
Merged

This one needs to go first: Repair keyext.api.client test compilation#7
unp1 merged 2 commits into
mainfrom
fix/client-test-compilation

Conversation

@unp1

@unp1 unp1 commented Jun 22, 2026

Copy link
Copy Markdown
Member

Merge order for the PRs

#7 first (you already retitled it) → main green.
Then the four base-#7 PRs (#8, #9, #10, #11) auto-retarget to main.
#6 (correctness) and #5 (Python correctness) → rebase on main.
#12 is stacked on #6, so it retargets to main after #6 lands.

./gradlew test (the CodeQuality unit-tests job) fails on main because the keyext.api.client test sources do not compile — introduced by fbca050. This blocks CI on every PR that builds the whole project (e.g. #5).

  • RPCLayerTest imported edu.kit.iti.formal.keyextclientjava.rpc.JsonRPC, a package that does not exist (the class is org.key_project.key.api.client.JsonRPC).
  • Starter called BaseRemote.meta_version(), which does not exist; it is also a manual integration demo needing a built server jar, so it is now @Disabled.
  • the module declared useJUnitPlatform() but had no JUnit dependency.

This repairs all three so the module compiles and its tests run (:keyext.api.client:test green). No production code is touched.

PR has been created with AI tooling

The test pre-loaded a response before the request was registered, so the
reader could deliver it before callSync registered its waiting future; the
handler then NPE'd and callSync blocked forever (no timeout). It is an
artificial scenario and is covered deterministically by the client-stability
PR's callSync test.
@unp1
unp1 force-pushed the fix/client-test-compilation branch from ff41056 to 61e6d2f Compare June 22, 2026 18:49
@unp1
unp1 merged commit 31a7534 into main Jun 22, 2026
5 of 6 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.

1 participant