The GitHub Actions job "Required Checks" on texera.git/main has failed.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
4178064be3fae6b7067b831345213799240dd613 / Martin Vu 
<[email protected]>
fix(auth): enforce role annotation coverage in notebook-migration-service 
(#6217)

### What changes were proposed in this PR?

- Add `RoleAnnotationEnforcer.enforce(...)` to
`NotebookMigrationService` after all Jersey resources are registered so
role annotation coverage is validated at startup. This aligns the
notebook-migration-service with the other five Dropwizard microservices
that already have this guardrail.
- Update `NotebookMigrationServiceRunSpec` to mock the Jersey
`ResourceConfig` for the new startup check.

### Any related issues, documentation, discussions?

Closes #6149
Follow-up from #4904 

### How was this PR tested?

Ran:

```bash
sbt "NotebookMigrationService / testOnly *NotebookMigrationServiceRunSpec"
```

The test passed successfully.

### Was this PR authored or co-authored using generative AI tooling?

Co-authored with ChatGPT 5.5-mini

Co-authored-by: Xinyuan Lin <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to