Skip to content

Test package init without matching its JavaScript template - #3021

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-38723388285-package-starter
Oct 15, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-38723388285-package-starter

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Remove the exact JavaScript template assertion from the package init journey. The starter changed in #2919, and the scheduled test failed on its source text even though the generated widget remained usable. The journey still checks the generated registry and package, vendors the module into a page, and passes page check --render.

Verified locally: uv run pytest tests/journeys/test_interact_layer.py::test_package_init_starts_one_checked_upgraded_widget -q -n0 (1 passed).

Comment thread tests/journeys/test_interact_layer.py Resolved
The generated module's exact text is an implementation detail. Package validation, vendoring, and page rendering protect the behavior this journey needs; remove the source-template comparison that broke when the starter moved to LeafElement.
@leaf-agent leaf-agent changed the title Update package init test for LeafElement starter Test package init without matching its JavaScript template Oct 15, 2026
@leaf-agent
leaf-agent merged commit 6caed31 into main Oct 15, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38723388285-package-starter branch October 15, 2026 13:40
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.

1 participant