Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Fix update checker not detecting new versions
Merged rudolfs opened 1 month ago

enable() was called before invoke(“version”) resolved, so the first checkNewVersion() could run while sanitizedCurrentVersion was still undefined. Even though newVersion is a derived value, Svelte 5 may not reliably recompute it when state changes asynchronously on a module-level class instance.

Moving enable() inside the invoke callback ensures sanitizedCurrentVersion is always set before any version comparison runs.

lint unit-test e2e 👉 Workflow runs 👉 Branch on GitHub

rudolfs opened with revision 918acea0 on base c167f4f8 +3 -3 1 month ago

enable() was called before invoke(“version”) resolved, so the first checkNewVersion() could run while sanitizedCurrentVersion was still undefined. Even though newVersion is a derived value, Svelte 5 may not reliably recompute it when state changes asynchronously on a module-level class instance.

Moving enable() inside the invoke callback ensures sanitizedCurrentVersion is always set before any version comparison runs.

lint unit-test e2e 👉 Workflow runs 👉 Branch on GitHub

rudolfs pushed revision 2 4d5fa860 on base 7fa9c42c +3 -3 16 days ago

Rebase

rudolfs merged revision 4d5fa860 at b6facd02 16 days ago