Skip to content

Use slim Static Site Importer 1.9.5 - #4757

Merged
chubes4 merged 5 commits into
trunkfrom
update-static-site-importer-1.9.1
Sep 5, 2026
Merged

Use slim Static Site Importer 1.9.5#4757
chubes4 merged 5 commits into
trunkfrom
update-static-site-importer-1.9.1

Conversation

@chubes4

@chubes4 chubes4 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Update the default Static Site Importer release used by studio create --from from the full v1.8.5 package to the v1.9.5 html-site-import package.

The slim package is self-contained for Studio's portable HTML import path: it includes Static Site Importer and PHP Transformer 0.9.3, while excluding unused Figma, Markdown/MDX, and Composer runtime dependencies.

Release: https://github.com/Automattic/static-site-importer/releases/tag/v1.9.5

Published asset: static-site-importer-html-site-import.zip

  • Size: 1303735 bytes
  • SHA-256: 156e24b7e0805a32c3003d66d60b286a837c2048c63dfa9eb952dcf277d5b8c9

Why 1.9.5 rather than 1.9.3

This PR originally pinned v1.9.3, which vendors PHP Transformer 0.9.1. That predates Automattic/blocks-engine#1545, so the pinned runtime did not contain the authored-input, documentation-navigation, breadcrumb-flow, syntax-token, or native code and grid conversion fixes. The pin was advanced through a full release chain so the Studio default carries them:

  1. blocks-engine php-transformer-v0.9.3
  2. Static Site Importer Update PHP transformer to 0.9.3 static-site-importer#1520, then v1.9.5
  3. This Studio pin

Testing

  • Built this branch's CLI and ran native site create --from against the Blocks Engine 83-startup-docs-hub fixture using the default published URL, without a local package override.
  • Source-of-truth manifest records SSI 1.9.5, PHP Transformer 0.9.3, and no Figma Transformer.
  • Front page ID 5 is published with 70 native blocks and zero fallback, core/html, freeform, invalid, content-loss, or empty-conversion blocks.
  • Import validation passed every quality gate, including asset materialization, runtime dependency parity, and semantic parity; the served front end returns HTTP 200 with the runtime search control and native navigation present.
  • Verified the downloaded release asset hashes to the SHA-256 above and that its vendored transformer contains the blocks-engine#1545 navigation fix, so the pin demonstrably carries the intended code rather than only a newer version string.
  • 89-static-site-importer-architecture is covered by the solved-site promotion gate, which passed against PHP Transformer 0.9.3 on Update PHP transformer to 0.9.3 static-site-importer#1520.
  • Studio CI is green on this commit, including Lint, Unit Tests, E2E Tests, CLI E2E Tests, Performance Metrics, CodeQL, and Data Liberation.

AI assistance

OpenAI GPT-5.6 Sol via OpenCode diagnosed that the released pin predated blocks-engine#1545, orchestrated the blocks-engine and Static Site Importer releases through Homeboy, updated the Studio pin to the slim v1.9.5 runtime, and verified the result through the built Studio CLI and published release artifact. Chris Huber directed and approved the work.

@wpmobilebot

wpmobilebot commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 2710e3f vs trunk

app-size

Metric trunk 2710e3f Diff Change
App Size (Mac) 1435.61 MB 1435.19 MB 0.42 MB ⚪ 0.0%

site-editor

Metric trunk 2710e3f Diff Change
load 1177 ms 1165 ms 12 ms ⚪ 0.0%

site-startup

Metric trunk 2710e3f Diff Change
siteCreation 7510 ms 7524 ms +14 ms ⚪ 0.0%
siteStartup 3387 ms 3399 ms +12 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@chubes4 chubes4 changed the title Update Static Site Importer to 1.9.1 Update Static Site Importer to 1.9.2 Sep 2, 2026
@wojtekn

wojtekn commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

@chubes4 thank for updating the tool, it looks good.

E2E failed on Windows, but it looks like flakiness. I merged trunk into the branch to make it up to date and to trigger tests again.

@chubes4

chubes4 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

I'm going to update the pin one more time before I merge this. Thanks for taking a look. I have been working on the importer a lot.

@chubes4 chubes4 changed the title Update Static Site Importer to 1.9.2 Use slim Static Site Importer 1.9.3 Sep 3, 2026
@chubes4 chubes4 changed the title Use slim Static Site Importer 1.9.3 Use slim Static Site Importer 1.9.5 Sep 4, 2026
@chubes4
chubes4 merged commit 33a3fff into trunk Sep 5, 2026
15 checks passed
@chubes4
chubes4 deleted the update-static-site-importer-1.9.1 branch September 5, 2026 12:12
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.

3 participants