File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,9 +55,11 @@ info() { echo "[mirror] $*"; }
5555# completeness gate at the bottom is still the pass/fail, so a skipped asset
5656# fails the release loudly instead of silently shipping a half mirror.
5757#
58- # Raise it (or set it per-host) when the cross-border leg legitimately needs
59- # longer than the cap for the big archives; the gate will tell you.
60- : " ${MIRROR_UPLOAD_TIMEOUT:= 120} "
58+ # Sizing: mcpp's largest asset is ~30MB (no package exceeds 100MB). 180s is a
59+ # generous ceiling for that — an upload still running at 3min is not "slow", it
60+ # is stuck, and the right move is to stop paying CI for it and push that one
61+ # asset by hand (the gate below prints the exact command).
62+ : " ${MIRROR_UPLOAD_TIMEOUT:= 180} "
6163
6264DL=" $( mktemp -d) " ; trap ' rm -rf "$DL"' EXIT
6365
Original file line number Diff line number Diff line change @@ -725,6 +725,13 @@ jobs:
725725
726726 - name : Mirror binaries to xlings-res/mcpp (gh + gtc)
727727 if : ${{ env.XLINGS_RES_TOKEN != '' }}
728+ # Hard ceiling for the whole mirror segment. The script caps each asset
729+ # at MIRROR_UPLOAD_TIMEOUT (180s) and abandons anything slower, so a
730+ # healthy run lands well inside this; 10min is the backstop that keeps a
731+ # pathological host from burning the job's budget the way v0.0.94 did
732+ # (30min, killed, zero per-asset visibility). Whatever gets skipped is
733+ # reported by name + size and pushed by hand.
734+ timeout-minutes : 10
728735 env :
729736 GH_TOKEN : ${{ secrets.XLINGS_RES_TOKEN }}
730737 run : |
You can’t perform that action at this time.
0 commit comments