Skip to content

Svelte Inertia examples fail E2E builds under Vite/Rolldown #305

Description

@cofin

Summary

The aggregate make test target currently fails in the Svelte Inertia example matrix. The focused Inertia protocol/unit checks pass, but the Svelte examples do not become ready in dev mode and production builds fail while parsing @inertiajs/svelte package components.

Observed failures

make test reports errors for:

  • src/py/tests/e2e/test_dev_mode.py::test_dev_mode_homepage[svelte-inertia]
  • src/py/tests/e2e/test_dev_mode.py::test_dev_mode_homepage[svelte-inertia-jinja]
  • src/py/tests/e2e/test_dev_mode.py::test_dev_mode_api_summary[svelte-inertia]
  • src/py/tests/e2e/test_dev_mode.py::test_dev_mode_api_summary[svelte-inertia-jinja]
  • src/py/tests/e2e/test_production_mode.py::test_production_homepage[svelte-inertia]
  • src/py/tests/e2e/test_production_mode.py::test_production_homepage[svelte-inertia-jinja]
  • src/py/tests/e2e/test_production_mode.py::test_production_api_summary[svelte-inertia]
  • src/py/tests/e2e/test_production_mode.py::test_production_api_summary[svelte-inertia-jinja]

The production build error includes Rolldown parse failures in:

  • node_modules/@inertiajs/svelte/dist/components/InfiniteScroll.svelte:94:32
  • node_modules/@inertiajs/svelte/dist/components/Form.svelte:109:32

Both fail with Expected "," or ")" but found "?".

Notes

This appears to be isolated to the Svelte Inertia example build path and is separate from the Python Inertia protocol fixes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions