why is it impossible to change the "PR
why is it impossible to change the "PR Preview Command" under "Branch Control" for Workers CI?
9 Replies
Unable to reproduce on my end 🤔
But.. looking at your video, you look to be editing an environment? Can you confirm if you have a dropdown of "environments" in your workers settings page?
("You are editing your prod environment" makes me think that this isn't the typical settings page for a worker)
I think this has been fixed, can you confirm?
i will check soon!
thanks!
looks like the setting moved to "Build configuration" from "Branch control"? trying now
ok the field seems to work now!
fwiw the docs/UX around this is a bit confusing
i think maybe grouping everything together would make more sense?
do you see something wrong here? i'm not able to get the PRs to generate preview URLs. i'm using a Bun monorepo setup

boss is our web app (in
apps/boss)
(note i have SKIP_DEPENDENCY_INSTALL=true because we use bun and CF doesn't support using .tool-versions yet)also i see no previe URLs in the PR commits

i set
"preview_urls": true in wrangler.jsonc as well in case that matters
lol now no builds are happening at all in my PR commits
also "compatibility_date": "2025-06-17", is set
sorry to be annoying, but figure feedback is good: why does the "view all deployments" page not actually link out directly to the deployment URL? i thought this used to exist?
ok i'm dumb, ignore the "builds not working" messageok ok, finally got everything working, you can safely ignore my previous stuff besides the UX feedback. here is what I ended up doing:
the deploy/version scripts just call the respective wrangler commands with the env passed

😂 you had an adventure! Glad you got it sorted. The deploy command did move as we had to revert some dash changes— but we plan to regroup them again soon!
ok cool, thanks a lot for working with me on this, unblocked our team!