Repository navigation
Validate precache_manifest.json (F-07, F-08) and --source-maps in S12/S15 - #8
Merged
Merged
Conversation
…` in S12/S15 - Add `F-07` (`precache_manifest.json` revalidation check) and `F-08` (`precache_manifest.json` entry `urlHashed` / hash integrity, missing hashed entrypoints, and `.map` / `.symbols` / `.info.json` exclusion) to `UrlChecker`. - Add `sourceMaps` (`--source-maps`) to `BuildOptions` in `redteam_harness` and enable it in `S12` (`PrecacheManifestScenario`) and `S15` (`CacheCheckDogfoodScenario`) to catch `--web-content-hash` + `--source-maps` hash corruption (flutter/flutter#193601, flutter/flutter#193614).
kevmoo
commented
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
F-07(precache_manifest.jsonrevalidation check) andF-08(
precache_manifest.jsonentryurlHashed/ hash integrity, missinghashed entrypoints, and
.map/.symbols/.info.jsonexclusion) toUrlChecker.sourceMaps(--source-maps) toBuildOptionsinredteam_harnessand enable it in
S12(PrecacheManifestScenario) andS15(
CacheCheckDogfoodScenario) to catch--web-content-hash+--source-mapshash corruption ([web] Fix --web-content-hash breaking cache when --source-maps is used flutter/flutter#193601,fix(web): hash source maps before rewriting sourceMappingURL with --web-content-hash flutter/flutter#193614).