Files
renovate/lib/modules/datasource/devbox
Sebastian Poxhofer fc57966a6e fix(datasource): document first as the default registry strategy (#46104)
* fix(datasource): document `first` as the default registry strategy

The `hunt` JSDoc claimed to be the default for an undefined
`registryStrategy`, but the `Datasource` base class sets `first`, so the
`?? 'hunt'` fallback in the registry was only reachable from a test double.
Make the field required on `DatasourceApi`, move the "default" note to
`first`, drop the fallback, and delete the five overrides that restated the
base default.

* test(datasource): set registryStrategy on the object-literal datasource doubles

`registryStrategy` is required on `DatasourceApi` since this PR, and the two
object-literal doubles added with the GraalVM datasource (#40497) did not set
it, which failed the type check.
2026-09-30 16:50:38 +00:00
..