Skip to content

fix: treat offline playground blob resources as local - #4394

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4242
Oct 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4242

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The offline playground export test counted embedded blob: resource loads as requests outside the exported file. Classify them as local alongside data: resources, matching the other export checks corrected in #3974. Requests to external hosts still fail the assertion; the three playgrounds still exercise their offline controls and disabled submission.

#3937 removed unconditional request interception from unrouted test pages, exposing these loads to the request listener. This preserves that change's intent and changes no exported behavior.

All three parametrized cases fail on current main with the reported blob diagnostics and pass with this correction (uv run pytest tests/journeys/test_render_export.py::test_playground_examples_keep_their_offline_interaction_mode -q -n0: 3 passed). The preceding scheduled run 40186470627 records these cases passing; run 40311120380 records the reported failures on Linux and macOS.

Closes #4242 — automated triage

The playground export test now classifies embedded blob resources alongside data URLs, matching the other offline export checks. It still rejects requests outside the exported document and verifies each playground's local interactions and disabled submission.

The request interception removal in #3937 exposed these browser-local loads; #3974 corrected the browser-tier checks but left this journey assertion unchanged. All three cases fail before this correction and pass after it. The preceding scheduled run 40186470627 records them passing.

Closes #4242
@leaf-agent
leaf-agent merged commit 02e8826 into main Oct 27, 2026
3 of 4 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4242 branch October 27, 2026 08:27
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.

Offline playground exports report blob requests as unexpected

1 participant