Skip to content

Check island locations in CI#16403

Open
arelra wants to merge 2 commits into
mainfrom
check-islands
Open

Check island locations in CI#16403
arelra wants to merge 2 commits into
mainfrom
check-islands

Conversation

@arelra

@arelra arelra commented Jul 17, 2026

Copy link
Copy Markdown
Member

Co-authored-by: GPT-5.4 via GitHub Copilot <github-copilot[bot]@users.noreply.github.com>

What does this change?

Islands must be located in src/components to ensure webpack has a known location for asynchronous loading.

If not followed a runtime error is thrown:

This PR adds a CI check to ensure all islands are in the src/components directory.

Why?

Earlier feedback.

Fewer errors in production.

How has this change been tested?

Manually.

CI checks on this PR which has not been rebased with #16401

Screenshots

Before After
Runtime: before CI: after

arelra and others added 2 commits July 17, 2026 12:18
…cation of `src/components`

Co-authored-by: GPT-5.4 via GitHub Copilot <github-copilot[bot]@users.noreply.github.com>
@arelra
arelra requested a review from a team as a code owner July 17, 2026 11:29
@github-actions

Copy link
Copy Markdown

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@arelra arelra added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Jul 17, 2026

@frederickobrien frederickobrien left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @arelra, feels like a super worthwhile test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants