-
Notifications
You must be signed in to change notification settings - Fork 109
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
Some files get pulled from wrong commit #38
Comments
Weird. Logs for |
@sbaranov I was able to reproduce the failure on my fork but I also added
So seems Cirrus Agent cloned and reseted the repository correctly. Now I wonder if Flutter's setup scripts accidentally do Just a little bit more details for @gspencergoog: there were two merges to master within 3 minutes. So when Windows Containers from the first commit finally started the second commit was already on master, so Cirrus CI Agent cloned the latest master and hard reseted to the first SHA. But according to the logs from @sbaranov some of the files remained from the later commit. |
My fix for the edge case got merged and Cirrus CI agent got also updated. There was a bug in respecting Thanks for reporting! |
Sorry, I didn't see this sooner: I'm pretty sure we don't do any "pull". The only thing we do is to call 'git fetch' to set the FETCH_HEAD, but there are no resets, merges, rebases, or pulls anywhere in our setup code (that I can find, or know of). Sounds like you found something that may have caused the problem, though. |
https://cirrus-ci.com/task/6596254498816000
This log shows failure related to 'compilationTraceFilePath' code that was NOT in associated commit:
flutter/flutter@393f927
The 'compilationTraceFilePath' code was introduced in a later commit:
flutter/flutter@2c0329a
Moreover, it seems that only one file (gradle.dart) from the later commit got pulled into the earlier run, otherwise this log would be showing more of similar errors.
P.S. I guess I could imagine a problem with the specific build task itself that it always pulls certain file(s) from HEAD regardless of what Cirrus tell it to? I don't know enough about Cirrus yet to tell if something like this would be possible.
The text was updated successfully, but these errors were encountered: