Skip to content

Check island locations in CI - #16403

Merged
frederickobrien merged 2 commits into
mainfrom
check-islands
Jul 22, 2026
Merged

frederickobrien merged 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
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

@github-actions

github-actions Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

@frederickobrien frederickobrien added the run_chromatic Runs chromatic when label is applied label Jul 21, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 21, 2026
arelra and others added 2 commits July 22, 2026 09:54
…cation of `src/components`

Co-authored-by: GPT-5.4 via GitHub Copilot <github-copilot[bot]@users.noreply.github.com>
@frederickobrien frederickobrien added the run_chromatic Runs chromatic when label is applied label Jul 22, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 22, 2026
@frederickobrien
frederickobrien merged commit 9201dad into main Jul 22, 2026
37 checks passed
@frederickobrien
frederickobrien deleted the check-islands branch July 22, 2026 09:58
@gu-prout

gu-prout Bot commented Jul 22, 2026

Copy link
Copy Markdown

Seen on PROD (created by @arelra and merged by @frederickobrien 12 minutes and 38 seconds ago) Please check your changes!

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 Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants