0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 23:14:36 +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
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
artifact.proto
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