The GitHub Actions job "Required Checks" on texera.git/fix/jwt-eager-401 has 
failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
1c688e1335ee9fa143cca902bad35b0fd73c7bc7 / Yicong Huang 
<[email protected]>
fix(auth): wire new specs into CI coverage

The pre-existing CI workflow ran `Auth/jacoco` only when Auth had no
tests — the inline comment said so explicitly. JwtAuthFilterSpec and
the just-moved UnauthorizedExceptionMapperSpec now do have tests, so
add `Auth/jacoco` to the sbt invocation in build.yml so Codecov picks
the report up.

Moving UnauthorizedExceptionMapperSpec from access-control-service to
common/auth puts the spec next to the code it covers and lets
Auth/jacoco report on the mapper (jacoco only attributes coverage to
the module whose bytecode is being exercised). The move required
adding jersey-common as a test-scope dep so Response.status(...).build
finds a RuntimeDelegate at test time — the limitation the original
spec was placed in access-control-service to dodge.

Local Auth/jacoco now reports: JwtAuthFilter 100% line / 88% branch
on `filter` (1 generated branch missed), UnauthorizedException 100%,
UnauthorizedExceptionMapper 100%. The remaining bytecode-level branch
gaps in JwtAuthFilter are Scala compiler artifacts (lazy-val DCL,
short-circuit `m != null` paths Java reflection never hits) and not
worth chasing.

Report URL: https://github.com/apache/texera/actions/runs/27075856699

With regards,
GitHub Actions via GitBox

Reply via email to