Skip to content

Add a build manifest build step#6869

Draft
alfonso-noriega wants to merge 1 commit into03-hosted-static-app-build-pipelinefrom
02-19-add_a_build_manifest_build_step
Draft

Add a build manifest build step#6869
alfonso-noriega wants to merge 1 commit into03-hosted-static-app-build-pipelinefrom
02-19-add_a_build_manifest_build_step

Conversation

@alfonso-noriega
Copy link
Contributor

@alfonso-noriega alfonso-noriega commented Feb 19, 2026

WHY are these changes introduced?

To support the generation of build manifests for UI extensions, which will be used to map extension points to their compiled assets.

WHAT is this pull request doing?

Adds a new build_manifest step type to the build system that can:

  1. Generate a single manifest JSON file with asset mappings
  2. Iterate over extension points to produce per-target manifests
  3. Support various filepath resolution strategies:
    • Literal strings
    • Values from TOML configuration
    • Composed paths with prefix/filename components

The implementation includes:

  • Full test coverage for all resolution scenarios
  • Support for optional assets that are silently skipped when not available
  • Handling of nested arrays in configuration

How to test your changes?

  1. Create an extension with multiple extension points
  2. Add a build_manifest step to its build config
  3. Build the extension and verify the manifest is generated correctly
  4. Check that the manifest contains the expected asset mappings

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes

Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

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

Comments