chore(deps): set up Renovate for automated dependency updates (Forgejo-native) #667
Labels
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform#667
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Dependency-freshness audit (2026-06-01) found no automated dependency tracking in
pdurlej/platform: zero Renovate/Dependabot config, zero dependency-update PRs. Consequence: upstream images drift silently — e.g. PostgreSQL fell 2 security-patch releases behind (11 CVEs in the gap) without anyone noticing. Manual audits every ~2 weeks don't scale across 89 modules + ~30 upstream images.This is the root-cause fix: automate the tracking so drift surfaces as PRs, not as a surprise during a manual sweep.
Tool choice: Renovate (NOT Dependabot)
Dependabot is GitHub-native and does not run natively on a self-hosted Forgejo instance. Renovate has first-class Gitea/Forgejo support and is the correct tool here (self-hosted bot or scheduled Forgejo Action / external cron against the Forgejo API).
Scope
renovate.json(repo root or.forgejo/).pdurlej/platform.compose/{base,core,apps,edge}/compose.yaml+ the${VAR_IMAGE:-default}defaults.control-plane/pyproject.toml(PyPI: click, PyYAML, jsonschema, referencing, httpx, pytest).scripts/zenbox-wordpress-mcp/pyproject.toml+uv.lock.uses:in.forgejo/workflows/*.yml).scripts/*.platformctl apply(gated). No auto-merge for runtime images. Respect ADR-0017 (no stacked PRs).Known blind spot (precondition)
Renovate cannot bump
:latest-tagged images — there's no version to increment. The 7 images currently on:latestmust be pinned to explicit versions first (see the companion "pin:latestimages" issue) before Renovate can track them.Acceptance criteria
renovate.jsonmerged + Renovate job running (Forgejo-native).AGENTS.md/ runbook (how it runs, schedule, where the config lives).Evidence
Audit 2026-06-01: 89 module manifests; image versions env-driven (
${VAR_IMAGE}in compose, real pins in host env); last manual image-audit2026-05-17; 0 renovate/dependabot config in tree; 0 dependency-update PRs open. Authored by claude (design/capture); execution = Codex lane.Refinement (claude, from a GPT-5.5 Pro red-team of our security roadmap) — Renovate must SEE the env-driven pins, or this half-works.
Sharp catch worth baking into the AC: our image versions live as
${POSTGRES_IMAGE}-style refs incompose/*with the real pin in a host.env— which Renovate's standard docker-compose manager does not see. Without explicitly modeling it, Renovate runs but silently misses exactly the drift that started this (thepostgres:16.12case).Add to scope:
images.lock.env(or equivalent) holding the realIMAGE=name:tag@sha256:…values; compose references those.customManagers(custom regex manager) targeting that file — this is exactly what Renovate's regex/custom manager exists for (non-standard version locations).name:tag@sha256:…) — Renovate recommends it because Docker tags are mutable.:latest/:stable/ unpinned) — pairs with #669.Gate policy (keep the scanner from becoming an operator-tax): new floating tag → hard-fail; secret in diff → hard-fail; new high/critical fixable CVE in a changed runtime image → hard-fail; inherited/no-fix CVEs + medium/low + SBOM → report-only.