feat: on-demand property/brand refresh + discovery improvements#2078
Merged
Conversation
…provements Add refresh buttons to property-viewer and brand-viewer pages so members can trigger immediate re-crawl of adagents.json and brand.json instead of waiting for the 6-hour crawl cycle. Auto-crawl when members add publisher domains to their profile, and enqueue verified WorkOS domains for discovery. - Extract scanBrandForDomain() from batch method; crawlSingleDomain now scans both files - New POST /api/registry/brand-crawl-request endpoint (rate-limited, SSRF-safe) - Extract validateCrawlDomain() to shared url-security utility (IPv4+IPv6) - Auto-crawl on member profile publisher domain save (with SSRF validation) - Enqueue verified WorkOS domains into catalog_crawl_queue Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
POST /api/registry/brand-crawl-requestfor on-demand brand.json re-crawl, matching existing crawl-request patterncatalog_crawl_queuefor the 30-minute discovery cyclevalidateCrawlDomain()in url-security.ts — uses existingvalidateHostResolution(IPv4+IPv6 checks) instead of inline IPv4-only DNS checkcrawlSingleDomainnow also scans brand.json via extractedscanBrandForDomain()methodTest plan
🤖 Generated with Claude Code