Skip to content

fix(opencode): wait for bootstrap compose stack on update - #2607

Open
patil2001 wants to merge 1 commit into
Osmantic:mainfrom
patil2001:oc2-fix/update-bootstrap-wait
Open

fix(opencode): wait for bootstrap compose stack on update#2607
patil2001 wants to merge 1 commit into
Osmantic:mainfrom
patil2001:oc2-fix/update-bootstrap-wait

Conversation

@patil2001

Copy link
Copy Markdown
Contributor

Summary

cmd_update recreated the compose stack without the readiness wait that cmd_start and cmd_restart already perform, so an update could race the bootstrap compose stack coming up. This adds macos_wait_for_bootstrap_compose_safe "update" || return 1 ahead of the force-recreate, mirroring the existing guard pattern.

AI Assistance

AI-assisted repository exploration and regression triage. The author reviewed the implementation, selected the validation scope, and is responsible for the final diff.

Release Lane

  • Stable hotfix targeting release/2.6.x
  • Mainline change targeting main
  • Next-minor work targeting the next feature/minor release
  • Not sure; reviewer should help classify

Stable hotfix reason:

Not targeting the stable release branch directly.

Changed Surface

  • macOS update flow
  • bootstrap compose wait
  • Windows
  • Linux
  • renderer
  • config

Validation

  • bash -n on modified script
  • focused single-file diff

cmd_update recreated the compose stack without the readiness wait that cmd_start and cmd_restart use. Added macos_wait_for_bootstrap_compose_safe "update" || return 1 ahead of the recreate so an update cannot race the bootstrap compose stack coming up.
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