Skip to content

feat(site): store transformed assets as depot tasks - #94

Merged
nichinichisou0609 merged 1 commit into
redesign/depotfrom
redesign/site-local
Oct 18, 2026
Merged

nichinichisou0609 merged 1 commit into
redesign/depotfrom
redesign/site-local

Conversation

@nichinichisou0609

Copy link
Copy Markdown
Collaborator

site.asset prepares static-site files as replayable depot tasks. JSON minification, explicit key projection and top-level splitting share one transformation; gzip and Brotli encoding retain the decoded content identity while storing encoded bytes in the depot.

Task keys include content, transformation parameters and encoder versions. Layout records select the stored bytes directly, and identical split values share one asset. The task runner registers the stage, and the compression helpers are shared through the formats layer.

Validation: 222 site, task-runner and repository regression tests; 18 focused asset-task tests covering reconstruction, schemas, deduplication, cache replay, encoder compatibility and parameter checks; Ruff lint and formatting.

@nichinichisou0609
nichinichisou0609 merged commit 80d0a03 into redesign/depot Oct 18, 2026
8 checks passed
@nichinichisou0609
nichinichisou0609 deleted the redesign/site-local branch October 18, 2026 05:23
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