From c5b977ccc13e3eb635a9ccac24b5a783d213d8c4 Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Mon, 3 Aug 2026 22:05:23 +0200 Subject: [PATCH] ci(renovate): stop dependency updates from bumping the go directive (#2951) --- .github/renovate.json | 5 +++++ experiments/errors.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index 0b63169d..92ce1a09 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -50,6 +50,11 @@ "matchManagers": ["gomod"], "matchDepTypes": ["golang"], "enabled": false + }, + { + "description": "Skip releases whose own `go` directive exceeds ours. Without this, `gomodTidy` propagates their requirement into our go.mod and breaks the older Go versions in the CI matrix.", + "matchManagers": ["gomod"], + "constraintsFiltering": "strict" } ] } diff --git a/experiments/errors.go b/experiments/errors.go index 68a5f8b8..850220c4 100644 --- a/experiments/errors.go +++ b/experiments/errors.go @@ -16,7 +16,7 @@ type InvalidValueError struct { func (err InvalidValueError) Error() string { return fmt.Sprintf( - "task: Experiment %q has an invalid value %q (allowed values: %s)", + "task: Experiment %q has an invalid value %d (allowed values: %s)", err.Name, err.Value, strings.Join(slicesext.Convert(err.AllowedValues, strconv.Itoa), ", "),