Skip to content

Folder trust follow-ups: migration 0044, an offer said once - #150

Merged
Omar-VF merged 4 commits into
dev-publicfrom
merge/dev-followups
Nov 7, 2026
Merged

Omar-VF merged 4 commits into
dev-publicfrom
merge/dev-followups

Conversation

@Omar-VF

@Omar-VF Omar-VF commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

sivadaboi's follow-ups from #132 to the folder-trust work merged in #135, with their authorship kept.

Brought over:

  • Folder-trust table as migration 0044, with IF NOT EXISTS. It sorted oddly as 0038, before migrations dev-public already has. A database that already made the table under 0038 (dev and dev-public builds) opens and keeps it. Added TestFolderTrustTableFromAnEarlierBuildOpens for that.
  • An offer is said once, not at every sync. The other device asks again every few seconds while an offer stands, and each time logged the same warning.
  • The trust flag is set after the peer entry is built: a cleanup in how the peers list reports it.

Left out of #132, on purpose:

Checks: store, p2p, API and daemon tests pass locally.

sivadaboi and others added 4 commits November 7, 2026 16:02
The table is migration 0044 now, with IF NOT EXISTS, so a database that
made it as 0038 keeps it and what it holds. A test opens such a database.
@vercel

vercel Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
open-save Ready Ready Preview Nov 7, 2026 10:38am UTC

@Omar-VF
Omar-VF merged commit 3fb4ad3 into dev-public Nov 7, 2026
22 checks passed
@Omar-VF
Omar-VF deleted the merge/dev-followups branch November 7, 2026 10:51

This branch was successfully deployed

1 active deployment
Preview — fcfe98b0 Deployed Nov 7, 2026 by vercel[bot]
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