The GitHub Actions job "Coverage" on 
grails-core.git/fix/forge-analytics-security has succeeded.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
4adff56413dc9b945918ff6d87e5f1f5965b605f / James Fredley 
<[email protected]>
Require authentication for the Forge analytics report endpoint

- Move @Secured to make POST /analytics/report authenticated while the
  GET /analytics/top/* dashboard endpoints stay anonymous public reads
- Extract report persistence into a transactional AnalyticsReporter so
  the write runs in its own interceptable transaction
- Make the FeatureRepository top*() query methods public (keeping their
  @ReadOnly transaction advice) so they can be verified in tests
- Fix the security spec: mock the FeatureRepository so anonymous reads
  return 200, use a lifecycle-managed HTTP client, supply the JWT
  validation secret, and add a test-only synchronous TransactionOperations
  so @ReadOnly resolves without a datasource

Assisted-by: Sisyphus:openai/gpt-5.6-terra [gpt-coding]

Report URL: https://github.com/apache/grails-core/actions/runs/29556382289

With regards,
GitHub Actions via GitBox

Reply via email to