aglinxinyuan opened a new pull request, #8396: URL: https://github.com/apache/texera/pull/8396
### What changes were proposed in this PR? Deletes `MockKillWorkerResource`, a JAX-RS resource that is never registered and therefore never served. Pure deletion, no behaviour change: **−40 lines**. ### History | | | | --- | --- | | **Introduced by** | the initial amber import, commit `41a8a92017` (2020-08-20) — predates the PR workflow — and registered with Jersey at the time | | **Usage removed by** | commit `134bc9ba64` (2020-11-29) — "migrate UserResource" dropped it from the Jersey registration imports. A commented-out placeholder, `// environment.jersey().register(classOf[MockKillWorkerResource])`, was later reintroduced by #1394 (2022-01-26, "Fix Guest Auth") and has sat commented ever since | Dead for about six years — the longest-standing item in this cleanup series. The commented-out registration line goes with the class. ### Any related issues, documentation, discussions? Closes #8393 ### How was this PR tested? Existing tests only — no spec referenced the resource. Locally, from the repo root with Java 17: - `sbt "WorkflowExecutionService/Test/compile"` — success. - `sbt scalafmtCheckAll "scalafixAll --check"` — clean. Verification, re-runnable by a reviewer: ``` git grep -n MockKillWorkerResource # only the deleted file and the commented registration git grep -n "jersey.register" -- amber/src/main # the live registrations, untouched ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
