-
Notifications
You must be signed in to change notification settings - Fork 214
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
Move dirty tree check to end of every CI job #5140
Comments
A post run step added by |
@mhofman I'm not sure if this issue is still ongoing since it was removed from the Engineering Items, but it is still open. A possible solution I thought of was to create a reusable script that runs a simple
|
I would very much prefer to avoid modifying every workflow to add this check. Running as a post run step of "restore-node" if possible sounds a lot more reusable since all workflows use that action. |
@mhofman Do you think we should close this issue now? |
Done with #9804 |
What is the Problem Being Solved?
A recent change introduced non-gitignored build output. While arguably that directory pattern should have been ignored in the first place, CI should have prevented a change creating a dirty tree.
We have a check, but it currently only runs after
yarn install
to make sure theyarn.lock
file is not clobbered. We should extend this to anything done to the git tree during a test, including new / untracked files, not just modified filesDescription of the Design
Run a dirty tree check at the end of every job as a macro, which also checks for untracked files, and fail the job if the tree is dirty.
We'll likely need to move all integration tests to check out secondary repos not in a sub-folder (or make sure those are ignored)
The text was updated successfully, but these errors were encountered: