Skip to content

fix(update): rebuild stale Git runtimes when source is already current - #156996

Merged
steipete merged 3 commits into
mainfrom
upd/git-update-already-current-stale-dist
Sep 24, 2026
Merged

steipete merged 3 commits into
mainfrom
upd/git-update-already-current-stale-dist

Conversation

@steipete

@steipete steipete commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes Git updates reporting already-current and then exiting 79 when the checkout already matches the target but its installed runtime was built from an older commit.

Fixes #156893. Thanks @DonnieFi for the detailed timeline, build identities, reflog, and Gateway logs.

User Impact

A source-current checkout with stale runtime artifacts or no recorded build commit now rebuilds a separate candidate and restarts its managed Gateway onto the matching build. Update activation and automatic source-launcher rebuilds leave a serving installation intact when they do not own its service stop.

First-update limitation: a 2026.9.5 installation's installed updater can refuse before candidate code becomes reachable. Its first update still needs the bootstrap workaround documented in docs/cli/update/how-updates-run.md, “Validation and activation”: stop the Gateway through its actual service manager, rebuild the checkout, start it through that manager, then retry. Never rebuild underneath the serving process. Explicit manual pnpm build remains operator-controlled.

Why This Change Was Made

Both Git preflight no-op exits compared source and target SHA without requiring a matching recorded build commit. They now require affirmative build provenance: missing or different commits follow candidate rebuild and managed activation. The new build records its commit, allowing the next unchanged update to finish as already current. Full artifact verification remains the separate recovery owner's decision.

The activation owner now refuses same-installation Git mutation when service preparation reports a running Gateway that the updater did not stop. The source launcher reuses the existing runtime-publication owner for automatic full builds and runtime synchronization, retaining the artifact/service/lifecycle lock order. These are separate entry points into runtime mutation, not competing service owners.

The report cannot uniquely identify the historical actor that rewrote dist. The managed helper has no build tail after completion; a later source-launcher command or explicit build can account for those stamps. The regressions cover the automatic rebuild and update-activation paths that could violate custody.

Evidence

Live proofs used isolated state, an owned systemd user service, and port 39897 on Blacksmith Testboxes. No operator Gateway or state was used.

  • Systemd before/after proof, lease tbx_01m38fy2q8r8xzcpcc2kvr9pd0: node openclaw.mjs update --yes --tag 2026.9.5 --timeout 1800 --json. Before the fix, the helper exited 79, the result was already-current / runtime-verification-failed, and old PID 11915 remained active and healthy. The parent launcher exited 75 to acknowledge managed handoff.
  • After that refusal, pnpm openclaw doctor refused automatic publication while PID 11915 served. The complete dist digest remained 2454e947485a3ee053af785bc0693d2d5aa77663d5fcc7e0cdb547e1a62d101f.
  • With the fixed driver and another source-current/stale-dist checkout, the update succeeded and replaced PID 14915 → 20518. Built and serving identity both became 2026.9.5-dd04333518ae-2026-09-24T02-32-15.879Z, matching source/target dd04333518ae9168caf928bc6032f43445d565d8. readyz=true, settled=true, no plugin errors; recorded downtime 61,503 ms. Full command, including candidate build: 6m12.466s. These are synthetic fixture commits, not PR commits.
  • Published 2026.9.5 driver × candidate proof, lease tbx_01m38m2bth4zhfks2k19702780: built exact tag commit ec9c1a13db8938e5a3eaa51fca2e981cde2395a9, then advanced source without rebuilding. The tagged driver reproduced failed / already-current, retaining PID 8301 and its old runtime. This establishes the first-update limitation above.
  • Baseline negative controls failed for the intended reasons: both source-current Git cases skipped instead of rebuilding; same-root and symlink-alias activation replaced retained artifact bytes; source-launcher cases built under a live service or failed to hold the startup coordinator. The disjoint-installation control passed.

OPENCLAW_TESTBOX=1 import-dependent validation passed 57 files / 1,849 tests across six Vitest groups in 751.54s (12m43.944s remote command), Testbox run, lease tbx_01m38pz5h15833v8c0wrag2jp6. Selection includes direct imports and the relevant one-barrel callers. The synchronized source was checked against the commit hashes, then the exact candidate HEAD/index and complete tracked tree were verified. Native sync initially retained older Git metadata, which caused two sparse-harness copy failures; correcting that proof environment and replaying the same order passed without test changes.

OPENCLAW_TESTBOX=1 OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 node scripts/check-changed.mjs --base 57f912b5f7011bae0cc5f36a4ba7f56556ed4127 -- <19 changed paths> passed, exit 0, in 28m21.223s on Testbox run, lease tbx_01m38py1pgmy5bg8qme3qxg7gx. Includes core, all 25 core-test typecheck shards, scripts/test-root types, lint, formatting, dead-export checks, and runtime import-cycle checks. The comparison base was explicitly pinned because native Testbox hydration retained an older Git ref.

Fresh Codex autoreview of the final staged candidate (--mode local --base 3948a0fd1831d3f54ebcdc695bb59004d9eeac52 --max-priority P1): scoped-clean, no accepted/actionable findings. Published commit 48e5192d218d8d9f90382126ea28ea75f415d10c contains the reviewed source unchanged.

The broad run also exposed existing cost in two unchanged siblings: src/flows/doctor-health.test.ts (94 cases, 134.488s test time) and src/cli/update-cli/update-command-original-service.test.ts (67 cases, 132.840s). Isolated --maxWorkers=1 measurements passed at 118.724s and 109.206s of test time respectively (121.90s and 115.23s Vitest wall). Doctor's multi-agent repair table contributes 95.678s in the broad run; service recovery repeatedly checks original-state compatibility across awaited/native ownership boundaries. Both use scoped schema-reader child processes and real database fixtures. These are performance follow-ups for worker/fixture lifecycle ownership; no checks, assertions, timeouts, or coverage were weakened.

Production/tooling: +105 / −35 LOC. Tests/support: +294 / −18 LOC. Docs: +22 / −1 LOC. No new options, dependencies, schemas, suppressions, or baseline exceptions.

Initial Testbox single-file pnpm test <file> --maxWorkers=1 wall times: Git candidate 22.051s (53 cases), Git tags 7.478s (13), update execution 11.272s (45), runtime publication 10.950s (41), source runner 10.824s (123), build-all 7.253s (100), artifact ownership 21.806s (30), runner lifecycle 22.156s (5). The existing large CLI suite passed all 514 cases in 208.401s wall / 200.097s test time; its prior test time was 206.900s. A bounded fixture change avoids reopening a fresh copy of the initialized state database. Coordinator ruling assigns the existing suite's splitting/performance work to L1251; no regression was weakened, skipped, or moved to another tier.

Missing build provenance

Missing provenance is not evidence that a runtime is current. The no-op now requires a recorded commit matching HEAD, along with the existing target and activation checks. The snapshot no-op fixture from merge-ref CI run 36000116874 now supplies that affirmative provenance; an unknown build instead checks snapshot capacity before any mutable work. Native service authority and recovery verification remain unchanged.

New regressions reproduce source-current dev and stable checkouts whose executable runtime is from an older commit but whose build metadata has no commit. Both returned skipped/already-current before the fix. After the fix they build and validate a candidate, stop before promotion, run activation Doctor, record the target commit, and execute the new runtime. A second update is skipped/already-current with no second build or stop. The missing-provenance snapshot case also failed before the fix and now enforces the capacity gate.

The four focused files (Git snapshot, native service authority, Git candidate, and Git tags) passed 3×: 83 tests per pass, in 122.33s / 83.44s / 72.66s. Local node scripts/check-changed.mjs --base 3948a0fd1831d3f54ebcdc695bb59004d9eeac52 passed with exit 0, including all 25 core-test typecheck shards, core/scripts/test-root types, lint, ratchets, dead-export scans, and runtime guards.

Measured pnpm test <file> --maxWorkers=1: src/infra/update-runner-git-candidate.test.ts passed 55 cases in 120.08s command wall / 108.031s test time; src/cli/update-cli/update-command-git-snapshot.test.ts passed 3 cases in 15.98s command wall / 1.009s test time. The candidate suite exercises real Git repositories and executable promoted runtimes; the new unknown-provenance cases reuse that fixture and took 1.461s and 1.531s in the third focused pass.

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes scripts Repository scripts commands Command implementations size: M labels Sep 24, 2026
@steipete
steipete marked this pull request as ready for review September 24, 2026 03:57
@steipete
steipete enabled auto-merge (squash) September 24, 2026 04:00
@clawsweeper clawsweeper Bot added P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed September 24, 2026, 11:27 AM ET / 15:27 UTC (Revision 4).

ClawSweeper review

What this changes

The branch makes Git updates rebuild runtime artifacts when their recorded build commit is stale or absent, and adds managed-service checks around automatic source builds.

Merge readiness

⛔ Blocked before merge - 10 items remain

Keep open. Current main still skips a Git update when source is current but the runtime is stale, so this repair remains useful. The branch has relevant before-and-after update evidence, but its source launcher can rebuild shared runtime files while a different profile’s Gateway serves them, and the first update from the published driver still requires manual recovery.

Priority: P0
Reviewed head: 48e5192d218d8d9f90382126ea28ea75f415d10c
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The primary Git update has useful real-system evidence, but a cross-profile publication defect and the unaccepted first-hop limitation prevent merge readiness.
Proof confidence 🦐 gold shrimp (3/6) Needs stronger real behavior proof before merge: Authority-chain proof required: The captured PR body links an isolated systemd before/after update showing the repaired Git path replace an old Gateway with a matching built and serving identity. It does not show an offline selected profile succeeding, or a different profile serving the same checkout being denied before the launcher writes shared dist files. No stored-data contract changes. Add redacted final-effect output to the PR body; a body update should trigger re-review, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: Authority-chain proof required: The captured PR body links an isolated systemd before/after update showing the repaired Git path replace an old Gateway with a matching built and serving identity. It does not show an offline selected profile succeeding, or a different profile serving the same checkout being denied before the launcher writes shared dist files. No stored-data contract changes. Add redacted final-effect output to the PR body; a body update should trigger re-review, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 12 items Current main still has the reported skip: Both Git candidate no-op checks on fetched main compare the target SHA with the checkout SHA without considering the built commit.
Introduced no-op repair: The PR requires a recorded built commit matching the checkout before either Git no-op exit. Candidate tests cover stale and missing recorded commits.
Selected-profile publication authority: The new source-launcher path derives one profile from the CLI arguments and passes that profile’s environment to the publication guard before spawning the build.
Findings 3 actionable findings [P1] Fence other profiles before rebuilding shared runtime
[P1] Keep a safe first-update entrypoint reachable
[P3] Correct the later Git target-resolution step
Security Needs attention Shared runtime write crosses profile custody: An offline requested profile can pass the new publication check even when another profile has a live service rooted in the same checkout. The final build writes shared executable files without authority over that serving profile.

How this fits together

The Git updater compares the checkout with built-runtime metadata before staging a candidate. Update activation and the source launcher publish runtime files that a managed Gateway may already be using.

flowchart LR
A[Git checkout] --> C[Update preflight]
B[Build metadata] --> C
C -->|Stale or unknown| D[Candidate build]
C -->|Matching| G[Already current]
D --> E[Service publication check]
E --> F[Shared runtime files]
F --> H[Managed Gateway]
Loading

Decision needed

Question Recommendation
Can this update repair ship while the published 2026.9.5 driver still refuses the first affected update and requires a manual service stop, rebuild, and start? Repair the first hop: Provide a safe source or installed entrypoint that can recover the affected installation without manual rebuild steps.

Why: The PR proves that published-driver limitation and documents a workaround, but only maintainers can accept that user-facing upgrade tradeoff against the repository’s update contract.

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: Authority-chain proof required: The captured PR body links an isolated systemd before/after update showing the repaired Git path replace an old Gateway with a matching built and serving identity. It does not show an offline selected profile succeeding, or a different profile serving the same checkout being denied before the launcher writes shared dist files. No stored-data contract changes. Add redacted final-effect output to the PR body; a body update should trigger re-review, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Fence other profiles before rebuilding shared runtime (P1) - The new launcher passes only the requested profile to the publication guard. If that profile is offline but another profile’s managed Gateway serves the same checkout, the guard can allow the build to replace shared dist files beneath the running Gateway. Check every affected service before the final write and cover the different-profile case.
  • Keep a safe first-update entrypoint reachable (P1) - For the reported published 2026.9.5 install, direct openclaw.mjs update still runs the old built updater and exits 79. This new guard also refuses pnpm openclaw update before its source rebuild while the Gateway serves, leaving only manual stop/build/start recovery. Provide a safe first-hop path or obtain explicit acceptance of that upgrade break.
  • Correct the later Git target-resolution step (P3) - The later guide still says equal target and checkout SHAs always skip before staging. The new preflight deliberately builds when runtime provenance is stale or absent, so this step contradicts the corrected explanation above.
  • Resolve security concern: Shared runtime write crosses profile custody - An offline requested profile can pass the new publication check even when another profile has a live service rooted in the same checkout. The final build writes shared executable files without authority over that serving profile.
  • Resolve merge risk (P1) - A published 2026.9.5 updater still refuses the first affected update before candidate code runs; the documented recovery requires manually stopping the service, rebuilding, and starting it.
  • Resolve merge risk (P1) - The selected-profile publication check does not establish that every profile serving the shared checkout is offline before the launcher writes runtime files; allowed and different-profile final file effects remain unproven.
  • Complete next step (P2) - Fence every profile serving the shared checkout, provide allowed and different-profile final-effect proof, correct the target-resolution guide, and resolve the published-driver first-hop decision before merge.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.

Findings

  • [P1] Fence other profiles before rebuilding shared runtime — scripts/run-node.mts:1364-1373
  • [P1] Keep a safe first-update entrypoint reachable — scripts/run-node.mts:1615-1616
  • [P3] Correct the later Git target-resolution step — docs/cli/update/how-updates-run.md:777
  • [high] Shared runtime write crosses profile custody — scripts/run-node.mts:1368
Agent review details

Security

Needs attention: The source launcher’s selected-profile check can permit writes to shared runtime files while a different profile’s Gateway is running; no dependency or third-party execution change was found.

PR surface

Source +31, Tests +276, Docs +21, Other +39. Total +367 across 20 files.

View PR surface stats
Area Files Added Removed Net
Source 5 44 13 +31
Tests 13 294 18 +276
Docs 1 22 1 +21
Config 0 0 0 0
Generated 0 0 0 0
Other 1 61 22 +39
Total 20 421 54 +367

Review metrics

None.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/commands/doctor-stale-runtime-build.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #156893
Summary: This PR is the candidate repair for the reported Git build-identity skip. The separate stale-chunk PR concerns a later activation failure.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Repair both update paths (recommended)
    Make the first hop recover safely and fence every same-checkout profile before source publication, then prove allowed and forbidden final file effects.
  2. Accept the bootstrap limitation
    After fixing cross-profile publication, explicitly accept the documented manual recovery for already-published drivers.

Technical review

Best possible solution:

Give affected installs a safe first-hop recovery through a visible update or Fix flow, and make shared runtime publication wait for authority over every Gateway serving that checkout.

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

Yes. Current-main Git preflight has two source-SHA-only no-op exits, and the linked report plus PR body provide a concrete stale-runtime scenario; this read-only review did not execute it.

Is this the best way to solve the issue?

No. The build-provenance check belongs in Git preflight, but the source publication guard must cover other profiles sharing the checkout, and the published-driver first hop needs a safe recovery path or explicit maintainer acceptance.

Full review comments:

  • [P1] Fence other profiles before rebuilding shared runtime — scripts/run-node.mts:1364-1373
    The new launcher passes only the requested profile to the publication guard. If that profile is offline but another profile’s managed Gateway serves the same checkout, the guard can allow the build to replace shared dist files beneath the running Gateway. Check every affected service before the final write and cover the different-profile case.
    Confidence: 0.93
  • [P1] Keep a safe first-update entrypoint reachable — scripts/run-node.mts:1615-1616
    For the reported published 2026.9.5 install, direct openclaw.mjs update still runs the old built updater and exits 79. This new guard also refuses pnpm openclaw update before its source rebuild while the Gateway serves, leaving only manual stop/build/start recovery. Provide a safe first-hop path or obtain explicit acceptance of that upgrade break.
    Confidence: 0.87
  • [P3] Correct the later Git target-resolution step — docs/cli/update/how-updates-run.md:777
    The later guide still says equal target and checkout SHAs always skip before staging. The new preflight deliberately builds when runtime provenance is stale or absent, so this step contradicts the corrected explanation above.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.91

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P0: An affected user’s update remains blocked on the published driver, and recovery requires terminal-level service and build operations.
  • merge-risk: 🚨 compatibility: The new source-build guard removes a source-update route while the published updater still cannot handle the first affected update.
  • merge-risk: 🚨 security-boundary: Publication authority is checked for one profile even though runtime files are shared with other profiles.
  • merge-risk: 🚨 availability: A launcher rebuild can replace runtime files beneath a different profile’s serving Gateway.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: Authority-chain proof required: The captured PR body links an isolated systemd before/after update showing the repaired Git path replace an old Gateway with a matching built and serving identity. It does not show an offline selected profile succeeding, or a different profile serving the same checkout being denied before the launcher writes shared dist files. No stored-data contract changes. Add redacted final-effect output to the PR body; a body update should trigger re-review, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Security concerns:

  • [high] Shared runtime write crosses profile custody — scripts/run-node.mts:1368
    An offline requested profile can pass the new publication check even when another profile has a live service rooted in the same checkout. The final build writes shared executable files without authority over that serving profile.
    Confidence: 0.91

What I checked:

  • Current main still has the reported skip: Both Git candidate no-op checks on fetched main compare the target SHA with the checkout SHA without considering the built commit. (src/infra/update-runner-git-preflight.ts:603, 64b746503109)
  • Introduced no-op repair: The PR requires a recorded built commit matching the checkout before either Git no-op exit. Candidate tests cover stale and missing recorded commits. (src/infra/update-runner-git-preflight.ts:604, 48e5192d218d)
  • Selected-profile publication authority: The new source-launcher path derives one profile from the CLI arguments and passes that profile’s environment to the publication guard before spawning the build. (scripts/run-node.mts:1360, 48e5192d218d)
  • Different-profile Gateway remains unchecked: The publication guard reads the managed service selected by params.env; the native operation lock is also keyed by that service’s profile-specific identity. It does not inspect another profile serving the same checkout. (src/cli/update-cli/update-command-service-publication.ts:138, 48e5192d218d)
  • Profile proof gap: The new launcher test makes the service selected by the requested profile report running. It does not exercise a selected offline profile while a different profile serves the shared checkout. (src/cli/update-cli/update-command-service-publication.test.ts:99, 48e5192d218d)
  • Prior profile finding remains on unchanged source: The prior reviewed head and current head have identical blob IDs for scripts/run-node.mts, update-command-execution.ts, and update-command-service-publication.ts. Their cross-profile concern was already raised in the previous ClawSweeper review. (scripts/run-node.mts:1368, 48e5192d218d)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add final-effect proof for an allowed offline profile and the nearest forbidden serving profile, showing denial before shared runtime I/O.
  • Establish a safe first-hop recovery or obtain explicit maintainer acceptance of the documented manual bootstrap.
  • Align the later target-resolution documentation with the new build-provenance condition.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • 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.

History

Review history (3 earlier review cycles)
  • reviewed 2026-09-24T04:06:27.990Z sha 120c149 :: needs real behavior proof before merge. :: [P1] Keep the supported source update command reachable | [P3] Align the documented target-resolution step
  • reviewed 2026-09-24T12:46:32.153Z sha 5a3d1132a0320af7583643668291aaa2a7739dab :: needs real behavior proof before merge. :: [P1] Keep the supported source update command reachable | [P3] Align the documented target-resolution step
  • reviewed 2026-09-24T14:52:30.825Z sha 63aec1d :: needs real behavior proof before merge. :: [P1] Keep the source update command reachable | [P1] Fence every profile serving the shared checkout | [P3] Align the documented Git target-resolution step

@steipete
steipete enabled auto-merge (squash) September 24, 2026 15:22
@steipete
steipete merged commit bae1232 into main Sep 24, 2026
216 checks passed
@steipete
steipete deleted the upd/git-update-already-current-stale-dist branch September 24, 2026 15:38
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit '02ad6b76b1a2ee2b414b170072e6e3e606fda3d4': (134 commits)
  fix(build): scope normalization declarations to package sources (#157174)
  fix: exit after validating Codex model references (#157323)
  fix(gateway): guard workspace adoption during active work (#157259)
  fix(update): rebuild stale Git runtimes when source is already current (#156996)
  fix: require a click before diagnosing failed updates (#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (#157352)
  fix(skills): refresh skills after watched directories are replaced (#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (#157334)
  fix(gateway): retain owned suspension status during restart (#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (#157337)
  test(daemon): use the native PowerShell probe budget (#157289)
  fix(exec): avoid gateway stalls during background task writes (#157177)
  test(cli): isolate preaction title setter state
  fix(test): synchronize Git backoff cancellation readiness (#157315)
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit 'c4333da677cbdfe1bbaf783ed01c363ff39e93b8': (100 commits)
  fix(test): stop preflight mocks leaking into shared workers (#157207)
  fix(build): scope normalization declarations to package sources (#157174)
  fix: exit after validating Codex model references (#157323)
  fix(gateway): guard workspace adoption during active work (#157259)
  fix(update): rebuild stale Git runtimes when source is already current (#156996)
  fix: require a click before diagnosing failed updates (#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (#157352)
  fix(skills): refresh skills after watched directories are replaced (#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (#157334)
  fix(gateway): retain owned suspension status during restart (#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (#157337)
  test(daemon): use the native PowerShell probe budget (#157289)
  fix(exec): avoid gateway stalls during background task writes (#157177)
  test(cli): isolate preaction title setter state
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit '02ad6b76b1a2ee2b414b170072e6e3e606fda3d4': (122 commits)
  fix(build): scope normalization declarations to package sources (#157174)
  fix: exit after validating Codex model references (#157323)
  fix(gateway): guard workspace adoption during active work (#157259)
  fix(update): rebuild stale Git runtimes when source is already current (#156996)
  fix: require a click before diagnosing failed updates (#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (#157352)
  fix(skills): refresh skills after watched directories are replaced (#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (#157334)
  fix(gateway): retain owned suspension status during restart (#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (#157337)
  test(daemon): use the native PowerShell probe budget (#157289)
  fix(exec): avoid gateway stalls during background task writes (#157177)
  test(cli): isolate preaction title setter state
  fix(test): synchronize Git backoff cancellation readiness (#157315)
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* test(ui): cover stack-free tooltip disconnect cleanup

* fix(build): scope normalization declarations to package sources

Give normalization-core its own TypeScript project so declaration generation does not load the repository-wide source set. Preserve the existing DTS build command and compiler policy.

* Merge normalization declaration scope for tooltip proof

* commit '81aeccb3db80136a118d6d2f98b67d836ec25e51':
  fix(build): scope normalization declarations to package sources

* fix(ui): avoid retaining tooltip anchors in abort reasons

* Merge main to include native wrapper source inventory repair

* commit '02ad6b76b1a2ee2b414b170072e6e3e606fda3d4': (134 commits)
  fix(build): scope normalization declarations to package sources (#157174)
  fix: exit after validating Codex model references (#157323)
  fix(gateway): guard workspace adoption during active work (#157259)
  fix(update): rebuild stale Git runtimes when source is already current (#156996)
  fix: require a click before diagnosing failed updates (#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (#157352)
  fix(skills): refresh skills after watched directories are replaced (#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (#157334)
  fix(gateway): retain owned suspension status during restart (#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (#157337)
  test(daemon): use the native PowerShell probe budget (#157289)
  fix(exec): avoid gateway stalls during background task writes (#157177)
  test(cli): isolate preaction title setter state
  fix(test): synchronize Git backoff cancellation readiness (#157315)
  ...

Co-authored-by: Vincent Koc <[email protected]>
@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
openclaw#156996)

* fix(update): rebuild stale git runtimes through managed handoff

* fix(update): decide Git no-ops from build provenance

* fix(update): rebuild Git runtimes without provenance
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
* test(ui): cover stack-free tooltip disconnect cleanup

* fix(build): scope normalization declarations to package sources

Give normalization-core its own TypeScript project so declaration generation does not load the repository-wide source set. Preserve the existing DTS build command and compiler policy.

* Merge normalization declaration scope for tooltip proof

* commit '81aeccb3db80136a118d6d2f98b67d836ec25e51':
  fix(build): scope normalization declarations to package sources

* fix(ui): avoid retaining tooltip anchors in abort reasons

* Merge main to include native wrapper source inventory repair

* commit 'f11e16cd65951f284264bd202b49984e21091cf5': (134 commits)
  fix(build): scope normalization declarations to package sources (openclaw#157174)
  fix: exit after validating Codex model references (openclaw#157323)
  fix(gateway): guard workspace adoption during active work (openclaw#157259)
  fix(update): rebuild stale Git runtimes when source is already current (openclaw#156996)
  fix: require a click before diagnosing failed updates (openclaw#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (openclaw#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (openclaw#157352)
  fix(skills): refresh skills after watched directories are replaced (openclaw#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (openclaw#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (openclaw#157334)
  fix(gateway): retain owned suspension status during restart (openclaw#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (openclaw#157337)
  test(daemon): use the native PowerShell probe budget (openclaw#157289)
  fix(exec): avoid gateway stalls during background task writes (openclaw#157177)
  test(cli): isolate preaction title setter state
  fix(test): synchronize Git backoff cancellation readiness (openclaw#157315)
  ...

Co-authored-by: Vincent Koc <[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 commands Command implementations docs Improvements or additions to documentation merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: git update exits 79 as already-current when dist was built from another commit

1 participant