Repository navigation
feat(browser): OPFS mode package tests, README and core pin (#441) - #26
Merged
Merged
Conversation
…441) Pin the OPFS core and cover cross-worker locking, complete commit prefixes, interrupted imports, and the module-worker example in all three browser engines. Refs #441 Co-Authored-By: GPT-6 <noreply@openai.com>
Bound retries of only STG-026 to ten seconds during termination recovery, accommodating asynchronous browser teardown. Refs #441 Co-Authored-By: GPT-6 <noreply@openai.com>
Select the local core revision containing the OPFS implementation, browser validation and bounded-memory evidence. The core branch must be published before fetching this revision remotely. Refs #441 Co-Authored-By: GPT-6 <noreply@openai.com>
…441) Exercise generated free methods while cursors, prepared queries and a staged transaction retain the OPFS owner. Verify lock release and unchanged durable bytes after every owner is freed. Pin the corrected core revision and document the actual database/staging entry mapping and nonempty import admission rule. Refs #441 Co-Authored-By: Codex (GPT-6.1-sol) <noreply@openai.com>
Pin the exact core revision containing strict import admission, recovered exports and complete lifecycle and recovery fault coverage. Retain the Git dependency source and existing dependency versions. Refs #441 Co-Authored-By: Codex (GPT-6.1-sol) <noreply@openai.com>
Describe every admitted OPFS import image and pin the core revision preserving shared foreign-file errors. Keep the Git dependency source and existing dependency versions. Refs #441 Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Refs #441 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9
Refs #441 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9
Playwright's Linux WebKit has no navigator.storage.getDirectory() in a dedicated worker, so openOpfs rejects with API-026 there, as specified. The OPFS page now probes a worker first and reports that rejection; the driver accepts it only on WebKit, prints it as a limitation, and still requires the IndexedDB-in-a-worker check. A missing OPFS on Chromium or Firefox still fails the run. Refs project-minigraf/minigraf#441 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9
…ation (#441) Refs project-minigraf/minigraf#441 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9
…(#441) Refs #441 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9
WebKit denies OPFS in Playwright's ephemeral context, as in a private window. Refs #441 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9
Refs #441 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9
Refs #441 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to project-minigraf/minigraf#899, which adds
BrowserDb.openOpfs. Refs project-minigraf/minigraf#441.What changes
close()and on termination;free()of the database and its dependents;postMessage,close(), choosing a mode, and moving a database between modes by export/import.readme_sync.pycovers the example.Verification
readme_sync.pychecks pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01H2a7QjCHpikfsg5qwAV1p9