Repository navigation
fix(den-web): keep internal API URL out of runtime config - #4156
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (415f7e4f299a61410a7cad40d18c2074119b5d11). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Test evidence — den-web-sends-browser-auth-and-api-traffic-to-the-public-api-origin — 0/0 screenshots passed · 4 assertions✅ 0/0 screenshots passed · 4 assertions · 4 expectations passed · 0 failed · 0 pending ℹ️ ASSERTION — 1. The Helm ConfigMap keeps the server-only API base separate from the browser-facing API URLDEN_API_BASE=http://openwork-ee-den-api:8788; DEN_API_PUBLIC_URL=http://127.0.0.1:8790.
ℹ️ ASSERTION — 2. Den Web can reach Den API through the server-only in-cluster DEN_API_BASEGET /api/ready returned 200 with upstream=ok for DEN_API_BASE=http://openwork-ee-den-api:8788.
ℹ️ ASSERTION — 3. Den Web runtime config exposes only the browser-facing API URLHTTP 200; denApiUrl=http://127.0.0.1:8790; internal hostname absent=true.
ℹ️ ASSERTION — 4. Real browser sign-in and authenticated API traffic complete on the public API origin and never use the in-cluster serviceOutcome=/; successful POST auth=2; /v1/me=200 for [email protected]; token present=true; origins=["http://127.0.0.1:8790","http://127.0.0.1:3005"]; internal requests=0.
Test run created 2026-08-27T12:43:45.515Z · Source: |
#4729) * fix(packaging): pin the compose evaluation stack to the 0.18.45 images 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. * docs(packaging): point the evaluation download at the 0.18.45 compose file
Summary
denApiUrlfromDEN_API_PUBLIC_URL, never the server-onlyDEN_API_BASE/api/readyfor Kind port-forward health and clarify private-network deployment guidanceFixes #4153
Verification
bun test --conditions development tests/web-page.test.ts— 4 passed./node_modules/.bin/tsc --noEmit --pretty falseinee/apps/den-web— passednode --experimental-strip-types --test evals/packages/env/test/kind-stack.test.ts— 12 passedpnpm --dir evals exec vitest run --config vitest.config.ts --project pr specs/shared-world-engine.test.ts— 1 passedOPENWORK_EVAL_E2E_TESTS=1 OPENWORK_EVAL_KIND_E2E=1 ... vitest ... specs/den-split-origin-runtime-config.e2e.test.ts— 1 passed, 4 assertion-evidence claimsThe Kind topology is explicitly local-only because it requires the local Docker host and port-forwards, so Daytona placement is unsupported. The required local lane ran successfully and its evidence is published below.
Verdict
Passed — current-head Kind/Helm/real-browser evidence is published on this PR.