Skip to content

fix: avoid false restart failure during startup migrations - #105544

Merged
steipete merged 8 commits into
openclaw:mainfrom
abnershang:abs/migration-aware-restart-wait
Jul 16, 2026
Merged

steipete merged 8 commits into
openclaw:mainfrom
abnershang:abs/migration-aware-restart-wait

Conversation

@abnershang

@abnershang abnershang commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Operators updating or restarting OpenClaw could receive a readiness failure after about 60 seconds even though the gateway was still healthy and completing a legitimate startup migration.

Why This Change Was Made

Managed restart health now observes the canonical startup-migration lease, grants one bounded lease-TTL watchdog, then restores the caller's normal readiness window after migration releases. The current updater service passes its effective timeout to the restart subprocess, so the outer watchdog cannot preempt a valid migration wait. Installed service environment and port are refreshed after repair.

User Impact

Updates and managed restarts no longer report a false failure while a startup migration is actively progressing. Crashes, stopped processes, stale leases, plugin/channel/version mismatches, and ordinary non-migration timeouts retain prompt bounded failure.

Evidence

  • Exact PR head: 189498600bc6139e0bcb87f02ddf909a75263112.
  • Focused Blacksmith Testbox proof: 280 tests passed across restart health, daemon lifecycle, startup migration checkpoint, and update CLI.
  • Node 24 build passed. Final AutoReview: no actionable findings, patch correct, confidence 0.90.
  • Hosted merge-tree CI run 29484518448 passed: build, lint, production/test types, guards, all Node shards, and four QA smoke profiles.
  • A direct exact-head full suite completed all product/runtime shards; its only failure was an unrelated stale-main tooling-plan assertion for windows-launcher-encoding.test.ts, removed on current main. Hosted merge-tree tooling and Node shards passed.

Installed systemd behavior proof

  • Environment: Blacksmith Testbox, Linux systemd 255, Node 24.18.0.
  • Built exact head and installed isolated openclaw-proof-105544.service through gateway install --wrapper.
  • Production compiled startup-migration lease held the canonical state DB for 75 seconds before launching the built gateway.
  • Public gateway restart --force --json crossed the old deadline and exited 0 after 83 seconds. Lease acquired/released; unit active; public health check succeeded.
  • Persistent wrapper crash held no lease. Restart exited 1 after 18 seconds.
  • Normal wrapper restored; restart, active unit, and health all recovered.
PROOF_LONG_RESTART_EXIT=0
PROOF_LONG_RESTART_ELAPSED_SECONDS=83
PROOF_LEASE_ACQUIRED
PROOF_LEASE_RELEASED
PROOF_LONG_RESTART_SERVICE_ACTIVE
PROOF_CRASH_RESTART_EXIT=1
PROOF_CRASH_RESTART_ELAPSED_SECONDS=18
PROOF_FORCED_CRASH
PROOF_SERVICE_RECOVERED

The original operator migration dataset and full package-update handoff were not reproduced. The proof exercised the real installed systemd service, cross-process canonical SQLite lease, managed restart health, bounded success, prompt crash failure, and recovery.

AI-assisted: implementation and validation were completed with Codex; maintainers reviewed the resulting code and behavior.

Agent Transcript

Redacted codex session transcript
source: [LOCAL_SESSION]
redaction: local paths, emails, phone-shaped strings, token-shaped strings, auth headers, auth query params
omitted: raw tool outputs, system/developer prompts, local paths, secrets, browser/session/auth details
stats: {"agent":"codex","entries":9,"user":4,"assistant":4,"toolCalls":13,"toolOutputsDropped":13,"web":0,"redactions":3,"omittedUnsafe":0,"rawEntries":24}

[user]
[instructions recap omitted; policy/config text, not task dialogue]

[assistant]
I’m treating this as trusted maintainer work on the prepared branch. I’ll first recover the exact checkout state, read the required testing/autoreview workflows and scoped repository guidance, then pre-warm the remote Testbox while tracing the restart, readiness, and migration ownership paths. I’ll only patch if the source contract supports a product defect.

The delegated Codex worktree is detached at the requested base SHA, while the named task branch is already checked out in the prepared scratch worktree. I’ll preserve that ownership and do the edits/commit in the branch’s existing worktree. The testing skill requires a kept Blacksmith Testbox lease for trusted code, so I’m starting that now and will reuse it for all test/static proof.

The Blacksmith Testbox warmup failed before allocation because this host is not authenticated to the `openclaw` Blacksmith org. Per the testing workflow, I’m switching the same trusted-maintainer proof to owned AWS Crabbox, keeping the failure explicit and avoiding local test execution.

Owned AWS is also blocked at the broker-auth gate. I’ll finish source investigation before deciding whether direct AWS diagnostics are viable; no tests will run locally unless remote proof remains impossible and I clearly report that fallback constraint.

The source confirms the 60-second cap is shared by both ordinary `gateway restart` and the update command’s post-restart verification. More importantly, startup already has a canonical, expiring migration lease/checkpoint in shared state. I’m now checking whether restart health can safely consume that owner signal—without moving migration policy into the CLI or treating a merely running process as healthy.

Direct AWS also failed before allocation because no broker login and no local AWS credential/instance role is available. Remote proof is therefore unavailable on this host. I’ll use only the repository-approved narrow local fallback for the two focused Vitest files if the existing dependency installation can support it; broad checks will remain explicitly blocked rather than triggering dependency reconciliation.

The focused fallback is green: the checkpoint tests and restart-health tests passed, including the simulated 140-second healthy migration, unchanged 60-second non-migration timeout, and bounded stuck-migration timeout. I’m broadening only to the two direct callers now (`gateway restart` lifecycle and update orchestration), then I’ll run the changed static gate if the available dependency setup supports it.

The implementation now fixes the shared managed-restart owner, not just the updater: it consults the startup migration lease only after the normal deadline, requires the supervisor to still report the process running, caps the extension to the lease TTL, and then grants a normal readiness settle window after lease release. Direct crashes/stopped services, plugin/channel errors, version mismatch, stale PIDs, and non-migration hangs retain their existing prompt exits.

I’m invoking the required `autoreview` skill now against the uncommitted branch diff. Any finding will be verified against the actual caller/owner paths before I change code.

Autoreview found two valid in-scope issues:

- A migration that ended just before 60 seconds could still be missed because lease observation began only at the deadline.
- The updater’s outer child watchdog must use the caller’s effective `--timeout`, not always the 30-minute default.

I’m fixing both within the same owner boundary, adding the near-deadline migration regression, then I’ll rerun focused proof and autoreview.

The second autoreview is clean with no actionable findings. Focused proof is still green after the fixes (135 tests total across the migration checkpoint, restart health/lifecycle, and update command surfaces), formatting/lint are clean, and `git diff --check` passes. I’m committing only the seven task files now; no push or PR actions will be taken.

Implemented and committed the migration-aware restart fix.

Root cause:

- Managed restart health had a fixed 60-second deadline.
- Startup migrations run before the gateway listener becomes ready and can legitimately exceed that window.
- Package updates also wrapped `gateway restart` in a competing 60-second process timeout.

Fix:

- Uses the canonical startup-migration lease as the progress signal.
- Extends waiting only while the supervisor reports the process running.
- Caps migration waiting to one five-minute lease TTL, followed by a normal readiness window.
- Preserves prompt failure for crashes, stopped services, plugin/channel errors, stale PIDs, version mismatches, and ordinary non-migration timeouts.
- Propagates the configured update-step timeout to the restart subprocess.
- Reports the actual extended timeout duration.
- Covers both managed `gateway restart` and update verification; unmanaged in-process restarts remain listener-based.

Changed: `src/cli/daemon-cli/{restart-health,lifecycle}*`, `src/cli/update-cli/update-command.ts`, and `src/infra/startup-migration-checkpoint*`.

Validation:

- Focused Vitest: 4 files, 135 tests passed.
- Includes healthy 140-second migration, near-deadline migration completion, standard non-migration timeout, bounded stuck migration, and timeout reporting.
- Targeted Oxfmt and Oxlint passed.
- `git diff --check` passed.
- Final autoreview: clean, no actionable findings.
- Remote proof was unavailable: Blacksmith lacked org authentication and AWS lacked broker/local credentials. Core tsgo was attempted using cross-checkout dependencies but was invalidated by unrelated non-portable `undici-types` paths, so full typecheck remains the main proof gap.

Commit: `f51a81a81e4936afd3a801698a27d51a22292118` (`fix: wait for startup migrations on restart`)

Nothing was pushed and no PR was opened.

::git-stage{cwd="[LOCAL_PATH]"}
::git-commit{cwd="[LOCAL_PATH]"}

[user]
[$autoreview]([LOCAL_PATH])

[assistant]
I’m using the requested `autoreview` skill in committed-change mode against `f51a81a81e4`. I’ll verify any finding against the real restart/update paths; if it requires a code change, I’ll rerun focused tests and review before reporting.

The committed-change review is still running. Its initial pass has not surfaced a finding; I’m waiting for the required independent second sweep and final confidence result.

Autoreview passed for commit `f51a81a81e4`.

- Command: `.agents/skills/autoreview/scripts/autoreview --mode commit --commit HEAD --stream-engine-output`
- Result: no accepted or actionable findings
- Verdict: patch is correct
- Confidence: `0.88`
- No additional changes were required; the branch remains clean and unpushed.

[user]
open pr

[assistant]
I’ll publish the completed branch and open the PR using the repository template. I’m first applying the required `agent-transcript` workflow, then I’ll verify the branch state, push, and create the PR with the existing validation evidence and known remote-proof limitation.

The branch is clean but `origin/main` has advanced by 111 commits, so I’m refreshing and rebasing before publication. I’m also checking for an existing issue/PR to link, since repository policy requires durable context for a non-trivial agent-authored fix.

Include a redacted agent transcript in the PR? It helps reviewers and can make the PR easier to prioritize. I can also open a local HTML preview first.

[user]
OK, include a redacted transcript

[assistant]
I’ll include the sanitized transcript from the original investigation task, not the short PR-publication exchange. The transcript helper will remove prompts, raw tool output, secrets, environment data, and unrelated turns; I’ll inspect the rendered section before it reaches GitHub. In parallel, I’m refreshing focused proof against the rebased commit.

The rebased commit still passes all 135 focused tests. One optional static-check invocation hit the repository’s linked-worktree dependency reconciliation guard before running; I’m switching to the already-installed direct format/lint binaries, as required for this worktree type, and inspecting the sanitized transcript before publication.

[tool summary]
13 other; raw tool outputs dropped: 13

@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes size: M labels Jul 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a29b942e3d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cli/daemon-cli/restart-health.ts Resolved
Comment thread src/cli/daemon-cli/restart-health.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6400c50d05

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cli/daemon-cli/lifecycle.ts Resolved
@openclaw-barnacle openclaw-barnacle Bot added the gateway Gateway runtime label Jul 12, 2026
@clawsweeper

clawsweeper Bot commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 12, 2026, 11:35 PM ET / July 13, 2026, 03:35 UTC.

Summary
Makes managed gateway restart readiness migration-aware, refreshes installed-service context after repair, and gives the updated restart subprocess the caller’s timeout budget.

PR surface: Source +111, Tests +273. Total +384 across 10 files.

Reproducibility: yes. at high confidence through the fixed 60-second source path and a controlled installed systemd service whose real migration lease remained active beyond that boundary; the exact original operator dataset was not replayed.

Review metrics: 1 noteworthy metric.

  • Restart watchdog budget: 1 timeout changed: fixed 60s to caller-configured update-step budget. This prevents premature termination of valid migrations but increases the maximum delay for unrelated restart-child hangs.

Stored data model
Persistent data-model change detected: migration/backfill/repair: src/cli/daemon-cli/lifecycle.test.ts, migration/backfill/repair: src/cli/daemon-cli/restart-health.test.ts, migration/backfill/repair: src/cli/daemon-cli/restart-health.ts, migration/backfill/repair: src/infra/startup-migration-checkpoint.test.ts. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Merge readiness
Overall: 🦞 diamond lobster
Proof: 🦞 diamond lobster
Patch quality: 🦞 diamond lobster
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Risk before merge

  • [P1] The update restart child watchdog changes from a fixed 60 seconds to the caller’s update-step budget, commonly much longer; an unexpected child hang outside the internally bounded readiness loop could therefore delay update failure substantially.
  • [P1] The branch is behind current main while gateway lifecycle code remains active, so the exact three-way merge result needs a refreshed source review and focused checks.
  • [P1] The real proof exercises the installed systemd restart owner but not an actual package-update handoff or the original 136-second operator dataset.

Maintainer options:

  1. Refresh and land the bounded wait (recommended)
    Rebase or merge current main, inspect the resulting lifecycle paths, and rerun the focused restart, checkpoint, lifecycle, and update checks before landing.
  2. Accept the longer update watchdog
    Merge after explicitly accepting that failures outside the child’s bounded readiness loop may now wait for the larger configured update-step timeout.
  3. Pause for a narrower watchdog cap
    Hold the PR if maintainers want the outer restart process capped near the maximum migration-aware readiness duration rather than the full update-step budget.

Next step before merge

  • [P2] No narrow automated repair remains; this PR needs normal maintainer merge-result refresh and availability-risk acceptance rather than another fix branch.

Security
Cleared: The diff adds no dependency, workflow, permission, secret-access, artifact-download, or executable supply-chain surface, and the new SQLite inspection is read-only.

Review details

Best possible solution:

Land the canonical lease-aware readiness behavior after refreshing it onto current main, while retaining the service-running guard, finite migration extension, caller-sized post-migration settle window, repaired service-context reread, and a clearly bounded outer update watchdog.

Do we have a high-confidence way to reproduce the issue?

Yes at high confidence through the fixed 60-second source path and a controlled installed systemd service whose real migration lease remained active beyond that boundary; the exact original operator dataset was not replayed.

Is this the best way to solve the issue?

Yes. Consuming the existing canonical migration lease in the shared managed-restart readiness owner is narrower and more maintainable than teaching the updater or individual migrations separate timeout exceptions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against b43e832fcc80.

Label changes

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides exact-head installed systemd evidence showing an 88-second migration-aware successful restart and a separate crashing-service failure after 20 seconds, with sensitive details redacted.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR body provides exact-head installed systemd evidence showing an 88-second migration-aware successful restart and a separate crashing-service failure after 20 seconds, with sensitive details redacted.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: The PR fixes a real managed update and gateway-restart workflow that can falsely report failure to operators while a healthy startup migration is still progressing.
  • merge-risk: 🚨 availability: Merging changes restart waiting and the updater’s child-process timeout, which can materially lengthen how long update failures take to surface.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR body provides exact-head installed systemd evidence showing an 88-second migration-aware successful restart and a separate crashing-service failure after 20 seconds, with sensitive details redacted.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides exact-head installed systemd evidence showing an 88-second migration-aware successful restart and a separate crashing-service failure after 20 seconds, with sensitive details redacted.
Evidence reviewed

PR surface:

Source +111, Tests +273. Total +384 across 10 files.

View PR surface stats
Area Files Added Removed Net
Source 6 165 54 +111
Tests 4 276 3 +273
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 10 441 57 +384

What I checked:

  • Migration-aware readiness owner: The managed restart waiter consults the canonical startup-migration lease only while the service remains running, bounds the extension by the lease TTL, and restores the caller’s normal readiness window after migration completion. (src/cli/daemon-cli/restart-health.ts:528, 27d76658df68)
  • Read-only canonical lease signal: The checkpoint module exposes a read-only active-lease query that avoids creating the shared-state database when it does not exist. (src/infra/startup-migration-checkpoint.ts:98, 27d76658df68)
  • Correct installed-service context: Restart lifecycle reads the installed command environment, preserves caller-selected service identity, and refreshes the effective environment and port after service repair; this resolves all three earlier context-related review comments. (src/cli/daemon-cli/lifecycle.ts:89, 27d76658df68)
  • Update watchdog alignment: The updated-install restart subprocess now receives the update step’s effective timeout rather than the previous fixed 60-second watchdog. (src/cli/update-cli/update-command.ts:1696, 27d76658df68)
  • Focused regression coverage: Tests cover long healthy migrations, near-deadline migration completion, ordinary non-migration timeout behavior, bounded stuck migration behavior, service-state-directory selection, repaired context refresh, and update subprocess timeout propagation. (src/cli/daemon-cli/restart-health.test.ts:449, 27d76658df68)
  • Installed-service behavior proof: A clean Ubuntu systemd service held the production shared SQLite migration lease for 75 seconds; restart crossed the old boundary and succeeded after 88 seconds, while a persistently crashing service failed after 20 seconds and later recovered. (27d76658df68)

Likely related people:

  • vincentkoc: Recent history connects this person to both update restart orchestration and restart-health configuration reads, making them the strongest routing candidate for the cross-surface update/restart behavior. (github.com) (role: recent area contributor; confidence: high; commits: 1ab00c44699d; files: src/cli/update-cli/update-command.ts, src/cli/daemon-cli/restart-health.ts)
  • tmimmanuel: Recent Windows gateway restart work addressed accurate fast-failure reporting and managed-service restart behavior in the same lifecycle area, providing useful cross-platform context. (git.mineracks.com) (role: adjacent restart-health contributor; confidence: medium; commits: c0ec58f4b690; files: src/cli/daemon-cli/lifecycle.ts, src/cli/daemon-cli/restart-health.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (3 earlier review cycles)
  • reviewed 2026-07-12T17:46:57.934Z sha 4312b9c :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-12T18:11:10.035Z sha 27d7665 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-12T18:21:16.993Z sha 27d7665 :: needs real behavior proof before merge. :: none

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4312b9cf94

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cli/daemon-cli/lifecycle.ts Resolved
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Jul 12, 2026
@abnershang

Copy link
Copy Markdown
Contributor Author

Added the requested real installed-service proof to the PR body. Redacted behavior markers from exact head 27d76658df68:

PROOF_LONG_RESTART_EXIT=0
PROOF_LONG_RESTART_ELAPSED_SECONDS=88
PROOF_LEASE_ACQUIRED
PROOF_LEASE_RELEASED
PROOF_LONG_RESTART_SERVICE_ACTIVE
PROOF_CRASH_RESTART_EXIT=1
PROOF_CRASH_RESTART_ELAPSED_SECONDS=20
PROOF_FORCED_CRASH
PROOF_CRASH_FAILED_PROMPTLY
PROOF_SERVICE_RECOVERED

The clean-room run used an isolated systemd user service on CrabBox Azure lease cbx_e165878842c2; the service and state were removed and the lease was stopped after proof.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 13, 2026
@steipete steipete self-assigned this Jul 16, 2026
@steipete
steipete merged commit 5ad0d4d into openclaw:main Jul 16, 2026
128 of 130 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 17, 2026
…105544)

* fix: wait for startup migrations on restart

* fix: honor restart readiness caller context

* fix: preserve restart service identity

* fix: refresh readiness context after repair

* fix: bound migration restart wait by wall clock

Co-authored-by: Abner Shang <[email protected]>

---------

Co-authored-by: Peter Steinberger <[email protected]>
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
…105544)

* fix: wait for startup migrations on restart

* fix: honor restart readiness caller context

* fix: preserve restart service identity

* fix: refresh readiness context after repair

* fix: bound migration restart wait by wall clock

Co-authored-by: Abner Shang <[email protected]>

---------

Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes gateway Gateway runtime merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants