From a4603c283075205927d04c2f9ffcbf807ebd9048 Mon Sep 17 00:00:00 2001 From: Simon Schrottner Date: Mon, 14 Sep 2026 09:30:08 +0200 Subject: [PATCH] chore: restore .gitmodules branch pins for the flagd submodules Renovate's git-submodules manager reads `branch` from .gitmodules as the dependency's current version. Without it there is no version to compare against, so Renovate falls back to chasing the tip of the submodule's default branch as a digest update -- which does not match the community-tooling auto-create exemption and ends up parked on the dependency dashboard. The result has been no automated updates in this repo since the pin was dropped. Restore the pin at the tag each submodule currently points at, so the next release arrives as an ordinary Renovate version PR again. Also add a header comment to .gitmodules explaining what the `branch` lines are for. The pin has now been deleted as drive-by cleanup several times across the SDK repos, in each case silently switching off updates, so it is worth saying out loud in the file itself. Note that schemas has moved from the protobuf-* tag series it used to track onto json/json-schema-*, so its pin follows the series it is actually on. Signed-off-by: Simon Schrottner --- .gitmodules | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitmodules b/.gitmodules index 7e8bf9ed5..6f1a2d666 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,24 @@ +# The `branch` lines below are load-bearing, not decorative. +# +# Renovate's git-submodules manager reads `branch` as the dependency's current +# version. With it, a new submodule release arrives as an ordinary version PR +# that bumps both the pointer and the `branch` value. Without it there is no +# version to compare against, so Renovate falls back to a digest update against +# the submodule's default branch -- which does not match the auto-create rule in +# open-feature/community-tooling and is left sitting on the dependency dashboard +# where nobody sees it. +# +# So deleting a `branch` line silently switches off updates for that submodule. +# That has happened several times; see open-feature/flagd-testbed#398. Keep the +# pin, and let Renovate move it. [submodule "schemas"] path = providers/openfeature-provider-flagd/openfeature/schemas url = https://github.com/open-feature/schemas + branch = json/json-schema-v0.2.15 [submodule "providers/openfeature-provider-flagd/spec"] path = providers/openfeature-provider-flagd/openfeature/spec url = https://github.com/open-feature/spec [submodule "providers/openfeature-provider-flagd/openfeature/test-harness"] path = providers/openfeature-provider-flagd/openfeature/test-harness url = https://github.com/open-feature/flagd-testbed.git + branch = v3.8.0