The marketing CMS where agents draft and people publish
Menu

Migration test: the domain importer on real sites, November 2026

Tested on 2026-11-18 against Spillway v0.1.18 (built from the tag), to ground the design in migration.md. Three sites went through the admin's import wizard end to end (New import, Crawl, Types, Convert, Theme, Land), driven with Playwright so every step was clicked as a person would, then checked through the API. A fourth run tested stopping and restarting. Screenshots are in img/migration-test/.

Summary

The importer is a solid base for a migration feature. It is fast (150 pages from crawl to landed drafts in about a minute), safe (drafts in a release, the SSRF guard, robots.txt, a clear user agent, a rate limit), and its body conversion produces real blocks that look right on article-like pages. What it does not yet do is bring a site across: the header, navigation, footer, taxonomies, structured fields, translations and forms are lost or misplaced, the type proposals multiply into near-duplicate types, and the person gets no help deciding. One bug blocks most sites outright: any site that redirects to a trailing slash (WordPress by default, most static site hosts) imports only its home page.

WordPress (local)Drupal (local)Static (basecamp.com)
Pages landed150 of 150 (after a workaround, below)114 of 117 (3 were 404s on the source)25 of 25
Types created7 new, 1 mapped; 4 are duplicates8 new, 1 mapped; one set per language2 new, 1 mapped; 1 duplicate
Taxonomies and termsnone (detected, not created)none (detected, not created)n/a
Structured fieldstitle, body, image, date, author onlysame; recipe fields lostn/a
Media69 downloaded, alt kept20 downloaded (resized derivatives)178 downloaded
Menusnone2 (only because the test exposed menu links to anonymous)none
Header and footerlostlostlost
Redirects2100
Themeprimary color and logo wrongright: colors, fonts, logocolors not found; logo wrong
Average quality score959894
Time, start to landed65 s63 s163 s (2 s delay per request)

How it was tested

  • Spillway: tag v0.1.18 built in a /dev/shm worktree (pnpm install --frozen-lockfile && pnpm build), one fresh instance per site with SQLite, SPILLWAY_ALLOW_PRIVATE_URLS=1 for the local sites, defaults otherwise (land inside a release, robots.txt on, sitemap on).
  • AI: not available. The environment had no Anthropic key, and the host's AI proxy needs a hosted site's HOST_API_URL and HOST_API_KEY, which a test instance does not have. Every run used the heuristic type proposals. Not tested: the AI refinement of the type proposals (the only AI call the importer makes today), the AI usage estimate with a provider, and the cap warning. Nothing else in the importer uses AI.
  • (a) WordPress: WordPress 7.1.4 on SQLite (the SQLite Database Integration plugin), served with php -S, with the WordPress theme unit test content (57 posts, 24 pages, 49 MB of media, deep category trees, a gallery, edge cases), the Twenty Twenty-One theme, a custom post type Programs with a Departments taxonomy and two meta fields (credits, degree) registered for REST, a Contact Form 7 form on a Contact page, a YouTube embed, and a primary menu (Programs, Apply, Contact us, News). REST on, as by default; menus not exposed to anonymous requests, as by default. Cap 150 pages, 100 ms between requests.
  • (b) Drupal: Drupal 11 with the Umami demo profile (articles, recipes with structured fields, a basic page, tags and recipe categories, English and Spanish), JSON:API on, the Redirect module with three redirects. To exercise the adapter's menu and redirect paths, anonymous users were given administer redirects and administer menu on this local copy (never do this on a real site) and four menu links were added; Umami's own main menu comes from routes and views, which JSON:API never exposes. Cap 150, 100 ms.
  • (c) Static marketing site: basecamp.com, whose robots.txt allows every user agent. Cap 25 pages, 2,000 ms between requests, the importer's user agent SpillwayImporter/0.1.18 (+https://spillwaycms.com/docs/importer). About 25 page requests, 10 stylesheets and 178 image downloads in total, spread over two minutes. A five-page crawl of htmx.org (robots.txt allows all) with the CLI confirmed the trailing-slash bug on a public site.
  • Stop and restart: a fourth instance against the local WordPress: cancel mid-crawl, kill the server (SIGKILL) mid-crawl and start it again, kill it mid-landing and start it again.

What worked

  • Speed. 150 WordPress pages: crawl 18 s, classification 4 s, conversion 5 s, theme 7 s, landing 7 s with 69 images. Drupal was the same order. The crawl, not the processing, is the slow part, and it is bounded by the rate limit as it should be.
  • Safety and politeness. robots.txt was read first and its sitemap used, the user agent names Spillway and links to the docs, the delay held, and nothing was published: everything landed as drafts in a release named after the host, previewable before merging.
  • Body conversion on article-like pages: headings, lists, tables, images with alt text, buttons and a hero from a featured image all became the right blocks (WordPress program page). Of 499 blocks on the WordPress site, none was raw HTML: Text 146, Heading 133, Image 56, Columns 37, Hero 14, Button 10, Cards 5, Embed 2 (YouTube, on the allow-list), Form 2, CallToAction 1, and 93 references to shared blocks. The basecamp home became a Hero and image grids (side by side).
  • Media: every referenced image downloaded, filed in the media library and re-linked, with alt text kept; nothing failed.
  • Redirects: the Drupal Redirect module's rows came through (/old-recipes → /en/recipes), and paths that had to change got a 301.
  • The Drupal theme: primary color (Umami green), text and background colors, both fonts (Source Sans Pro and Scope One, self-hosted), the SVG logo and the favicon were right.
  • The Compare drawer: the original in a sandboxed frame next to the converted render, with the issues listed by code (screenshot).
  • Reruns after a cancel: a cancelled job keeps what it fetched, and classify, convert and land work on it.

What did not work

Blockers

  1. Trailing-slash redirects loop. The crawler normalizes every URL by removing the trailing slash, including the Location of a redirect, so a site that redirects /about to /about/ sends the crawler back to /about until it gives up: Too many redirects. On the WordPress site with its default permalinks, 149 of 150 pages failed and only the home page came in; on htmx.org, 4 of 5. WordPress (the default permalink structure ends in a slash), Hugo, Jekyll, Netlify and many other static hosts all do this. The WordPress test went on after switching the permalinks to no trailing slash. Fix: keep the redirect target's path as given, and treat a redirect that differs only by a trailing slash as the same page.
  2. Failed fetches count against the page cap. With the loop above, the cap of 150 was spent on 149 failures. A cap should count pages, not attempts.

Types and fields

  1. Near-duplicate types. WordPress pages were split by path depth into four clusters, all named "Pages", and became pages, pages_2, pages_3 and pages_4 beside the existing page type (screenshot). basecamp's two guides became guide and guide_guides, both with the path pattern /guides/{slug}. Two clusters with the same path pattern should never become two types.
  2. Listing and archive pages become content. 57 WordPress category archives became a categories type with 57 entities; 56 Drupal tag pages became an article type (named after the teasers on them). They should be taxonomy terms with a listing, or be skipped.
  3. The source's own types are known but not used. The adapters read the WordPress post types (Posts, Pages, Programs with their meta) and Drupal's bundles and fields (Recipe has cooking time, difficulty, ingredients, servings, preparation time, instructions, summary, category, tags), and the proposals ignore all of it: every type got title, body, an image and sometimes a date and author. The Programs' credits and degree and every recipe field ended up as text in the body (Drupal recipe).
  4. WordPress posts did not map onto Posts. Spillway's starter has a post type at /blog/{slug}; the 57 WordPress posts became a new posts type with the path pattern /{slug}, the same as Pages, and slugs such as 2012/01/template-sticky.
  5. No taxonomies. Categories, tags, departments and recipe categories were detected (with their terms) and not created as vocabularies, so nothing is tagged.
  6. Translations become separate types. Umami's Spanish pages became recipe_2, article_2 and article_4 beside the English ones, instead of Spanish translations of the same entities.
  7. Authors were detected by name and kept as a text field; no users or author references.

The site around the content

  1. Header, navigation and footer are lost. The importer strips them from every page (correctly, so they are not repeated in each body) and then drops them. The new site shows Spillway's starter header with one Home item on all three sites. Shared blocks are made from repeated body fragments only, so they never cover the header or the footer.
  2. Menus come from the adapters only. importer.md says the menus come "from the adapters, else the crawled navigation", but there is no code for the crawled navigation. WordPress does not expose menus to anonymous requests, so the WordPress and static sites got none. On Drupal they came through only because the test opened menu_link_content to anonymous users, landed as separate Imported: Main and Imported: Footer menus that the header does not show, and missed Umami's real main menu, which is made of route and view links. A menu link without the language prefix (/about-umami on a site whose pages are under /en) did not match its page.
  3. Theme fidelity varies. WordPress: the primary color came out as #ff6900, a WordPress editor preset ("vivid orange"), not the theme's; the "logo" was a photo from a post; the site title, which is the visible logo on many sites, was not used. basecamp: no colors found in the first 10 of 59 stylesheets (the cap), so the colors stayed Spillway's defaults with confidence 0; the "logo" was a hero sticker. Self-hosted fonts are named but their files are not imported, so a font like Graphik falls back to the system font. Up to 80 of the source's custom properties are copied as custom tokens, which makes the Theme step a wall of values (screenshot).
  4. The home page lands at /home-2 (the starter home holds /home) and only becomes the home page after the release is merged, so Preview the release at / shows Spillway's starter page, not the imported home.

Forms

  1. Forms become placeholders. The Contact Form 7 form became a Form block with an empty formKey; no Spillway form was created. WordPress's comment form became a shared Form placeholder on 31 posts, and Drupal's sign-in and password forms became placeholders on four pages. Forms in comments, sign-in, search and similar chrome should be left out; contact and lead forms should become real forms.

Conversion

  1. Structured layouts flatten. Label-and-value grids (the recipe's times and servings), ingredient lists and numbered steps became plain paragraphs. A tiled gallery lost its links (links_lost), and Drupal's listing sidebar ("Recipe collections") became shared Text blocks.
  2. Non-Latin slugs are transliterated. /greek/επίπεδο-2 became /greek/2, /es/tags/champiñones became /es/tags/champinones, each with a 301. That keeps links working but changes URLs the owner may want kept.
  3. Headings that are links (basecamp's guide sections) render as large blue underlined links (screenshot).
  4. Images are the derivative, not the original. Drupal pages show image-style derivatives (styles/large_3_2_768x512/...webp); those were downloaded, though JSON:API names the original file.
  5. The Compare drawer shows broken images for pages whose images have not been landed yet (the converted render references the source host, which the drawer's frame does not load).

Quality score

  1. The score measures text, not fidelity. Average quality was 95, 98 and 94 while the header, navigation, taxonomies, structured fields and theme were wrong. The score counts retained words, images and links on each page; it cannot see layout, the chrome or the structure, so it reads as "nearly perfect" when a person looking at the result would not agree.

What the person sees while it runs

  • New import: a clear form with each option explained and the AI estimate. Without AI it says AI is off, and why.
  • Queued: after Start the crawl, the job sat in Queued for about 23 seconds on every run while the screen said "Waiting for the runner to pick the job up (it checks every second)". The ticker runs every 30 seconds (SCHEDULE_TICK_MS), so the wait is up to half a minute and the text is wrong (screenshot).
  • Crawl: a progress bar, counters (discovered, fetched, failed, skipped, assets, bytes), the detected platform and a live log. Good, though the log is technical (/category/ween: 106 words (main region: main)).
  • Types: one long page of cluster cards with every field editable and Approve all. With 8 or 9 clusters it is several screens long, and nothing says which decisions matter.
  • Convert: a table with a score per page; the Compare drawer is useful.
  • Theme: palette, fonts, logo and a long token table with confidence bars.
  • Land: a summary, then the button turns into a spinner until the request returns. No progress, no count of assets downloaded so far (screenshot). Classification, conversion and landing run inside the HTTP request, so a large site depends on the request not timing out.
  • Report: counts, quality, pages by type, issues by code (screenshot). It does not say what to do next beyond the review queue.
  • The step strip showed Convert and Theme without a check mark after both had run.

Stopping and restarting

  • Cancel mid-crawl stopped at once (20 pages fetched, none after). The cancelled job's screen offers only Delete import and the next step: the pages already fetched can be classified, converted and landed, which is useful, but there is no Continue. POST /recrawl starts the crawl over from zero.
  • Killing the server mid-crawl and starting it again: the job showed Crawling with a spinner and "Fetching with 300 ms between requests" for five minutes while nothing happened, then resumed exactly where it stopped (20 pages, then on to 80) and finished. The wait is the heartbeat expiry, by design so two instances never crawl one job, but the screen does not say the crawl is waiting (screenshot).
  • Landing twice is idempotent: landing the same 150 WordPress pages again created none and updated 150, and the entity count stayed at 151 (the pages plus the starter home).
  • A crash mid-landing could not be caught on these sites (landing 150 pages took under a second without a release), so the job was put in the state a crash leaves, landing, and the server restarted. It stayed landing after a tick and would never leave it: the Land step still showed Land 150 pages as drafts, which answers 409 Cannot land a job that is landing, and convert answers the same. The way out is Cancel (allowed from landing), then classify, convert and land again; the cluster decisions survive (8 of 8 still approved) and the landing updates in place. Nothing on the screen says so (screenshot). The same holds for classifying and converting, since those steps also run inside the HTTP request.

Not tested

  • The AI refinement of type proposals and every AI behavior the design adds (no provider available).
  • Sites behind sign-in, WordPress application passwords, Drupal with authenticated JSON:API, export files (WXR), and sites over 150 pages.
  • Postgres; several instances sharing one database; the hosted platform.

Spillway 0.1.24

Was this page helpful?