Skip to content

chore(deps): hold Postgres majors on the sensitive tier, as wiki and bloodhound already do - #1185

Merged
Gerrrt merged 1 commit into
mainfrom
review/dependabot-sensitive-postgres-majors
Oct 14, 2026
Merged

Gerrrt merged 1 commit into
mainfrom
review/dependabot-sensitive-postgres-majors

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Oct 14, 2026

Copy link
Copy Markdown
Owner

What changed

The /stacks/sensitive Dependabot entry now ignores version-update:semver-major for postgres and ghcr.io/immich-app/postgres, the same ignore block the /stacks/wiki and /stacks/bloodhound entries already carry. Nothing else moves.

Why

Found during a repository review. The tier's three Postgres volumes (immich-db, paperless-db-data, miniflux-db-data) are quiesced data-directory tars in make backup, restorable only into the same major (ADR-0065), and trinity's homelab-converge-sensitive deploys a merged bump within the hour. With no ignore on this entry, a major bump would have started the next major against the previous major's data directory on trinity, with the previous night's set the only way back. Immich's vectorchord image is held by name too, since its tag moves with the Postgres major.

Blast radius

None at runtime: this changes which PRs Dependabot opens, not what deploys.

  • 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

  • Parsed with PyYAML; both ignore entries present on the sensitive entry; no line over 120 columns.
  • make validate could not be run in this environment (no Docker daemon, no yamllint binary); CI's lint job covers it.
  • make validate passes (CI)
  • Deployed to the lab and confirmed working (not applicable: Dependabot config only)
  • Docs updated (the entry's own comment records the reasoning)

🤖 Generated with Claude Code

https://claude.ai/code/session_013Dchg9vmfKeQd7uzRzPcLR


Generated by Claude Code

…bloodhound already do

The sensitive tier's three Postgres volumes are quiesced data-directory
tars in `make backup`, restorable only into the same major (ADR-0065),
and trinity's converge timer deploys a merged bump within the hour. The
wiki and bloodhound entries already ignore semver-major for postgres;
this one did not, so a major bump would have reached the host with the
previous night's set as the only way back. Both image names are held,
because Immich's vectorchord build is its own image whose tag moves with
the Postgres major too.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Dchg9vmfKeQd7uzRzPcLR
Copilot AI balanced review requested due to automatic review settings October 14, 2026 05:10

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.

🟢 Approval recommended

The configuration is valid, narrowly scoped, and consistent with existing Postgres safeguards.

0 open findings

What changed in this PR

Prevents unsafe automatic Postgres major upgrades for the sensitive stack.

Changes:

  • Ignores major updates for standard and Immich Postgres images.
  • Documents the backup and deployment rationale.
File Description
.github/​dependabot.yml Adds sensitive-tier Postgres major-version holds.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Gerrrt
Gerrrt merged commit 4d38165 into main Oct 14, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the review/dependabot-sensitive-postgres-majors branch October 14, 2026 10:26
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.

3 participants