Skip to content

ci: install wrangler from the in-cluster Verdaccio npm proxy, pinned - #82

Merged
mattmattox merged 1 commit into
mainfrom
chore/npm-verdaccio-wrangler-cluster-services-1030
Oct 18, 2026
Merged

mattmattox merged 1 commit into
mainfrom
chore/npm-verdaccio-wrangler-cluster-services-1030

Conversation

@mattmattox

Copy link
Copy Markdown
Contributor

What

  • Workflow env: NPM_REGISTRY=http://verdaccio.npm-proxy.svc.a1-ops-prd.local/, WRANGLER_VERSION=4.86.0.
  • The 3 "Install Wrangler" steps run npm install -g wrangler@${WRANGLER_VERSION} --registry=$NPM_REGISTRY --loglevel=http and require at least one fetch GET 200 <mirror> line. Otherwise the step fails (mirror down, or the mirror wasn't actually used); it does not quietly go upstream.

Why

cluster-services-1030 (parent 1027): build fetches should come from a cache we run. Verdaccio (cluster-services npm-proxy/, 2 replicas, PDB, critical 0-ready alert) already serves TaskForge CI. All jobs here run on self-hosted-linux in a1-ops-prd.

Pin: the old step was unpinned (it took the latest wrangler). 4.86.0 is what the last successful deploy (run 39008946036) used, so this changes the source, not the version. Bump WRANGLER_VERSION deliberately.

Verified

From a node:22-alpine pod in a1-ops-prd, with the same command: rc=0, 129 fetches served by Verdaccio, wrangler --version = 4.86.0.

Refs: cluster-services-1030

All three deploy jobs ran an unpinned `npm install -g wrangler` straight
from registry.npmjs.org. They now install wrangler@4.86.0 (the version
the deploys already resolved to, run 39008946036) through the Verdaccio
pull-through proxy in a1-ops-prd (http://verdaccio.npm-proxy.svc.a1-ops-prd.local/,
where self-hosted-linux runs). The step fails visibly if the mirror is
down or served no fetches ("fetch GET 200 <mirror>" guard), rather than
quietly going upstream. Proven in-cluster: install rc=0, 129 fetches from
Verdaccio, wrangler --version 4.86.0.

Refs: cluster-services-1030
@mattmattox
mattmattox deployed to development October 18, 2026 00:51 — with GitHub Actions Active
@mattmattox
mattmattox merged commit 3f5b261 into main Oct 18, 2026
10 of 11 checks passed
@mattmattox
mattmattox deleted the chore/npm-verdaccio-wrangler-cluster-services-1030 branch October 18, 2026 01:21

This branch was successfully deployed

1 active deployment
development — 702dfc3e Deployed Oct 18, 2026 by mattmattox via Deploy-NonProd (development) #460
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.

1 participant