You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bind the bare databases/tables globals to an isolated application's branches #3053
A branched application reaches its branch only through import { databases } from 'harper'. The bare databases and tables globals are process-wide and reach the base, silently (components/Application.ts:125-128).
In an isolated application's dedicated worker, the globals belong to that one application, so they could resolve to its branches. #642 lists per-application globals under thread isolation. Until then, a PR preview of an application that uses the globals writes to the shared data it was supposed to fork.
Proposal
In a dedicated worker whose application declares branchedDatabases, resolve the global databases, tables and defineTable through the same branch view as the scoped exports.
Activity
Bind the bare databases and tables globals to an isolated application…