Skip to content

fix: harden plugins, themes, sensors, and bridge boundaries (0.0.52) - #58

Merged
gyng merged 3 commits into
mainfrom
test/coverage-restore
Jul 13, 2026
Merged

fix: harden plugins, themes, sensors, and bridge boundaries (0.0.52)#58
gyng merged 3 commits into
mainfrom
test/coverage-restore

Conversation

@gyng

@gyng gyng commented Jul 13, 2026

Copy link
Copy Markdown
Owner

What changed

  • harden plugin package refresh/removal, CSS consent storage, source cleanup, package fetch reuse, and Windows filename validation
  • make theme persistence errors visible and preserve editor state; prevent stale asynchronous theme CSS from winning
  • stop expensive sensor polling after the last demand reporter disappears while retaining safe startup behavior
  • allow explicitly supported remote widget images through the production CSP
  • add high-value regression coverage for each failure mode and document plugin consent behavior
  • prepare the lockstep Cargo/Tauri v0.0.52 release version

Why

The follow-up review found several fail-open or stale-state edges: same-ID plugin refreshes could retain removed capabilities, failed deletes could lose approvals, theme writes could report success after backend failures, asynchronous theme loads could race, and zero-window sensor demand could keep expensive polling alive.

Validation

  • client type-check and lint
  • 3,176 Vitest tests across 277 files with coverage thresholds passing (99.57% statements, 98.93% branches, 99.83% functions, 99.91% lines)
  • production client build and generated-doc freshness check
  • 34 Playwright E2E tests
  • 218 Rust tests (216 passed, 2 ignored manual smoke tests)
  • Windows cargo clippy -- -D warnings
  • cargo fmt --check
  • Windows Cargo check for widgetsack v0.0.52

@gyng
gyng force-pushed the test/coverage-restore branch from 481ee1c to 5393439 Compare July 13, 2026 21:41
@gyng
gyng merged commit 05b8e98 into main Jul 13, 2026
4 checks passed
@gyng
gyng deleted the test/coverage-restore branch July 13, 2026 21:49
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