Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00
forgejo/release-notes/8.0.0
Rowan Bohde ab66bfff91 fix: allow actions artifacts storage migration to complete succesfully (#31251)
Change the copy to use `ActionsArtifact.StoragePath` instead of the
`ArtifactPath`. Skip artifacts that are expired, and don't error if the
file to copy does not exist.

---

When trying to migrate actions artifact storage from local to MinIO, we
encountered errors that prevented the process from completing
successfully:

* The migration tries to copy the files using the per-run
`ArtifactPath`, instead of the unique `StoragePath`.
* Artifacts that have been marked expired and had their files deleted
would throw an error
* Artifacts that are pending, but don't have a file uploaded yet will
throw an error.

This PR addresses these cases, and allow the process to complete
successfully.

(cherry picked from commit 8de8972baf5d82ff7b58ed77d78e8e1869e64eb5)
(cherry picked from commit 4afbfd3946)
2024-06-09 14:55:01 +00:00
..
feat Add an immutable tarball link to archive download headers for Nix 2024-05-29 18:50:14 +00:00
fix fix: allow actions artifacts storage migration to complete succesfully (#31251) 2024-06-09 14:55:01 +00:00
perf mysql: use inner join for hook_task deletion 2024-05-24 12:46:33 +00:00
3730.md Port "Fix project name wrapping, remove horizontal margin on header" 2024-05-12 17:37:36 +05:00