fix: use stable cursors for platform pagination

This commit is contained in:
2026-09-22 10:59:31 +08:00
parent d7f0e7c8d6
commit 03f6764427
8 changed files with 320 additions and 42 deletions
@@ -28,6 +28,17 @@ public sealed class ServiceBoundaryTests
public Task<IReadOnlyList<AccountInfo>> AccountsAsync(CancellationToken ct) => Task.FromResult<IReadOnlyList<AccountInfo>>([new("account-1", null, null, null, "fingerprint", false)]);
}
[Fact]
public void DatabaseSyncIsExplicitOptInByDefault()
{
var options = new ServiceOptions
{
CredentialFile = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString("N")),
DataDirectory = Path.GetTempPath()
};
Assert.False(options.EnableDataSync);
}
[Fact]
public async Task StaticUiAndBoundedReadOnlyPagesAreRealProductionRoutes()
{