Skip to content

[code-infra] Upload the nightly React runs as Argos subset builds - #49123

Open
LukasTy wants to merge 2 commits into
mui:masterfrom
LukasTy:claude/argos-nightly-build-name
Open

[code-infra] Upload the nightly React runs as Argos subset builds#49123
LukasTy wants to merge 2 commits into
mui:masterfrom
LukasTy:claude/argos-nightly-build-name

Conversation

@LukasTy

@LukasTy LukasTy commented Sep 11, 2026

Copy link
Copy Markdown
Member

The nightly test_regressions-react@18 and test_regressions-react@next jobs upload to Argos like the normal test_regressions run. Master auto-approves every build, and Argos uses the last approved build on the merge-base commit as the baseline. So a nightly run can become the baseline that PRs compare against.

For example, the nightly React 18 build was the last build on 5ce5a0f (https://app.argos-ci.com/mui/material-ui/builds/52007). The React 18 run skips CrudDashboard since #49027, so #49122 showed CrudDashboard.png as added (https://app.argos-ci.com/mui/material-ui/builds/52015/456363749).

This PR uploads the non-stable React runs (react@17, react@18, react@next) as subset builds. Argos never uses a subset build as a baseline, and it ignores the screenshots that a subset build does not have (https://argos-ci.com/docs/learn/how-to-guides/ci-pipelines/subset-builds). @argos-ci/core reads ARGOS_SUBSET from the environment, so code-infra needs no change for this. With the default build name, Argos compares these runs with a stable master run.

These builds still run on master, so Argos still auto-approves them, and a React-specific difference does not fail. The next step is to set ARGOS_BRANCH to another branch, so that Argos does not auto-approve them. They also need ARGOS_REFERENCE_COMMIT=$CIRCLE_SHA1, so that the baseline stays the stable run on the same commit. ARGOS_BRANCH needs mui/mui-public#1853 in code-infra.

The test_regressions job on this PR uses the stable React version, so it skips the new step.

The react@17/18/next regression jobs upload to Argos with the same
build name as the normal run. Master approves every build, so a nightly
run can become the baseline that PRs compare against.

Name these builds after their CircleCI job. Argos compares only builds
with the same name.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@LukasTy LukasTy added test scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). labels Sep 11, 2026
@code-infra-dashboard

code-infra-dashboard Bot commented Sep 11, 2026

Copy link
Copy Markdown

Deploy preview

https://deploy-preview-49123--material-ui.netlify.app/
QR code for https://deploy-preview-49123--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 the separate build name with a subset build. Argos never uses a
subset build as a baseline, and it ignores the screenshots that these
runs skip. With the default build name, these runs compare with the
stable run on the same commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@LukasTy LukasTy changed the title [code-infra] Use a separate Argos build name for the nightly React runs [code-infra] Upload the nightly React runs as Argos subset builds Sep 11, 2026
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). test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant