Skip to content

chore(deps): bump shared-config images together, and make Dependabot propose them that way - #1658

Merged
Gerrrt merged 2 commits into
mainfrom
chore/deps-shared-config-bumps
Nov 23, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
chore/deps-shared-config-bumps

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

What changed

Image bumps, applied together to every stack that shares the config:

  • grafana/alloy v1.21.3 → v1.22.0 in observability, lab, sensor, soc, bloodhound and analyst
  • grafana/loki 3.7.9 → 3.7.10 in observability and lab
  • caddy 2.11.9: observability and sensitive move to the digest the other five stacks already run

.github/dependabot.yml: observability, lab, sensitive, soc, scratch, sensor, bloodhound and analyst are now one docker-compose entry with directories:. A shared-config group (group-by: dependency-name) gives Alloy, Caddy and the socket proxy one PR per image across every stack that pins it. Socket-proxy majors are ignored. media and wiki keep their own entries.

Why

Dependabot opened one PR per stack for each of these images, and check_image_pins.py's shared-config rule (#848) fails any one of them alone, because the stacks mount observability's Alloy, socket-proxy and ingest-CA config. That left fourteen red PRs this week. This PR replaces #1607, #1608, #1616, #1620, #1624, #1625, #1630 and #1638.

The socket-proxy PRs (#1610, #1614, #1618, #1623, #1627, #1628) move v0.5.0 to 3.4. That's upstream's HAProxy-named tag series, not a newer release, and Dependabot only offered it because it reads 3.4 as a major version. The new ignore rule holds it until someone adopts that series on purpose.

Trade-off: observability's and lab's grafana-stack and prometheus-stack bumps now arrive in one PR instead of one each. Merging still doesn't deploy lab. The dependabot.yml comment records this.

Blast radius

Alloy and Loki on every host that runs them, and Caddy on observability's host and on trinity. trinity's converge applies sensitive's pins within the hour of a merge. Hosts deployed by hand get the bump the next time their stack is pulled.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

Run locally on Windows, without a Docker daemon:

  • check_image_pins.py: image pins OK … 16 shared-config pin pair(s) identical. Each Dependabot PR fails this check alone.

  • check_shared_blocks.py, check_docs.py: OK

  • lint.sh: passed, with 11 skipped (actionlint, zizmor, packer, tofu, ansible-lint and editorconfig-checker need Docker or pipx), so those have not run

  • dependabot.yml parses to the intended entries and groups. Dependabot itself only proves it on its next run.

  • make validate passes. Not run locally (no Docker). CI's Validate configs is the proof.

  • Deployed to the lab and confirmed working

  • Docs updated (docs/, service README, or docs/roadmap.md). No current-state document pins these versions.

…s their config

Dependabot opened these one stack at a time (#1607 #1608 #1616 #1620
#1624 #1625 #1630 #1638), and check_image_pins.py fails each alone,
because the stacks mount observability's config and must run its image
digest for digest. One PR carries them together:

- grafana/alloy v1.21.3 -> v1.22.0 in observability, lab, sensor, soc,
  bloodhound and analyst
- grafana/loki 3.7.9 -> 3.7.10 in observability and lab
- caddy 2.11.9 digest refresh in observability and sensitive, onto the
  digest the other five stacks already run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 05:43
@Gerrrt
Gerrrt enabled auto-merge (squash) November 23, 2026 05:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Changes span six telemetry stacks and both Loki stores, but missing runtime and deployment evidence leaves component loading, image-owned volume permissions, and hardened startup requiring human confirmation.

No open issues 🎉

What changed in this PR

Coordinates dependency updates across stacks that share configuration, keeping image pins aligned rather than applying the linked Dependabot updates separately.

Changes:

  • Updates Alloy from v1.21.3 to v1.22.0 across six stacks.
  • Updates Loki from 3.7.9 to 3.7.10 in observability and lab.
  • Refreshes the Caddy 2.11.9 digest in observability and sensitive to match the other stacks.
File Description
stacks/​soc/​compose.yaml Updates the Alloy image pin.
stacks/​sensor/​compose.yaml Updates the Alloy image pin.
stacks/​sensitive/​compose.yaml Aligns the Caddy digest.
stacks/​observability/​compose.yaml Updates Alloy and Loki; aligns the Caddy digest.
stacks/​lab/​compose.yaml Updates Alloy and Loki image pins.
stacks/​bloodhound/​compose.yaml Updates the Alloy image pin.
stacks/​analyst/​compose.yaml Updates the Alloy image pin.

Review effort: Balanced

… and hold the socket proxy's tag series

Every stack that mounts another stack's config now sits in one
docker-compose entry with `directories:`. A shared-config group with
`group-by: dependency-name` gives Alloy, Caddy and the socket proxy one PR
per image across every directory, so check_image_pins.py's shared-config
rule (#848) sees each bump whole instead of failing it per stack. The
links are read off the mounts: analyst, bloodhound, lab, sensor and soc on
observability's Alloy and socket-proxy config, sensitive's Caddy on
observability's ingest CA, scratch on soc's Wazuh and Velociraptor config.
media and wiki share nothing and keep their own entries.

The wazuh, velociraptor, immich, grafana-stack and prometheus-stack groups
and the Postgres-major holds carry over. Observability's and lab's grafana
and prom bumps now arrive in one PR, a trade the comment records.

tecnativa/docker-socket-proxy majors are ignored: upstream's HAProxy-named
tags (3.2, 3.4, lts) read to Dependabot as a major release and opened six
PRs (#1610 #1614 #1618 #1623 #1627 #1628) for a different tag series.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt Gerrrt changed the title chore(deps): bump Alloy, Loki and Caddy across every stack that share… chore(deps): bump shared-config images together, and make Dependabot propose them that way Nov 23, 2026
@Gerrrt
Gerrrt merged commit e9f3cb0 into main Nov 23, 2026
11 checks passed
@Gerrrt
Gerrrt deleted the chore/deps-shared-config-bumps branch November 23, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants