WIP: fix(ci): Don't cache nix store #1047

Draft
Shuroii wants to merge 1 commit from Shuroii/continuwuity:flake-updater into main
Contributor

Tom should look at this later.

Tom should look at this later.
Author
Contributor

That's weird; 7a56a2462c didn't apply and Forgejo doesn't seem to care?

That's weird; 7a56a2462c5cacb2361fd39879245fed63ffb630 didn't apply and Forgejo doesn't seem to care?
Shuroii force-pushed flake-updater from a5f2e5f389
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m6s
Update flake hashes / update-flake-hashes (pull_request) Failing after 0s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 6m23s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 6m54s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 8m55s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 15m19s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 14m12s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 4s
to 6a33fcb63d
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m41s
Update flake hashes / update-flake-hashes (pull_request) Failing after 7s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 6m13s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 5m45s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 8m40s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 15m50s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 16m4s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 4s
2025-09-18 22:34:45 +00:00
Compare
Shuroii force-pushed flake-updater from 6a33fcb63d
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m41s
Update flake hashes / update-flake-hashes (pull_request) Failing after 7s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 6m13s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 5m45s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 8m40s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 15m50s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 16m4s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 4s
to fbeac33487
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m0s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m59s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 4m26s
Update flake hashes / update-flake-hashes (pull_request) Failing after 6s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 4m12s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 23m12s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 23m30s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 5s
2025-09-18 22:40:56 +00:00
Compare
Owner

Could you explain the reasoning behind the PR?

Could you explain the reasoning behind the PR?
Shuroii changed title from fix(ci): Don't cache nix store to WIP: fix(ci): Don't cache nix store 2025-09-18 22:50:40 +00:00
Author
Contributor

@tcpipuk wrote in #1047 (comment):

Could you explain the reasoning behind the PR?

https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/5058/jobs/0/attempt/1 shows the workflow broke cause of something to do with caching.

@tcpipuk wrote in https://forgejo.ellis.link/continuwuation/continuwuity/pulls/1047#issuecomment-20322: > Could you explain the reasoning behind the PR? https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/5058/jobs/0/attempt/1 shows the workflow broke cause of something to do with caching.
Shuroii force-pushed flake-updater from fbeac33487
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m0s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m59s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 4m26s
Update flake hashes / update-flake-hashes (pull_request) Failing after 6s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 4m12s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 23m12s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 23m30s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 5s
to 955c262884
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 52s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m46s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 4m2s
Update flake hashes / update-flake-hashes (pull_request) Failing after 10s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 4m26s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 17m6s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 20m28s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 6s
2025-09-18 22:54:02 +00:00
Compare
Owner

Does it? To me, it shows the end of a bunch of actions then shows the job failed, but I don't see any logs indicating cache at all?

Does it? To me, it shows the end of a bunch of actions then shows the job failed, but I don't see any logs indicating cache at all?
Author
Contributor

On line 2 of the "Complete job" step, it mentions this command: docker cp src=/data/.cache/act/f4/1cef77644f38300adc245bd8163db2c0e1de5f17a02e3a3515052350c1c43d/ dst=/var/run/act/actions/f4/1cef77644f38300adc245bd8163db2c0e1de5f17a02e3a3515052350c1c43d/ but the UI doesn't mention if this command fails correctly or not. That said, it's the only thing that can fail, unless we've got another excellent Forgejo runner error report issue on our hands.

On line 2 of the "Complete job" step, it mentions this command: `docker cp src=/data/.cache/act/f4/1cef77644f38300adc245bd8163db2c0e1de5f17a02e3a3515052350c1c43d/ dst=/var/run/act/actions/f4/1cef77644f38300adc245bd8163db2c0e1de5f17a02e3a3515052350c1c43d/` but the UI doesn't mention if this command fails correctly or not. That said, it's the only thing that *can* fail, unless we've got another excellent Forgejo runner error report issue on our hands.
Shuroii force-pushed flake-updater from 955c262884
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 52s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m46s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 4m2s
Update flake hashes / update-flake-hashes (pull_request) Failing after 10s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 4m26s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 17m6s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 20m28s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 6s
to e012843898
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m2s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m59s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 4m13s
Update flake hashes / update-flake-hashes (pull_request) Failing after 11s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 4m24s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 3s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 12m58s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 12m23s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 4s
2025-09-18 23:21:57 +00:00
Compare
Shuroii force-pushed flake-updater from e012843898
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m2s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m59s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 4m13s
Update flake hashes / update-flake-hashes (pull_request) Failing after 11s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 4m24s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 3s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 12m58s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 12m23s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 4s
to 07fd83cefc
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m17s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m58s
Update flake hashes / update-flake-hashes (pull_request) Failing after 10s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 4m26s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 4m36s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 4s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 20m12s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 20m53s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 4s
2025-09-18 23:28:29 +00:00
Compare
Owner

AFAICT, there's nothing in the workflow that causes the nix store to be cached.

I think we'd get an error if that copy failed, but if that nix action was trying to copy data to /var/run/act/ then that probably failed because the runner is in Docker (that path doesn't exist on the host) so sounds like that action might be making assumptions about the environment...

In either case, the latest failure suggests the problem is trying to push to a branch that doesn't exist on the upstream.

AFAICT, there's nothing in the workflow that causes the nix store to be cached. I think we'd get an error if that copy failed, but if that nix action *was* trying to copy data to `/var/run/act/` then that probably failed because the runner is in Docker (that path doesn't exist on the host) so sounds like that action might be making assumptions about the environment... In either case, the [latest failure](https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/5090/jobs/0) suggests the problem is trying to push to a branch that doesn't exist on the upstream.
Contributor

The flake can be bumped manually for now right, to fix the rocksdb version.

The flake can be bumped manually for now right, to fix the rocksdb version.
Contributor
https://github.com/samueldr/lix-gha-installer-action https://git.madhouse-project.org/actions Might be interesting to use as well :p
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m17s
Required
Details
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m58s
Required
Details
Update flake hashes / update-flake-hashes (pull_request) Failing after 10s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 4m26s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 4m36s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 4s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 20m12s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 20m53s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 4s
This pull request has changes conflicting with the target branch.
  • .forgejo/workflows/update-flake-hashes.yml
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u flake-updater:Shuroii-flake-updater
git switch Shuroii-flake-updater
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity!1047
No description provided.