Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Allow running full pipeline with various React versions #25005

Merged
merged 5 commits into from
Feb 19, 2021

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Feb 19, 2021

Move from a git-based branching for different React versions to feature flags (leveraging React.version).

Maintaining the patch is too brittle and takes too much time. React.version is now generally available so we can use that instead.

This will make it easier to test PRs (or branches) with different versions by just using the CircleCI API (PR includes documentation for that) instead of having to manually enable it (like d2dd1e7 (#23367)).
Note that any job relying on git diff --exit-code passing will still fail (e.g test_static). I'd like to change that but it's not trivial to do so I'm not working on it until we need it.

codecov report (note the stable and next build i.e. we now get coverage reports for each React version): https://app.circleci.com/pipelines/github/mui-org/material-ui/38302/workflows/e392909e-48a1-4b9f-b498-b37b6cda44d1
pipeline workflow triggered via API (body: {"branch":"pull/25005/merge","parameters":{"react-dist-tag":"next","workflow":"pipeline"}}): https://app.circleci.com/pipelines/github/mui-org/material-ui/38303/workflows/a50f8937-c4a3-4a6c-bfac-38c83ed0a4e5

@eps1lon eps1lon added the core Infrastructure work going on behind the scenes label Feb 19, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Feb 19, 2021

No bundle size changes

Generated by 🚫 dangerJS against bfc2039

@eps1lon eps1lon marked this pull request as ready for review February 19, 2021 16:26
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Feb 19, 2021
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Feb 19, 2021
@eps1lon
Copy link
Member Author

eps1lon commented Feb 19, 2021

Disregard the failing checks. THe head commit is green: https://app.circleci.com/pipelines/github/mui-org/material-ui/38302/workflows/cf64b207-0001-4884-af59-4287508fcf7d.

I just accidentally triggered a CI run with react@next on the merge commit and that one seems to take priority

@eps1lon eps1lon merged commit 35badde into mui:next Feb 19, 2021
@eps1lon eps1lon deleted the core/react-dist-tag-pipeline branch February 19, 2021 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants