Skip to content

chore(desktop): remove dead archive-migration and keyring load_readonly helpers#1701

Merged
wpfleger96 merged 2 commits into
mainfrom
alia/desktop-dead-code-warnings
Jul 10, 2026
Merged

chore(desktop): remove dead archive-migration and keyring load_readonly helpers#1701
wpfleger96 merged 2 commits into
mainfrom
alia/desktop-dead-code-warnings

Conversation

@wpfleger96

@wpfleger96 wpfleger96 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Delete migration_applied and mark_migration_applied from archive/store.rs — zero callers on main, warn on every cargo build.
  • Delete load_readonly from the KeyStore trait, its SecretStore impl, and its test-fake impl in storage.rs.
  • Delete SecretStore::load_readonly from secret_store.rs — sole caller was the trait impl above.
  • Raise the readiness.rs size cap 1546 → 1549 in check-file-sizes.mjsfix(desktop): use augmented PATH for readiness probes #1613 grew the file past the cap and has had main's Desktop Core red since; this PR carries the sanctioned bump.

All four items are dead code that produce unused warnings. load_all_readonly (the live sibling) is untouched.

…ly helpers

These four items have zero callers on main and warn on every cargo build:
migration_applied, mark_migration_applied (archive/store.rs),
load_readonly on KeyStore trait + impls (storage.rs), and
SecretStore::load_readonly (secret_store.rs).
@wpfleger96 wpfleger96 requested a review from a team as a code owner July 10, 2026 03:41
@wpfleger96 wpfleger96 merged commit 389a956 into main Jul 10, 2026
25 checks passed
@wpfleger96 wpfleger96 deleted the alia/desktop-dead-code-warnings branch July 10, 2026 04:08
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