You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(database): surface the DuckDB conversion as an explicit user flow #2136
The conversion is something the user starts knowingly, can watch, can cancel, and can act on when it fails.
Child of #2090. Depends on the state vocabulary defined by the conversion lifecycle child.
Scope and verification
Conversion starts from explicit user intent, not silently at startup. Archive preferences and the independent retention settings survive it.
Progress and cancellation reach the UI from the App lifecycle owner's state vocabulary rather than from a second source of truth.
Failures are actionable without exposing implementation detail in normal flows; diagnostics are retained for the cases that need them.
All new strings go through i18n.
Follow .agents/skills/hardwarevisualizer-design-review/SKILL.md and .agents/rules/frontend.md: inspect the rendered result and failure states at the relevant viewports rather than reasoning about them.
Added scope: retention default and a one-time notice (decided 2026-09-22)
The native database makes a longer Retention Period affordable, so two small things ship with this flow. Anything beyond them is deliberately out of scope (YAGNI).
1. Backend-aware default for the Hardware Archive Retention Period.
Today HardwareArchiveSettings::default() is 30 days with scheduled deletion on (core/src/settings/hardware_archive.rs), and the Settings input accepts 1 to 100,000 days.
New default: 30 days while SQLite is authoritative, 365 days while the native database is authoritative.
It applies only when no value has been saved. A value already in settings.json is never rewritten: a stored 30 cannot be told apart from a user who chose 30, and changing it would override explicit intent (DP-06). SQLite keeps 30 because long retention on SQLite is the cost this migration exists to remove.
Storage Health retention and the Cooling daily rollup retention are unaffected.
2. One notice on the conversion-complete screen.
Shown once, at the end of a successful conversion: the archive can now keep more history in the same space, the current Retention Period is N days, and two choices: set it to one year, or keep it.
Nothing changes unless the user chooses. The choice is saved through the existing typed settings IPC. Choosing to keep it means the notice is not shown again; whether it was shown is UI-local state.
Strings go through i18n.
Not doing: an estimated on-disk size for the chosen period (no long-history measurement exists yet, and a wrong number is worse than none), a permanent explainer in Settings, prompting users who have not converted, or migrating stored values.
Activity
fix(tauri): address conversion driver review findings
feat(tauri): own native database path resolution and startup authority (
feat(tauri): add the App-owned native database conversion driver
fix(tauri): address conversion driver review findings
feat(tauri): add the App-owned native database conversion driver
fix(tauri): address conversion driver review findings
feat(tauri): add the App-owned native database conversion driver (#2158)
docs(adr): route old installs through the bridge release and qualify …
shm11C3 commentedon Sep 21, 2026
Added scope: retention default and a one-time notice (decided 2026-09-22)
The native database makes a longer Retention Period affordable, so two small things ship with this flow. Anything beyond them is deliberately out of scope (YAGNI).
1. Backend-aware default for the Hardware Archive Retention Period.
HardwareArchiveSettings::default()is 30 days with scheduled deletion on (core/src/settings/hardware_archive.rs), and the Settings input accepts 1 to 100,000 days.settings.jsonis never rewritten: a stored 30 cannot be told apart from a user who chose 30, and changing it would override explicit intent (DP-06). SQLite keeps 30 because long retention on SQLite is the cost this migration exists to remove.2. One notice on the conversion-complete screen.
Not doing: an estimated on-disk size for the chosen period (no long-history measurement exists yet, and a wrong number is worse than none), a permanent explainer in Settings, prompting users who have not converted, or migrating stored values.
feat(app): replace the Insights discovery card with an app-root promp…
feat(database): surface the DuckDB conversion as an explicit user flow (
fix(settings): default fresh installs to the native retention period (#…
fix(settings): share database conversion completion across every mount (