Skip to content

fix(web): preserve domain verification when status checks fail - #3553

Open
yashranaway wants to merge 2 commits into
CapSoftware:mainfrom
yashranaway:fix/preserve-domain-verification-on-check-failure
Open

yashranaway wants to merge 2 commits into
CapSoftware:mainfrom
yashranaway:fix/preserve-domain-verification-on-check-failure

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

checking a custom domain's status treated a failed lookup as "not verified". when the vercel api call errored, came back with an error response, or returned something unparseable, the check came back unverified with an error attached, and we cleared the org's domain verification, which turns off custom domain routing for an org whose dns was fine. the dialog also told them to fix their dns.

now a failed lookup throws before touching the database, so the dialog shows the existing "failed to check" message and verification stays as it was. a real misconfiguration still clears it.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge, with no new actionable issues found.

Summary

Preserves an organization's domain verification when a status lookup fails.

  • Custom-domain checks keep saved verification when Vercel cannot confirm a result.

The previous unnumbered finding is addressed: provider JSON error bodies now reach the error check before the database write.

Reviews (2) · Last reviewed commit: "fix(web): treat Vercel error responses a..." · Reviewed by Greptile

@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Oct 29, 2026 8:40pm UTC

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 29, 2026 20:40 Inactive
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

Comment thread apps/web/actions/organization/check-domain.ts
@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

@yashranaway is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

This branch was previously deployed

1 inactive (outdated) deployment
Preview – cap-status — da0b5993 Deployed Oct 29, 2026 by vercel[bot]
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