Open albinahlback opened 1 year ago
Hmm, I looked at https://github.com/flintlib/flint2/actions/runs/4497220469/jobs/7912619166?pr=1307. It seems like it timed out while syncing the files from the VM to the runner. I'm guessing the files were never synced.
Perhaps cross-platform-actions/action works inside another directory? Perhaps these files exists, just that they are in another directory? If so, what is its path?
No, it uses the default working directory for the runner.
Yeah, happens quite often. So if the job is aborted, will it still remove files? Or where do the files go to? Anyway, feel free to close.
So if the job is aborted, will it still remove files? Or where do the files go to?
There is no live syncing of files. Files are synced once in the beginning from the runner to the VM when the VM is ready. Then, when the command is complete, files are synced once from the VM to the runner. If the last sync is not completed before the job terminates, then there might be missing files.
BTW I'm playing with sync_files: runner-to-vm
and this didn't fix any issues for me. I still have shutdown failures unfortunately.
I have a problem where, occasionally, the runner cannot sync the files before exiting the emulator. The job seems to work fine, it is just this issue.
As a temporary fix (as I know that this is already reported as an issue in #29), I would like to indicate to the runner that some steps was completed, and that a timeout and error is fine. I did this by setting
However, if it did time out, the runner will not find the files, regardless of whether it was successful or not. I have also tried to set output variables via
echo "myvar=true" >> $GITHUB_OUTPUT
, but that should also save the variables to a file, so it should also not work.Perhaps
cross-platform-actions/action
works inside another directory? Perhaps these files exists, just that they are in another directory? If so, what is its path?