Skip to content

fix(selfhost): keep app stable when starting cron - #67

Merged
Ryson-32 merged 1 commit into
mainfrom
ryan/oneclick-update-health
Jul 26, 2026
Merged

fix(selfhost): keep app stable when starting cron#67
Ryson-32 merged 1 commit into
mainfrom
ryan/oneclick-update-health

Conversation

@Ryson-32

Copy link
Copy Markdown
Member

Summary

  • start the cron container with --no-deps after the candidate app passes health checks
  • apply the same isolation when rollback restores the previous app
  • cover success and rollback command ordering in shell contract tests

Reproduction

On the amd64 fresh one-click path, subboost update passed its candidate health wait, then docker compose up -d cron recreated the app through depends_on. The immediate post-update request repeatedly failed with curl: (56) Recv failure: Connection reset by peer; an update retry passed after the app settled.

Validation

  • bash -n local/scripts/subboost.sh
  • npm run test:unit -- local/scripts/selfhost-shell.test.ts local/scripts/selfhost-lifecycle-shell.test.ts (16/16)
  • npm run test:unit (1175/1175)
  • npm run lint
  • npm run check:local-app

No version bump, tag, release, or deployment is included.

Copilot AI review requested due to automatic review settings July 26, 2026 17:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Ryson-32
Ryson-32 merged commit e0b76ca into main Jul 26, 2026
5 checks passed
@Ryson-32
Ryson-32 deleted the ryan/oneclick-update-health branch July 26, 2026 17:24
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.

2 participants