1# Builds in a row make one sync of the offline copy: each waits2# FORGE_MIRROR_DELAY seconds after it, and a newer build restarts the wait.3. "$(dirname "$0")/../lib.sh"4user dami5repo dami/greet6clone dami dami/greet "$T/w/d"7at "$T/w/d" commit "first"8ok push_as dami "$T/w/d" origin main9build10fake_rclone11export FORGE_MIRROR_DELAY=8 FORGE_MIRROR_MIN_INTERVAL=012build13build14build15missing "$FORGE_ROOT/.forge/mirror.last"16synced 117sleep 218eq "$(grep -c '^sync .*--files-from-raw' "$T/rclone.log")" 1