0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-12 19:33:12 +01:00
gitea/routers/api/actions
ChristopherHX b594cec2bd
Fix artifact v4 upload above 8MB (#31664)
Multiple chunks are uploaded with type "block" without using
"appendBlock" and eventually out of order for bigger uploads.
8MB seems to be the chunk size

This change parses the blockList uploaded after all blocks to get the
final artifact size and order them correctly before calculating the
sha256 checksum over all blocks

Fixes #31354
2024-09-22 14:01:09 +03:00
..
ping Upgrade Go 1.22 and upgrade dependency (#29869) 2024-03-17 15:40:05 +00:00
runner Remove deprecated stuff for runners (#30930) 2024-05-10 16:23:47 +08:00
actions.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
artifact.pb.go Actions Artifacts v4 backend (#28965) 2024-03-02 09:12:17 +00:00
artifact.proto Actions Artifacts v4 backend (#28965) 2024-03-02 09:12:17 +00:00
artifacts.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
artifacts_chunks.go Fix artifact v4 upload above 8MB (#31664) 2024-09-22 14:01:09 +03:00
artifacts_utils.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
artifactsv4.go Fix artifact v4 upload above 8MB (#31664) 2024-09-22 14:01:09 +03:00