Repository navigation
fix(packaging): pin the compose evaluation stack to the 0.18.45 images - #4729
Conversation
den-api and den-web move from 0.18.37 to 0.18.45 (OCI index digests from ghcr.io). den-web 0.18.45 reads DEN_API_PUBLIC_URL for the browser-facing API origin and treats DEN_API_BASE as server-only (#4156), so the web service now sets DEN_BASE_URL, DEN_API_BASE=http://den:8788 and DEN_API_PUBLIC_URL; without them /api/runtime-config returns 500.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (16957 ms), confidentiality-review (11159 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (8f4f7b3cbb7d69067fe9995f30b2565081a822e7). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Passed · 3/3 tests · 4/4 assertions · 2 images Commit |
… (split of #4732, no workflow change) (#4905) * ci(release): pin the compose evaluation stack automatically after each release packaging/docker/docker-compose.eval.yml pinned den-api/den-web by hand and nothing in the release pipeline owned it, so evaluators ran 0.18.37 while 0.18.45 was released (#4729). After a stable tag publishes the EE images, publish-ee-images.yml now resolves the pushed OCI index digests and opens an auto-approved, auto-merging PR to dev that rewrites the pins and the docs' download commit + checksum (scripts/release/pin-compose-images.mjs). A Compose pins drift workflow (scripts/release/check-compose-pins.mjs) fails when the pins are not the highest stable v* tag, the version source the Release App workflow itself uses. * ci(release): pin actions in the privileged compose-pins job to commit SHAs * ci(release): pin the compose stack from the digest the build pushed, not the mutable tag * release: compose-pin scripts and drift check, without the workflows Split of #4732: lands scripts/release/pin-compose-images.mjs (pin + docs rewrites, refuses partial or malformed input), check-compose-pins.mjs (drift check against the highest stable tag) and their node --test cases, which the existing `node --test scripts/release/*.test.mjs` step already picks up. docs/RELEASING.md documents the manual pin sequence #4756 used. The three workflow files that automate this after each release stay in #4732, stacked on this branch, for a human review. Signed-off-by: Guillaume Loret <[email protected]> --------- Signed-off-by: Guillaume Loret <[email protected]>
Problem
packaging/docker/docker-compose.eval.ymlis the documented pull-only evaluation stack for self-hosting (packages/docs/self-host/evaluate-with-docker-compose.mdx). It pinnedopenwork-den-api/openwork-den-webto0.18.37@sha256:…while the current release is v0.18.45 (EE images published bypublish-ee-images.yml, run34425154734, 2026-09-10 01:21 UTC). Nothing in the release pipeline owns this file, so evaluators got an 8-release-old control plane.Change
den-migrate,den,web) to the 0.18.45 OCI image-index digests, the same digest kind that was pinned before (verified:ghcr.iodocker-content-digestfor0.18.37equals the old pins; the new digests equalcontainerimage.digestin the publish run logs):openwork-den-api:0.18.45@sha256:973cb75d435ce7d17011d689a23c2becab021b230dc8cffe78c7b4ea15af443dopenwork-den-web:0.18.45@sha256:b145952d15df51d10fdbe7d689f2399cafa81fdfc55da695befc7659d8b67983DEN_API_BASEis server-only andDEN_API_PUBLIC_URLis what/api/runtime-confighands to browsers;denUrls()needsDEN_BASE_URL. With only the pin bump,/api/runtime-configreturned 500 (DEN_BASE_URL must be configured). Thewebservice now setsDEN_BASE_URL,DEN_API_BASE=http://den:8788, andDEN_API_PUBLIC_URL.evaluate-with-docker-compose.mdx,packaging/docker/README.md) download the compose file by commit SHA + sha256. Both now point at50932fa7(this PR's compose commit, same convention as the previous9f8645ebPR-head pin) with checksum2868753a…. Verified:curlof that raw URL +shasum -a 256 --check→OK.Other stale refs found:
packaging/docker/Dockerfile/docker-compose.ymlcarryOPENWORK_SERVER_VERSION=0.18.4(the openwork-server npm host image, unrelated to the EE images) — left alone.packaging/docker/docker-compose.den-dev.yml(build-from-source) sets neitherDEN_API_PUBLIC_URLnorDEN_BASE_URLonweb, so it likely has the same runtime-config 500 — out of scope here.Proof
Config change; the runtime proof is booting the stack exactly as the doc instructs (Docker Desktop, local lane; no journey spec covers this file and no test parses compose files).
OPENWORK_WEB_PORT=3105/OPENWORK_API_PORT=8888(documented knobs) because 3005/8788 were in use locally.Before the env fix (pins only):
GET /api/runtime-config→ HTTP 500, web logError: DEN_BASE_URL must be configured.Local Warden:
pnpm warden:checkon8f4f7b3vsorigin/dev c744e2d→ 2/2 matched skills (diff-security-review, confidentiality-review), 3 files, No findings, exit 0.Follow-up
PR 2 (
fix/compose-pins-release-automation) automates this: a release-triggered bot PR rewrites the pins + doc checksum, and a CI drift check fails PRs todevwhen the compose pin lags the released version.