Skip to content

web: slider rebuild invalidates the full refreshKeys set - #8

Closed
Code4me2 wants to merge 1 commit into
mainfrom
cursor/params-refresh-keys-73d8
Closed

Code4me2 wants to merge 1 commit into
mainfrom
cursor/params-refresh-keys-73d8

Conversation

@Code4me2

Copy link
Copy Markdown
Member

Follow-up to #6 / tracking #4.

A successful PARAMS slider commit (set_params + default build_part) only invalidated keys.params and keys.build. Inspector Results, Checks, DFM, and properties stayed stale after the rebuild.

Change

  • Successful rebuild now goes through refreshAfterParamWrite(..., "rebuilt") → refreshAfterTurn (the full refreshKeys set).
  • Conflict stays params-only: nothing persisted and nothing rebuilt.
  • INTERFACE.md §7A.11 names keys.params(part) in the enumerated set and records that a slider rebuild uses the same invalidation so those panels do not stay stale.

Tests

  • Unit: successful commit invalidates refreshKeys(part) (includes properties / checks / dfm, not just params + build).
  • Unit: conflict invalidates keys.params(part) only.

Out of scope: Timeline restyle, invented checkpoints, closing #4, appearance/BOM/export, provider sign-in.

Open in Web Open in Cursor 

A successful set_params + build left Results, Checks, DFM, and properties
stale because commit() only invalidated params and build. Route the rebuilt
path through refreshAfterTurn; conflict still re-reads params only.

Co-authored-by: Vel <Code4me2@users.noreply.github.com>
@Code4me2 Code4me2 closed this Aug 30, 2026
@Code4me2

Copy link
Copy Markdown
Member Author

Duplicate of #7, which is now merged. Closing this draft.

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