Skip to content

feat(cli): add App.dd_resolution.tsv to supplement file handling#3764

Merged
bdero merged 1 commit into
mainfrom
bdero/cascade-limiter
May 14, 2026
Merged

feat(cli): add App.dd_resolution.tsv to supplement file handling#3764
bdero merged 1 commit into
mainfrom
bdero/cascade-limiter

Conversation

@bdero
Copy link
Copy Markdown
Member

@bdero bdero commented May 13, 2026

Summary

Tiny follow-up to #3671. Adds App.dd_resolution.tsv to the known supplement-file list in Apple.copySupplementFilesToSnapshotDirs so the per-slot DD table resolution diagnostic (TSV) gets carried alongside the existing App.dd.link / App.dd_callers.link files.

Companion changes

The TSV is produced by gen_snapshot's new --print_dd_resolution_to= flag in cascade-limiter (shorebirdtech/dart-sdk#785), invoked by the 2-pass DD release build in shorebirdtech/flutter#119. It's a diagnostic dump used to figure out which specific slots got dropped (sentinel-filled) during DD resolution — useful for investigating patch link-percentage regressions where the aggregate count alone (8 sentinel-filled) doesn't tell you which 8 slots.

Backwards compatibility

copySupplementFilesToSnapshotDirs uses maybeCopy which silently skips missing files. Older Flutter/engine pins that don't produce App.dd_resolution.tsv are unaffected.

Test plan

  • CI passes (the existing supplement-list tests cover the loop semantics, and the new entry is just one more maybeCopy invocation).
  • Verified locally that a Wonderous patch with the cascade-limiter Flutter pin produces App.dd_resolution.tsv in the supplement upload, and the file lands in the patch debug zip.

Per-slot DD resolution outcome diagnostic produced by gen_snapshot's
`--print_dd_resolution_to=` flag in cascade-limiter builds. TSV
format: slot, outcome (resolved / sentinel / null), rewritten flag,
function name. Inert if absent (older Flutter pins won't produce it)
since copySupplementFilesToSnapshotDirs uses maybeCopy.
@bdero bdero enabled auto-merge (squash) May 13, 2026 23:46
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@bdero bdero merged commit e4081a7 into main May 14, 2026
27 of 31 checks passed
@bdero bdero deleted the bdero/cascade-limiter branch May 14, 2026 00:09
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.

2 participants