Skip to content

fix(dev): include layout component deps in incremental builds#293

Merged
cssbruno merged 1 commit into
mainfrom
codex/fix-incremental-component-layout-assets
Jun 11, 2026
Merged

fix(dev): include layout component deps in incremental builds#293
cssbruno merged 1 commit into
mainfrom
codex/fix-incremental-component-layout-assets

Conversation

@cssbruno

Copy link
Copy Markdown
Owner

Summary

  • Include component references from each page's resolved layout chain when building the dev incremental reverse component index.
  • Keep component file assets in incremental buildgen output and asset manifests by planning component file assets alongside scoped JS/runtime assets.
  • Add regressions for layout-only component changes and component asset metadata/file emission through incremental builds.

Review Feedback

Addresses Codex review comments:

  • Rebuild pages for layout-only component dependencies.
  • Keep component file assets in component incremental rebuilds.

Verification

  • go test ./cmd/gowdk ./internal/buildgen
  • go test ./internal/buildgen ./internal/appgen ./internal/compiler
  • go build ./cmd/gowdk
  • go run ./cmd/gowdk build --out /tmp/gowdk-incremental-review-build examples/pages/*.gwdk
  • go test ./...

LLM Assistance

  • Implemented by Codex from automated review feedback.

@cssbruno cssbruno merged commit 3a0a2af into main Jun 11, 2026
5 checks passed
@cssbruno cssbruno deleted the codex/fix-incremental-component-layout-assets branch June 11, 2026 18:56
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