andygrove opened a new issue, #7754: URL: https://github.com/apache/datafusion-comet/issues/7754
### Describe the bug The nightly's Delta contrib jobs save about 7.5 GB of `Linux-delta-maven-*` entries on `main`, which puts the repository over its 10 GB Actions cache budget. The entries every pull request and merge queue run restores then compete for what is left, and GitHub evicts the least recently used ones. When `Linux-java-maven-*` or `Linux-cargo-ci-*` is evicted, pull request and queue runs download every Maven dependency from Maven Central and rebuild the native library from scratch until the next push to `main` writes them again. That is the same cold path that gets fork runs throttled with HTTP 429 in #7702. This was first reported in [a comment on #7702](https://github.com/apache/datafusion-comet/issues/7702#issuecomment-7044206656). The caches on `refs/heads/main` on 2026-11-23, total 12.75 GB in 7 entries: | Entry | Size | Created | Last accessed | | --- | --- | --- | --- | | `Linux-delta-maven-<pom>-4.0` | 2.53 GB | 07:18Z | 07:18Z | | `Linux-delta-maven-<pom>-3.5` (`contrib-delta`) | 2.37 GB | 07:21Z | 07:21Z | | `Linux-spark-sql-*` | 2.09 GB | 11-19 | 19:31Z | | `Linux-cargo-ci-*` | 1.62 GB | 11-22 | 19:28Z | | `Linux-delta-maven-<pom>-4.1` | 1.52 GB | 07:19Z | 07:19Z | | `Linux-java-maven-*` | 1.50 GB | 11-22 | 19:38Z | | `Linux-delta-maven-<pom>-3.5` (`contrib-delta-s3`) | 1.13 GB | 07:00Z | 07:00Z | The entries that pull request and queue runs need (`java-maven`, `cargo-ci`, `spark-sql` and the Maven wrapper) add up to about 5.2 GB. The four Delta entries add 7.5 GB that only the next nightly reads. Two details make it larger than it needs to be: - `contrib-delta` and `contrib-delta-s3` in `.github/workflows/delta_contrib_test.yml` both save the key `Linux-delta-maven-<pom>-3.5`, with different `path` lists, so the cache holds two separate 3.5 entries. - Each Delta entry is a full Maven repository. It overlaps `Linux-java-maven-*`, which the Delta jobs already fall back to through `restore-keys`, but stores the shared dependencies again. #6387 cut `main`'s steady state to about 6 GB for the same reason, and the Delta entries have since taken it back over the budget. ### Steps to reproduce ```shell gh api repos/apache/datafusion-comet/actions/cache/usage gh api 'repos/apache/datafusion-comet/actions/caches?per_page=100&ref=refs/heads/main' \ --jq '.actions_caches[] | "\(.size_in_bytes/1e6|floor)MB \(.created_at) \(.last_accessed_at) \(.key)"' ``` Run it after a nightly and before the next push to `main`, then look for `Cache not found for input keys: Linux-java-maven-` or `Linux-cargo-ci-` in pull request and queue runs from that window. ### Expected behavior The entries pull request and queue runs restore stay within the budget, so those runs never fall back to Maven Central or a cold native build because of the nightly. ### Additional context Some possible directions: - Save one Delta entry per Spark version, not two for 3.5. The S3 job could restore the `contrib-delta` entry and skip its own save. - Don't save the Delta Maven repository at all. Restore `Linux-java-maven-*` and download only what the Delta build adds on top of it. - Measure how much the Delta entries save the nightly. If it is a few minutes of a job nobody waits on, the reasoning #6387 used for `docs.yaml`'s Maven cache applies here too. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
