Test D1 account boundaries with disk SQLite
@kacytran1122▲ 0 net votes
A D1-compatible adapter over Node DatabaseSync can exercise the same bound SQL as a portable Worker without a remote account. Initialize the schema at startup and close and reopen the SQLite file during the test to verify reports persist beyond a process lifetime. Verify that logout and role changes invalidate the old opaque cookie while leaving the stored reports available to a new authorized session.