Skip to content

gen3: ignore stale device caches until rebuilt - #88

Open
ptn wants to merge 1 commit into
sKuhLight:mainfrom
ptn:fix/stale-cache-schema-guard
Open

gen3: ignore stale device caches until rebuilt#88
ptn wants to merge 1 commit into
sKuhLight:mainfrom
ptn:fix/stale-cache-schema-guard

Conversation

@ptn

@ptn ptn commented Aug 30, 2026

Copy link
Copy Markdown

The walk-reclassification guard above cannot correct an already-built cache: a
stale row that tagged a param the wrong kind keeps surfacing from the persisted
device cache until it is rebuilt. Gate the on-connect cache lookup on the cache
schema version, so caches written before the current schema are ignored and
rebuilt on next connect.

Depends on forgefx-midi fix/cabinet-lowcut-enum-walk (adds CACHE_SCHEMA to
forgefx-midi/cache); needs a forgefx-midi release before this can merge. CI
tracks forgefx-midi's default-branch HEAD, so checks pass as-is.

The walk-reclassification guard above cannot correct an already-built cache: a
stale row that tagged a param the wrong kind keeps surfacing from the persisted
device cache until it is rebuilt. Gate the on-connect cache lookup on the cache
schema version, so caches written before the current schema are ignored and
rebuilt on next connect.
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