Skip to content

fix(java-e2e): move E2eSuite12HandoffApprove to new layout (cannot find symbol)#241

Merged
v1r3n merged 1 commit into
mainfrom
fix/main-suite12-handoff
May 16, 2026
Merged

fix(java-e2e): move E2eSuite12HandoffApprove to new layout (cannot find symbol)#241
v1r3n merged 1 commit into
mainfrom
fix/main-suite12-handoff

Conversation

@v1r3n

@v1r3n v1r3n commented May 16, 2026

Copy link
Copy Markdown
Contributor

Summary

PR #228 (approve() targets sub-execution under handoff, commit dd6ba05a) added E2eSuite12HandoffApprove.java at the old test path (sdk/java/src/test/java/ai/agentspan/e2e/), extending the now-deleted E2eBaseTest. PR #223 had earlier moved all e2e tests to a flat sdk/java/e2e/ layout with no package and BaseTest as the parent class — the reviewer missed the convention.

Result: java-e2e on main (and every PR's merge tree) fails with 5x cannot find symbol: E2eBaseTest. Same broken pattern PR #239 surfaced for E2eSuite13ToolTypes and PR #240 unblocked at the workflow level.

Failing CI run: https://github.com/agentspan-ai/agentspan/actions/runs/25966916074/job/76332262258

Change

Apply the PR #223 layout:

  • Move sdk/java/src/test/java/ai/agentspan/e2e/E2eSuite12HandoffApprove.javasdk/java/e2e/Suite12HandoffApprove.java
  • Drop package ai.agentspan.e2e;
  • Rename class E2eSuite12HandoffApproveSuite12HandoffApprove
  • Change extends E2eBaseTestextends BaseTest

Behaviour, assertions, and test ids unchanged — pure layout fix.

Test plan

  • ./gradlew compileTestJava (sdk/java) → BUILD SUCCESSFUL.
  • Next CI run on main should have java-e2e compile cleanly.

PR #228 (approve() targets sub-execution under handoff, commit dd6ba05)
added ``E2eSuite12HandoffApprove.java`` at the *old* test path,
extending the now-deleted ``E2eBaseTest`` — same broken pattern that
PR #239 surfaced for ``E2eSuite13ToolTypes`` and PR #240 unblocked at
the workflow level.

Move it into the new layout (PR #223 established): flat
``sdk/java/e2e/`` directory, no package, ``extends BaseTest``, class
renamed to drop ``E2e``. Behaviour, assertions, and test ids unchanged
— pure layout fix so ``compileTestJava`` succeeds.

## Verification

* ``./gradlew compileTestJava`` (sdk/java) → BUILD SUCCESSFUL.

Source: failing CI run on main commit 9d187ac:
https://github.com/agentspan-ai/agentspan/actions/runs/25966916074/job/76332262258
(``cannot find symbol: E2eBaseTest`` × 5 in
E2eSuite12HandoffApprove.java).
@v1r3n v1r3n merged commit 3d3cfc2 into main May 16, 2026
10 of 11 checks passed
@v1r3n v1r3n deleted the fix/main-suite12-handoff branch May 16, 2026 16:48
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