fix: disable Renovate gomod updates for ci/ to prevent artifact failures #370

Merged
guettlibot merged 3 commits from refs/pull/370/head into main 2026-06-03 20:13:44 +00:00
guettlibot commented 2026-06-03 18:12:26 +00:00 (Migrated from codeberg.org)

What

PR #356 (Renovate) was blocked with renovate/artifacts — "Artifact file update failure" — because ci/go.sum could not be updated automatically.

Root cause: ci/main.go imports dagger/ci/internal/dagger (generated by dagger develop, not committed to the repo). Without that generated package present, go mod tidy cannot resolve the full dependency graph, so Renovate's artifact update step always fails.

The actual OpenTelemetry version bump from PR #356 was already applied manually in PR #363.

Fix

Adds a packageRule to renovate.json to disable the gomod manager for ci/**. Renovate will no longer open failing PRs for Go dependencies in the Dagger CI module; updates to ci/go.mod and ci/go.sum must be done manually (using dagger develop && go mod tidy inside ci/).

Verification

  • renovate.json validates against the Renovate schema.
  • No Go or Drift schema changes; task check is unaffected.

Closes #368

## What PR #356 (Renovate) was blocked with `renovate/artifacts` — \"Artifact file update failure\" — because `ci/go.sum` could not be updated automatically. **Root cause**: `ci/main.go` imports `dagger/ci/internal/dagger` (generated by `dagger develop`, not committed to the repo). Without that generated package present, `go mod tidy` cannot resolve the full dependency graph, so Renovate's artifact update step always fails. The actual OpenTelemetry version bump from PR #356 was already applied manually in PR #363. ## Fix Adds a `packageRule` to `renovate.json` to disable the `gomod` manager for `ci/**`. Renovate will no longer open failing PRs for Go dependencies in the Dagger CI module; updates to `ci/go.mod` and `ci/go.sum` must be done manually (using `dagger develop && go mod tidy` inside `ci/`). ## Verification - `renovate.json` validates against the Renovate schema. - No Go or Drift schema changes; `task check` is unaffected. Closes #368
Sign in to join this conversation.