Skip to content

ci: wait for sync-fork completion before finishing the workflow - #445

Merged
birme merged 1 commit into
mainfrom
ci/sync-fork-wait
Aug 26, 2026
Merged

birme merged 1 commit into
mainfrom
ci/sync-fork-wait

Conversation

@birme

@birme birme commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

What

Adds the new -w/--wait flag to the osc admin sync-fork call in sync-fork.yml, per EyevinnOSC/client-ts#151 (merged, shipped in @osaas/cli 4.33.0).

Why

Previously the workflow fired the sync-fork request and exited immediately after the initial status check — a green run didn't mean the fork sync + rebuild actually succeeded. --wait polls the sync-fork job to completion, then polls the auto-triggered remake order to completion, so the workflow result reflects the real outcome.

Other changes

  • Bumped timeout-minutes from 5 → 15 to give the wait loop (up to ~2 min for the remake order to appear, plus the order's own completion time) enough room, since the job no longer returns right after kickoff.

Verification

  • @osaas/cli is installed unpinned (npm install -g @osaas/cli), so the workflow picks up 4.33.0+ automatically — confirmed on the npm registry.
  • No other changes to the trigger conditions (release: published, workflow_dispatch with environment choice) or secrets wiring.

🤖 Generated with Claude Code

@osaas/cli 4.33.0 adds -w/--wait to `osc admin sync-fork` (client-ts#151):
it polls the sync-fork job to completion, then polls the auto-triggered
remake order to completion, instead of returning right after the initial
status check. Use it here so the workflow run actually reflects whether
the fork sync + rebuild succeeded rather than exiting green immediately
after kickoff. Bumped the job timeout from 5 to 15 minutes to give the
full wait loop room to finish.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@birme
birme merged commit 7b2bb15 into main Aug 26, 2026
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