Skip to content

Fix stale SDK index blocking scheduled updates - #1389

Merged
zhaobozhen merged 1 commit into
v4from
codex/fix-sdk-index-refresh
Sep 20, 2026
Merged

zhaobozhen merged 1 commit into
v4from
codex/fix-sdk-index-refresh

Conversation

@zhaobozhen

Copy link
Copy Markdown
Member

The Flutter engine update in e7ba211 added a mapping after the v5 index snapshot was generated. The merged index therefore contained 583 engines while its source contained 584. The scheduled updater ran the stale-index test before reaching its index-generation step, preventing recovery.

Regenerate the missing index entry and refresh indexes from checked-out provider data before the scheduled tooling tests. PR validation still rejects stale indexes; the final update/check sequence remains unchanged. Add a regression covering stale detection after a provider adds data, rebuilding, and deterministic repeated generation.

Validation: SDK tooling 18 tests, offline SDK update check (584 engines / 684 releases), canonical check (2832 rules), rules suite 8 tests, chart suite 17 tests, and diff check. No SDK fetching, release publication, or changes to the frozen English-label bootstrap commit are included.

@zhaobozhen
zhaobozhen merged commit 5cc1e70 into v4 Sep 20, 2026
1 check passed
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