Skip to content

build(deps): take every safe version update before Renovate - #5102

Merged
dan-petty merged 11 commits into
mainfrom
build/5065-safe-version-baseline
Nov 12, 2026
Merged

dan-petty merged 11 commits into
mainfrom
build/5065-safe-version-baseline

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Take every version update that is safe now, so that Renovate starts from a current baseline. The change folder lists each update (from -> to): actions, workflow images, pre-commit, Dockerfiles, devcontainer, tools lock (OpenSpec 1.17.0), cluster charts, images and Grafana plugins, Python (52 direct, 64 transitive).

On merge Argo CD rolls the cluster: Argo CD and Grafana pods restart; Argo CD 3.6 diffs through the API server; Tempo applies 168 h retention to old traces; Alloy keeps only NET_BIND_SERVICE (check alloy-logs); both PostgreSQL databases restart (17.11); LiteLLM builds spend-log indexes. Rollback: revert this pull request.

Held: Python 3.15, Node 26. tenacity 9.2 cannot resolve while google-genai caps it below 9.2.0. Migrations: Refs #5072 #5073 #5074 #5075 #5076 #5078 #5083 #5085 dan-petty/homelab#353 dan-petty/homelab#354 dan-petty/homelab#355 #5091 #5092 #5093 #5094 #5095 #5096 #5097 #5098

Closes #5065
Change: openspec/changes/archive/2026-11-12-5065-take-every-safe-version-update-before/

@dan-petty dan-petty added type/infra Type infra: the build, CI, images or cluster scope/deps Dependency pins, upgrades and the supply chain labels Nov 12, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results (2026-11-12, local, OpenSpec 1.17.0 first on PATH):

On the pushed head (after the rebase on 8a7b113):

Command Result
uv run devops ci --check --only lint,format,docs,openspec,actionlint,zizmor,k8s,constructs,uv-check,lockfile,deps,startup-imports,build,audit,test-tree,swallowed-failures,typecheck 18 rows pass
uv run pytest -q over tests/tools_lock, tests/invariants, tests/openspec, tests/github, tests/roadmap/stage, tests/commands/test_gh_cmd.py, the 19 files that read the changed pins (scanner contract, review canary, runner tools, Renovate config, test_ci.py, tuicr, gh-dash, tool databases, advisories, inventory, install-tools, devcontainer, golangci-lint, binary digest, image pins, kb manuals), test_test_selection.py (full-gate collection) and test_isolation_tripwire.py 5404 passed, 1 skipped
pre-push hooks (branch holds origin/main, fast static checks, workflow checks) pass

Before the rebase (same pins):

Command Result
uv run pytest -q tests/commands/k8s tests/k8s tests/prometheus tests/argo tests/core/test_k8s_local_path_placement.py tests/ai/benchmark/test_k8s_llm_gateway.py 1832 passed
the tests that the Python updates changed, tests/http, tests/ai/mcp/test_ai_gateway.py 507 passed
the 38 other test files that use the OpenSpec fake 926 passed
uv run devops openspec check pass

Research runs (same pins): the full suite on the Python updates, 23,696 passed. Every chart rendered with helm template at the new version; the three chart majors render the same objects; kubeconform shows no new invalid object; devops k8s image-pins resolves all 39 images. Every Argo CD Application was Synced at the start, and each from-value equals the live value.

The new test test_lock_file_maintenance_keeps_google_genai_below_3_until_the_pydantic_ai_move failed before its Renovate rule and passes with it.

The OpenSpec record (tests/fixtures/openspec_runs/recorded_runs.json) was made again with 1.17.0 inside pytest: a scratch test marked live("openspec") called record_scenarios(). It is not committed. #5083 asks for a committed record route.

#3108 has the scan evidence: Trivy 0.76.2 and actionlint 1.17.1 remove the findings that keep both tools out of the runner image.

After the merge: watch the Argo CD sync of the cluster changes in the body (the alloy-logs capabilities, the two PostgreSQL restarts, the LiteLLM start). A devcontainer on the old image needs uv run devops install-tools --tool openspec before devops openspec check.

- setup-uv v10.3.3 (uv 0.13.7 input), login-action v4.8.0, codeql-action v4.39.3,
  action-semantic-pull-request v6.1.2.
- The version comments of build-push-action (v7.4.0) and setup-buildx-action (v4.4.1)
  name the tag of the pinned commit.
- Trivy 0.76.2 in each trivy-action version input; actionlint 1.17.1 and registry:3 by digest.
- pre-commit-hooks v6.0.0: the config uses no removed hook.
- The actionlint test accepts any version, the registry test checks the form of the digest,
  and the devcontainer action test reads the Dev Containers CLI pin from the lock.
- uv 0.13.7, gh 2.103.3 (url and sha256 of both builds), the python 3.14 digest
  (Python 3.14.10, equal to .python-version) and the node 24 digest (Node 24.22.3).
- The Dockerfile syntax image and debian:sid are pinned by digest.
- The devcontainer tools stage takes the tools-lock pins of this branch (Linux url and sha256).
- The devcontainer feature lock moves each feature in its major (common-utils 2.7.1,
  kubectl-helm-minikube 1.3.2, copilot-cli 1.1.4, github-cli 1.1.3, node 2.1.2).
- runner_tools.py names uv 0.13.7 and gh 2.103.3. CVE-2026-78661 stays ignored: gh 2.103.3
  still has x/net 0.60.0 (#3920).
- trivy 0.76.2, argo 4.1.6 (with the Argo Workflows image tag v4.1.6), argocd 3.6.1,
  cloudflared 2026.11.0, kubectl-argo-rollouts 1.10.2, tuicr 0.28.0, promtool 3.16.0,
  golangci-lint 1.64.8 (the last v1 release). Each sha256 equals the release asset digest.
- devcontainers-cli 0.90.0 with its npm lockfile.
- The tflint and Node tool tests read the version from the lock, so a pin update changes
  no test.
- tools.lock and openspec/package.json pin @fission-ai/openspec 1.17.0. The npm lockfile
  takes the newest releases in range of its dependencies (@InQuirer 2.1-8.8, ansi-regex 6.6.0,
  brace-expansion 5.0.13, mute-stream 4.0.0); 57 packages, all from registry.npmjs.org,
  npm ci, npm audit signatures and npm audit pass.
- The Style Dictionary lockfile takes prettier 3.10.1.
- The 12 generated skills name generatedBy 1.17.0 (devops openspec regenerate).
- tests/fixtures/openspec_runs/recorded_runs.json is recorded again with 1.17.0, inside
  pytest (a live test that calls record_scenarios). The archive test reads the date of the
  archive folder from the record.
- The tools.lock runbook names the test paths that exist.
Update 14 Helm charts, the Grafana Drilldown plugins and 9 third-party
images to their newest release in the same major. Each update is a patch
or a minor, or it changes only named values.

- Charts: argo-cd 10.18.0 (Argo CD v3.6.1), argo-workflows 2.0.18
  (v4.1.6), argocd-image-updater 1.4.2, grafana 14.4.1 (Grafana 13.3.1),
  k8s-monitoring 4.6.0, loki 20.4.1, opentelemetry-collector 0.178.3,
  plugin-barman-cloud 0.9.0, prometheus-operator-crds 32.0.2,
  prometheus 29.47.2, pyroscope 2.4.3, qdrant 1.20.0, tempo 3.2.1,
  traefik 42.3.2. deploy-stack installs the same versions.
- The argo CLI pin in tools.lock and in the devcontainer moves to 4.1.6
  with the controller tag, as the test of the pin requires.
- Grafana plugins: lokiexplore 3.1.0, metricsdrilldown 3.1.0 (needs
  Grafana 13.3.0), pyroscope 3.1.0, exploretraces 3.2.0.
- Images: cloudflared 2026.11.0, LiteLLM v1.103.11, Portkey 1.15.2,
  redis_exporter v1.97.0, Valkey 9.1.3, PostgreSQL 17.11 (the same
  Debian bullseye image line as 17.2), Mattermost 11.7.15 (ESR).
- The tests that name a chart version, the vendored Qdrant values and
  the k8s-monitoring allow-list fixtures follow the new versions.
Update three charts to a new major. With the values of the repository,
each new chart renders the same workloads as the old chart.

- loki 21.2.1: 21.0.0 changes the default failurePolicy of the
  rollout-operator webhooks only. The values keep the rollout-operator
  off, and Loki stays at 3.7.9.
- open-webui 18.3.0: 17.0.0 and 18.0.0 change only the appVersion. The
  values pin the image tag v0.11.4, and the templates and values of the
  chart are the same.
- prometheus-operator-crds 33.0.2: the CRDs of operator v0.95.2 add
  fields and validation rules. No CRD version is removed, and the cluster
  has no AlertmanagerConfig, Alertmanager or Prometheus object.
Set 52 direct pins to the newest release and move 64 transitive packages
in uv.lock (uv lock --upgrade). Keep google-genai at 2.34.0, because
pydantic-ai 2.67 and later cap it below 3.

Hold kubernetes 36.0.3, pydantic-ai 2.59.0, pydantic-ai-harness 0.59.0
and tenacity 9.1.4. Take anthropic 1.17.0 and typer 0.28.0, not the next
major or 0.x minor. Each of these needs a migration or is blocked by an
upstream bound.

Fix what the new versions find:
- ruff 0.17 RUF071: use posixpath.commonpath for the wildcard name of a
  gateway deployment, and a fixed metric namespace in a test.
- ty 0.0.101: use the new rule names and give the async egress backend
  its declared type.
- pytest 9.2: expect PluginImportFailure in the tripwire test.
- Set the zizmor and pytest-randomly pins that two tests read.
- Set the knowledge base versions and applies_to to the new pins.
pydantic-ai 2.67 and later cap google-genai below 3, and the lock keeps pydantic-ai 2.59, so the
weekly lock maintenance would move google-genai to 3 alone. The rule is a fact of this
repository's lock, so it is in .github/renovate.json and not in the shared preset.
@dan-petty
dan-petty force-pushed the build/5065-safe-version-baseline branch from adf1f4e to 34f83b3 Compare November 12, 2026 14:16
@dan-petty
dan-petty marked this pull request as ready for review November 12, 2026 14:24
@dan-petty

Copy link
Copy Markdown
Owner Author

Update: the first push did not merge cleanly (main changed .github/workflows/service-image-test.yml in #5079), so no check started. The branch is now rebased on bacf713; the conflict kept main's split build job, which already names build-push-action v7.4.0 and setup-buildx-action v4.4.1.

Local checks on head 34f83b3: the 18 static gate rows pass; uv run pytest -q tests/commands/test_ci.py tests/invariants tests/roadmap/stage tests/roadmap/test_roadmap_limit_classes.py tests/security/test_config_declarations.py tests/tools_lock tests/core/test_renovate_config.py: 3611 passed, 1 skipped.

CI on head 34f83b3: 34 check runs, 29 success, 5 skipped (Dependency Freshness, Fail-to-Pass Check, Plan Check, Test Job Duration, Tests on Main). Static Analysis, Tests & Coverage (4 shards), Semantic PR title, the Service, Runner, MCP Server and DevContainer image builds and scans, the 6 Service Image Tests shards, Image Pins, Third-Party Image Scan and CodeQL pass.

@dan-petty
dan-petty merged commit 3109817 into main Nov 12, 2026
34 checks passed
@dan-petty
dan-petty deleted the build/5065-safe-version-baseline branch November 12, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/deps Dependency pins, upgrades and the supply chain type/infra Type infra: the build, CI, images or cluster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build(deps): take every safe version update before Renovate

1 participant