docs(wix-manage): document source_url on Site Import's StartImport - #852
Open
itayhewix wants to merge 4 commits into
Open
docs(wix-manage): document source_url on Site Import's StartImport#852itayhewix wants to merge 4 commits into
itayhewix wants to merge 4 commits into
Conversation
StartImportRequest now has an optional source_url field alongside request (confirmed against the SiteImportService proto) that is the actual identity key selecting which migration a request joins, not just a convenience hint. Update the skill's Start examples and the one-import-per-store dedup rule to match, and add the SITE_UNIDENTIFIED error case. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
StartImportRequest also gained fileUrls (spec 0019) alongside source_url: setting it starts a FILE run that imports CSV/TSV exports directly with no source-site probe or credentials. When source_url is absent, the file set itself becomes the migration identity. Document the field, its INVALID_FILE_URL error, and the new CSV SourcePlatform value FILE runs report back. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Covers the new fileUrls field: importing from a CSV/TSV export URl with no source site, no source credentials, and the file-set-as-identity rule when source_url is absent. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… description The Start body template's blanket "MUST include the source store URL" for request contradicted the file-only run flow, where there is no source store URL; scope it to the crawl case and cover the file-only path in "Before starting an import". Also clarify that a combined source_url + fileUrls call is still a FILE run (source_url only changes identity keying, it doesn't add a crawl). The new eval's description claimed to test the source_url identity rule "when a site is also named", but its triggerPrompt has no source site at all — trimmed the description to match what the prompt actually exercises.
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
StartImportRequesthas an optionalsource_urlfield alongsiderequest, confirmed against theSiteImportServiceproto (wix-private/replatform-sb). It's the actual identity key the service uses to select which migration a Start call joins — not just a convenience hint.StartImportRequestalso gainedfileUrls(spec 0019): setting it starts a FILE run that imports CSV/TSV export URLs directly, with no source-site probe and no source credentials requested. Whensource_urlis absent, the file set itself becomes the migration identity. Reports backsourcePlatform: CSV; an unreachable URL rejects the whole call withINVALID_FILE_URL.sites/site-import-start.yml,sites/site-import-status-handling.yml) — neither asserts on the Start request body shape, so no eval changes needed.Test plan
StartImportRequest(includingfileUrls) to confirm field names, optionality, and semantics🤖 Generated with Claude Code