Skip to content

Conversation

@kof
Copy link
Member

@kof kof commented Jan 20, 2026

Description

  1. What is this PR about (link the issue and add a short description)

Steps for reproduction

  1. click button
  2. expect xyz

Code Review

  • hi @kof, I need you to do
    • conceptual review (architecture, feature-correctness)
    • detailed review (read every line)
    • test it on preview

Before requesting a review

  • made a self-review
  • added inline comments where things may be not obvious (the "why", not "what")

Before merging

  • tested locally and on preview environment (preview dev login: 0000)
  • updated test cases document
  • added tests
  • if any new env variables are added, added them to .env file

kof added 15 commits January 20, 2026 19:29
- Add unpublishBuild function that removes domain from deployment or deletes build if no domains remain
- Add unpublish tRPC procedure in domain router
- Add Unpublish button to wstd domain section with info icon tooltip
- Add Unpublish button to custom domains section
- Disable domain renaming when project is published
- Make loadDevBuildByProjectId resilient to multiple dev builds
- Add unpublish button for project domain and custom domains
- Call edge-api deployment.unpublish to delete worker
- Remove domain from all builds in DB (not just latest)
- Disable domain renaming only when that specific domain is published
- Add PUBLISHER_HOST to deployment context for domain suffix handling
- Add error details to unpublish error messages
Check if the specific wstd domain is published, not just any domain.
This allows renaming when only custom domains are published.
@kof kof merged commit 4f27152 into main Jan 22, 2026
27 of 29 checks passed
@kof kof deleted the unpublish.staging branch January 22, 2026 09:17
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.

2 participants