Skip to content

Harden bounded site artifact compilation - #776

Merged
chubes4 merged 12 commits into
trunkfrom
fix/css-asset-reference-canonicalization
Aug 2, 2026
Merged

Harden bounded site artifact compilation#776
chubes4 merged 12 commits into
trunkfrom
fix/css-asset-reference-canonicalization

Conversation

@chubes4

@chubes4 chubes4 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • negotiates bounded compiler limits and emits precise WordPress site-plan validation diagnostics
  • preserves explicit sibling routes and safely canonicalizes link, artifact-path, and encoded asset references
  • indexes repeated artifact-path, selector, and stylesheet work to reduce large-batch compiler CPU
  • retains current trunk HTML conversion and parity behavior while adding the artifact-scale fixes required by Compile shared URL-import resources once across resumable batches static-site-importer#771

Scale evidence

This branch was exercised through Studio against https://www.richlynngroup.com/ as part of the dependent SSI URL collector run:

  • 1,145/1,145 discovered routes completed
  • 124/124 bounded batches completed
  • retained batches resumed across encoded-path and route-collision failures
  • retained batch compiler user CPU decreased from about 415s to 285s (about 31%)
  • peak RSS remained bounded near 822 MB for the measured 115.7 MB artifact

The run proves the compiler can participate in the full large-site workflow. It does not claim visual/editor perfection: the generated Richlynn evidence site still contains HTML fallbacks and is not accepted under SSI's zero-fallback parity gate.

Validation

  • composer test
  • 258 PHP transformer parity fixtures
  • canonical contracts, unit tests, and package install proof

Dependencies

AI assistance

  • Model: openai/gpt-5.6-sol
  • Tool: OpenCode
  • Used for: codebase investigation, artifact compiler profiling, implementation, merge-conflict resolution, regression coverage, large-site verification, and PR drafting. Chris Huber remains responsible for the submitted changes.

AI assistance: openai/gpt-5.6-sol via OpenCode was used to resolve asset canonicalization conflicts and run full verification.
@chubes4
chubes4 merged commit a1265e4 into trunk Aug 2, 2026
4 checks passed
@chubes4
chubes4 deleted the fix/css-asset-reference-canonicalization branch August 2, 2026 11:28
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