k.rennerandClaude Opus 4.7 eefc0606e5
ci/woodpecker/manual/migrate-audiobookshelf Pipeline was successful
ci/woodpecker/manual/migrate-immich Pipeline failed
fix(migrate-*): poll Job conditions instead of kubectl logs -f
`kubectl logs -f --pod-running-timeout=10m` is unreliable as a wait
barrier when the pod spends time in ContainerCreating (volume attach
on RWX PVCs especially for the 300 GiB books PVC). It can return
early without streaming, leaving the subsequent `kubectl wait
--for=condition=complete --timeout=30s` to hit a Job that's still
running and exit 1.

Pipeline 750 (migrate-audiobookshelf) hit this: rsync started fine
in the staging Job but the pipeline reported failure after 88 s —
even though the Job kept running and the velero backup create that
followed actually got submitted (Backup ended up in
WaitingForPluginOperations).

Replace the logs-and-wait dance with a 4 h-capped poll loop that
reads the Job's Complete / Failed conditions directly. On Failed,
print describe + last 100 log lines for diagnosis. On Complete,
print the last 200 log lines for visibility.

Same change applied to all 5 migrate-* pipelines.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 10:52:29 +02:00
S
Description
No description provided
38 MiB
master
Latest
2026-01-31 15:05:31 +00:00
Languages
Go 35.7%
Shell 24.3%
Python 22.4%
Jinja 5.1%
HCL 4.8%
Other 7.6%