Skip to content
This repository was archived by the owner on Sep 20, 2026. It is now read-only.

test: verify Phase 2.5 fixes (spaced paths, extraAssets, bootstrap validation) - #2

Merged
kevmoo merged 3 commits into
mainfrom
verify-phase-2-5-fixes
Sep 19, 2026
Merged

kevmoo merged 3 commits into
mainfrom
verify-phase-2-5-fixes

Conversation

@kevmoo

@kevmoo kevmoo commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Extends the sample app and scenarios to cover the Phase 2.5 fixes in flutter/flutter#193040:

  • sample_app: spaced-path asset (assets/sub dir/space image.png) probed through AssetImage, raw rootBundle, and assetManager.getAssetUrl; extra.notices and extra.frameworkShader probes for files resolved via _flutter.buildConfig.extraAssets; manifest.AssetManifest now asserts listAssets() contains no non-pubspec keys, that the primary variant has AssetMetadata.main == true, and that spaced keys are not percent-encoded.
  • S10: also builds a custom flutter_bootstrap.js without {{flutter_build_config}} (must be refused, error must name the placeholder) and an index.html with main.dart.js inside an HTML comment plus an apostrophe in prose (must build).
  • S12: percent-encodes precache URLs before fetching.
  • BuildOptions.key hashes custom index/bootstrap content so variants don't collide in the build cache.

Tool-side runs against flutter/flutter#193040 at a0fa698d70a (master's prebuilt engine, so runtime probes are not yet meaningful): S10, S12, S13 all PASS. Runtime probes await engine artifacts for the PR.

@kevmoo
kevmoo merged commit ac4a911 into main Sep 19, 2026
4 checks passed
@kevmoo
kevmoo deleted the verify-phase-2-5-fixes branch September 19, 2026 11:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant