You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "thisisnic (via GitHub)" <gi...@apache.org> on 2026/04/14 07:37:24 UTC
[I] [CI] Add cache-poisoning mitigations for actions/cache [arrow]
thisisnic opened a new issue, #49730:
URL: https://github.com/apache/arrow/issues/49730
### Describe the enhancement
Workflows that use `actions/cache` and are triggered by both `push` and `pull_request` (or `schedule`) may be susceptible to cache poisoning. The recommended mitigation is to use `actions/cache/restore` (read-only) in PR-triggered runs and only allow cache writes from trusted branches.
This affects 28 cache steps across:
- `.github/workflows/cpp.yml`
- `.github/workflows/cpp_extra.yml`
- `.github/workflows/cuda_extra.yml`
- `.github/workflows/dev.yml`
- `.github/workflows/docs.yml`
- `.github/workflows/integration.yml`
- `.github/workflows/matlab.yml`
- `.github/workflows/package_linux.yml`
### Component(s)
Continuous Integration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI] Add cache-poisoning mitigations for actions/cache [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #49730:
URL: https://github.com/apache/arrow/issues/49730#issuecomment-4242789316
This also seems like a false positive?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI] Add cache-poisoning mitigations for actions/cache [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #49730:
URL: https://github.com/apache/arrow/issues/49730#issuecomment-4346008247
I'm closing this as "not needed" as the solution (PRs can only read from the cache) would slow down CI on PRs, but the only consequence if someone tried to take advantage of it would be a misleading CI run (false pass) but no effect on released artifacts etc, so it doesn't seem like a reasonable tradeoff.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI] Add cache-poisoning mitigations for actions/cache [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #49730: [CI] Add cache-poisoning mitigations for actions/cache
URL: https://github.com/apache/arrow/issues/49730
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org