Skip to content

fix(dashboard): turn off the Worker's preview URLs - #82

Merged
kodiakhq[bot] merged 1 commit into
mainfrom
fix/worker-preview-urls
Nov 8, 2026
Merged

kodiakhq[bot] merged 1 commit into
mainfrom
fix/worker-preview-urls

Conversation

@RedStar071

@RedStar071 RedStar071 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Summary

Sets preview_urls to false in apps/web/wrangler.jsonc. The Worker keeps its workers.dev address and the app.code-zero.dev custom domain. It no longer publishes a separate public hostname for each uploaded version.

Why

Wrangler turns preview URLs on by default when workers_dev is enabled and preview_urls is not set, and it warned about this on the first deploy. A preview URL would serve an unreleased build of the dashboard, with the production bindings, on a hostname nobody reviews.

Verification

  • aube run check:repo
  • aube run lint:ci
  • aube run typecheck
  • aube test
  • aube run build

Safety and compatibility

  • I added or updated deterministic tests for changed behavior.
  • I preserved observe mode as read-only, or explained the policy change above.
  • Runtime commands and target-repository writes remain inside the runner boundary.
  • I did not expose secrets, tokens, personal data, or untrusted output in logs.
  • I updated documentation and Agent Skills when workflows or boundaries changed.

Agent context

  • Agent/tools used: Claude Code with the Wolfstar Agent Kit.
  • What the agent did, and what you changed or verified yourself: The agent made the one-line config change and ran the two checks above. Typecheck and tests cover no changed code, so CI runs them.

Reviewer notes

The change takes effect on the next dashboard deploy. Versions already uploaded keep their preview URLs until then.

🤖 AI disclosure: Wolfstar Agent Kit modified this description. AI open source policy.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Reviews (1) · Last reviewed commit: "fix(dashboard): turn off the Worker's pr..." · Reviewed by Greptile

With preview URLs on, every uploaded version of the Worker gets its own public hostname.
The dashboard keeps its workers.dev address but no longer publishes per-version previews.
@coldtea-pr-lens

coldtea-pr-lens Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Architecture

Architecture diagram for wolfstar-project/code-zero at d87979d

Open the canvas


Data flow

No data-flow sequence changed in this PR.


Tip

The diagrams are links. Click one to open it on the canvas, then press W or click play to walk through the change

🪧 More tips
  • Run npx skills add coldteadotai/pr-lens, then tell your coding agent: "Diagram the change you just made with PR Lens and attach it to the pull request."
  • Run npx @coldtea/pr-lens-cli analyze --base origin/main on a branch, then npx @coldtea/pr-lens-cli render .pr-lens/graph.json. Same lenses, your own model key, before the pull request exists
  • Click the link under each diagram to open it on a canvas you can zoom, pan and step through
  • Open a diagram on the canvas, then press W or click play to walk through the change one step at a time
  • The CLI's render reads .github/pr-lens.yml and applies your renames, exclusions and lane pins at draw time
  • Set github.comment.collapsed: true in .github/pr-lens.yml to fold the comment behind one View architecture… row. Drawing still runs as before
  • Set github.draw: on-demand in .github/pr-lens.yml and PR Lens stops drawing pull requests on its own. Comment @pr-lens draw on a pull request when you want that one drawn
  • Add .github/workflows/pr-lens.yml with coldteadotai/pr-lens/packages/action@v0 and your model provider's key as its api-key to run PR Lens from your own CI. Any /chat/completions endpoint works
  • After a push, tick Redraw to draw the latest commit
  • Switch GitHub to dark mode and the diagrams follow. The moving dots are this pull request's data in motion
  • Set github.description: false in .github/pr-lens.yml to stop PR Lens adding buttons to your PR descriptions

Thanks for using PR Lens! It's free for OSS. If it helped, a star helps other teams find it.  Star PR Lens on GitHub

@kodiakhq
kodiakhq Bot merged commit 172f5d0 into main Nov 8, 2026
16 checks passed
@kodiakhq
kodiakhq Bot deleted the fix/worker-preview-urls branch November 8, 2026 16:58
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