Repository navigation
tooling: Reduce frequency of Dependabot PRs - #5099
Conversation
"daily" results in too much noise. It makes it more difficult to spot "real" contributions vs. "noisy ones". With a reduced frequency (monthly instead of daily), this gives us the chance to update the things that we care about ourselves. It is known for some updates to result in breakages further down the pipeline, e.g. #4850 FTR: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates Signed-off-by: Gerhard Lazu <[email protected]>
|
Part of this, I would also like to close all currently open Dependabot PRs: https://github.com/dagger/dagger/pulls?q=is%3Apr+is%3Aopen+label%3Akind%2Fdependencies It will look so much better afterwards! 👉 Let me know if you think differently. |
We were missing a few dependency update areas, e.g. engine, cli, tooling, etc. Signed-off-by: Gerhard Lazu <[email protected]>
Before this, I could not find a single Dependabot update of /internal/mage/go.mod Signed-off-by: Gerhard Lazu <[email protected]>
|
Thank all! When all checks pass, this goes in. While I wait, I'm going to close all currently open Dependabot PRs. |
|
All these We should each take a few and get them merged cc @marcosnils @helderco @slumbering @crjm @grouville. I just merged 3 & closed 1. FWIW: #5100 (comment) I don't expect to see any new PRs from Dependabot before June 5th. |
The project previously avoided the Hilt Gradle plugin entirely due to a known AGP 9 incompatibility (dagger/dagger#4944), manually extending generated Hilt_* base classes as a workaround. Root-caused it: - Hilt 2.57.1 (in use) predates AGP 9 support. 2.58/2.59 added it but 2.59 shipped with a runtime regression (dagger/dagger#5099, ComponentTreeDeps missing from the artifact). 2.60.1 fixes both. - hilt-navigation-compose was pinned to 1.2.0 because 1.4.0 requires compileSdk 37 (project is on 36); 1.3.0 is the latest stable that doesn't require it. With the real plugin applied and hiltJavaCompileDebug actually running for the first time, it surfaced a real bug the pluginless setup had been silently masking: Dagger does not support Kotlin constructor default parameter values, and MovieRepository/TvRepository/ RecommendationRepository/UserListRepository relied on them as their only injection path (e.g. `movieDao: MovieDao = AppGraph.movieDao`). Fixed by dropping the defaults from the @Inject constructors (Hilt now resolves every dependency from the existing DatabaseModule/ FirebaseModule/NetworkModule/ConnectivityModule bindings) and adding a `default()` companion factory carrying the old default expressions, for the ~15 call sites across screens/workers/other ViewModels that still construct these repositories manually outside Hilt. Behavior is unchanged; only how the instances get wired changed. The wider inconsistency (AppGraph service locator + manual repository construction alongside Hilt) is unchanged by this commit and remains tracked as follow-up work.
The project previously avoided the Hilt Gradle plugin entirely due to a known AGP 9 incompatibility (dagger/dagger#4944), manually extending generated Hilt_* base classes as a workaround. Root-caused it: - Hilt 2.57.1 (in use) predates AGP 9 support. 2.58/2.59 added it but 2.59 shipped with a runtime regression (dagger/dagger#5099, ComponentTreeDeps missing from the artifact). 2.60.1 fixes both. - hilt-navigation-compose was pinned to 1.2.0 because 1.4.0 requires compileSdk 37 (project is on 36); 1.3.0 is the latest stable that doesn't require it. With the real plugin applied and hiltJavaCompileDebug actually running for the first time, it surfaced a real bug the pluginless setup had been silently masking: Dagger does not support Kotlin constructor default parameter values, and MovieRepository/TvRepository/ RecommendationRepository/UserListRepository relied on them as their only injection path (e.g. `movieDao: MovieDao = AppGraph.movieDao`). Fixed by dropping the defaults from the @Inject constructors (Hilt now resolves every dependency from the existing DatabaseModule/ FirebaseModule/NetworkModule/ConnectivityModule bindings) and adding a `default()` companion factory carrying the old default expressions, for the ~15 call sites across screens/workers/other ViewModels that still construct these repositories manually outside Hilt. Behavior is unchanged; only how the instances get wired changed. The wider inconsistency (AppGraph service locator + manual repository construction alongside Hilt) is unchanged by this commit and remains tracked as follow-up work.


Configure Dependabot to bump dependencies
monthlybecausedailyresults in too much noise. It makes it more difficult to spot "real" contributions vs. "noisy ones".With a reduced frequency (monthly instead of daily), this gives us the chance to update the things that we care about ourselves. It is known for some updates to result in breakages further down the pipeline, e.g. #4850
FTR: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates
Append extra labels to Dependabot PRs. We were missing a few dependency update areas, e.g.
engine,cli,tooling.Configure Dependabot to ignore patch updates. FTR: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#ignore
Configure Dependabot to bump Go deps in /internal/mage. Before this change, I could not find a single Dependabot update of
/internal/mage/go.mod: https://github.com/dagger/dagger/commits/main/internal/mage/go.mod🗣 Started as (private) Discord thread.