The GitHub Actions job "Groovy Snapshot Canary Build" on 
grails-core.git/test/grails-data-mongodb-specs has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
06fde1ddeb41145f04a6d42aea5487f67176ea23 / Walter Duque de Estrada 
<[email protected]>
Add targeted unit coverage for remaining core module gaps

Covers the four genuine gaps in grails-data-mongodb-core that survived
a full-module review (everything else in the module's 67 main classes
is either trivial or already exercised by its 135-spec functional/TCK
suite):

- Distance.inRadians() - had zero test references anywhere; new
  DistanceSpec covers the radian conversion for every Metric plus
  valueOf/equality.
- MongoIdCoercion - a pure static utility with documented null,
  missing-mapping, converter-rejection and converter-exception
  fallback branches, only ever exercised via unrelated happy-path
  functional specs; new MongoIdCoercionSpec covers every branch.
- AbstractMongoConnectionSourceSettings.getUrl()/getDatabase() - the
  existing MongoConnectionSourceSettingsSpec only exercised the
  connectionString-supplied branch; added cases for the manually
  host/port/credential-built URL (including the omit-credentials and
  omit-port branches) and the databaseName fallback in both methods.
- MongoStaticApi.withCollection/useCollection/withDatabase - had no
  direct test (their sibling useDatabase already did); added to the
  existing SwitchDatabaseAtRuntimeSpec alongside it.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QAjfckcY4EJsxranv1RyGV

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

With regards,
GitHub Actions via GitBox

Reply via email to