Skip to content

fix(remote): bound sync readiness by wall clock - #839

Draft
pennywise1026-eng wants to merge 1 commit into
fujibee:mainfrom
pennywise1026-eng:agent/fix-779-readiness-clock
Draft

fix(remote): bound sync readiness by wall clock#839
pennywise1026-eng wants to merge 1 commit into
fujibee:mainfrom
pennywise1026-eng:agent/fix-779-readiness-clock

Conversation

@pennywise1026-eng

Copy link
Copy Markdown

What changed

Bound remote.sh sync start readiness polling by both its existing attempt ceiling and a wall-clock budget. The defaults preserve the documented approximately 16-second wait; AGMSG_SYNC_READY_TRIES and AGMSG_SYNC_READY_SECONDS permit explicit test control.

Why

The previous 1600-iteration loop also ran process status, tail, awk, and sleep on every turn. On slow Windows/Git Bash filesystems it could take roughly two minutes rather than the documented wait. A late or missing ready marker should cost only this caller its intended time budget.

Validation

Refs #779

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant