-
Notifications
You must be signed in to change notification settings - Fork 746
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
Upcoming breaking change: Hidden Files will be excluded by default #602
Comments
This resolves an issue where the `.coverage.{python_version}` file was not uploaded. See actions/upload-artifact#602 and https://hypothes-is.slack.com/archives/C4K6M7P5E/p1725285976308269.
Why introducing breaking changes to v3 and v4 instead of making a new v5 version? |
- name: Upload Docker Compose Files Artifact
id: upload_docker_compose_files
uses: actions/[email protected]
include-hidden-files: true
with:
name: docker-compose-files
path: |
.env
docker-compose.yaml I've edited my workflow like above and getting the error:
I tried both versions |
You should place |
Thanks a lot. My bad. |
The `upload-artifact` action recently introduced a change where by default it no longer uploads hidden files. This affected the `.coverage.*` files produced by Python tests. There is an `include-hidden-files: true` option to change this, but so far in our testing it did not work. Fix the issue by changing the file name to be non-hidden. See actions/upload-artifact#602 and https://hypothes-is.slack.com/archives/C4K6M7P5E/p1725285976308269.
This change resulted in deployment failures for us because we no longer included the full set of files in our deployment artifact. |
This also resulted in a lot of CI failures for us... Would be nice if there was at least a warning before rolling breaking changes 🤷♂️ Here's how we were calling this action: - uses: actions/upload-artifact@v4
with:
name: artifacts-${{ strategy.job-index }}
path: |-
coverage/.resultset.json
tests/junit.xml |
👋 Thanks for the report, we're rolling back the |
The `upload-artifact` action recently introduced a change where by default it no longer uploads hidden files. This affected the `.coverage.*` files produced by Python tests. There is an `include-hidden-files: true` option to change this, but so far in our testing it did not work. Fix the issue by changing the file name to be non-hidden. See actions/upload-artifact#602 and https://hypothes-is.slack.com/archives/C4K6M7P5E/p1725285976308269.
We also got burned by this. I see the logic in excluding hidden files recursively nested inside directories. But I struggle to see the value in ignoring an explicit |
https://github.com/actions/upload-artifact/releases/tag/v3.2.1 We're updating the major version tags |
Breaking changes should bump major version! What kind of semantic versioning is this? And if old behavior poses security problems, issue a deprecation warning via EMAIL to organization owners that have repos using this very important action. Breaking developers workflows on such a short notice (if writing a blog post can be considered an actual "notice") is NOT OK |
The combined wasted person-hours and other indirect costs caused by this very unexpected breaking change must be quite large. It's worth considering how many of GitHub's customers' own urgent security patches/updates for their own software have been held up from being deployed because of this random breakage of their CI pipeline. |
To echo this sentiment, there should not have been a breaking change without a new major version. This change literally caused downtime on our production system and took us hours to debug (we had rolled back production by then of course). Even if there were security concerns, the default should've been This solution wouldn't have broken anything for anybody, while also notifying them more to the fact that there's recommendations. Also, totally icky and rude to be releasing this on a day when many people are not working due to a national holiday. It's almost like they wanted to just slide it in when people may not be paying attention..... 🙄 |
# References and relevant issues actions/upload-artifact#602 https://napari.zulipchat.com/#narrow/stream/348229-randoms/topic/actions.2Fdownload-artifact/near/467017518 # Description Someone forget what semantic versioning means, so we need to try to deal with it. Hopefully found all places.
@nebuk89 can we send you the invoice for downtime and time spent because this didn't break the pipeline but instead deployed applications without needed files to run.. Acknowledge your mistake and don't hide behind the shield that you somehow saved the day by shielding us from the big bad evil hidden files upload... Seriously, go touch grass.. this is not some zero-day you're patching, you do not ignore semver and push a breaking change for such a stupid reason. |
Why not publish a v5 version for this? This is breaking a ton of our things that build files with |
We still use v3 of |
GitHub broke them. Fix actions/upload-artifact#602
Add , to fix actions/upload-artifact#602
https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/
The text was updated successfully, but these errors were encountered: