Skip to content

[code-infra] Collapse canary workflows into nightly and nightly-cron#48556

Open
Janpot wants to merge 2 commits into
mui:masterfrom
Janpot:combine-nightly-cron-workflows
Open

[code-infra] Collapse canary workflows into nightly and nightly-cron#48556
Janpot wants to merge 2 commits into
mui:masterfrom
Janpot:combine-nightly-cron-workflows

Conversation

@Janpot
Copy link
Copy Markdown
Member

@Janpot Janpot commented May 20, 2026

The CircleCI config had six separate workflows for the same canary test suite — three manually-triggered (react-18, react-next, typescript-next) and three scheduled (react-18-cron, react-next-cron, typescript-next-cron). Collapse them into two:

  • nightly — manual; runs the full suite (react@18 + react@next + typescript@next) when triggered with workflow=nightly on a PR.
  • nightly-cron — scheduled daily at 0 0 * * * on master, v5.x, v6.x. react@18 jobs run on all three branches; react@next and test_types_next skip v5.x via per-job filters.branches.ignore, preserving the previous per-branch coverage.

The manually-triggered react-17 workflow is left as-is (react-17-cron was already disabled per the comment in the original config).

This allows us to monitor a single workflow in code-infra

Collapse react-18-cron, react-next-cron, and typescript-next-cron into a
single nightly-cron workflow. They all share the same 0 0 * * * cron and
only differed in branch filters and job set. react@next jobs and
test_types_next skip v5.x via per-job filters.branches.ignore so the
existing per-branch coverage is preserved.
@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label May 20, 2026
@Janpot Janpot changed the title [ci] Combine nightly cron workflows [code-infra] Combine nightly cron workflows May 20, 2026
@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented May 20, 2026

Deploy preview

https://deploy-preview-48556--material-ui.netlify.app/

Bundle size

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

Replace react-18, react-next, and typescript-next with a single `nightly`
manual workflow that mirrors `nightly-cron` (minus the branch filters,
which don't apply to manual triggers). Trigger sources that pass
workflow=react-18|react-next|typescript-next need to switch to
workflow=nightly.

The react-17 manual workflow is left in place.
@Janpot Janpot changed the title [code-infra] Combine nightly cron workflows [ci] Collapse canary workflows into nightly and nightly-cron May 20, 2026
@Janpot Janpot requested a review from a team May 21, 2026 08:38
@Janpot Janpot changed the title [ci] Collapse canary workflows into nightly and nightly-cron [code-infra] Collapse canary workflows into nightly and nightly-cron May 22, 2026
@Janpot Janpot marked this pull request as ready for review May 22, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant