Geo attempts to sync expired job artifacts
Summary
When the job artifacts did expire, and they were not synced yet to the secondary, Geo will mark them as failed and might try again.
Steps to reproduce
- Enable CI
- Set artifacts expiry at 1 second:
expire_in: 1 sec
in.gitlab-ci.yml
Example Project
https://one.geo.writepermission.com/root/test-ci
What is the current bug behavior?
The download of the artifact is marked as failed.
What is the expected correct behavior?
Ignore the expired artifacts.
Relevant logs and/or screenshots
Possible fixes
Exclude expired artifacts from the sync and ignore them in the counts.