Repository navigation
fix(update): preserve Windows inspection path identities - #174471
Merged
Merged
Conversation
Supplemental backup discovery resolves realpaths for databases the update inventory already knows. With a namespaced Windows state root this added a plain alias to the published versions response, breaking the exact-path contract used by rollback verification. Merge only previously unknown supplemental identities. Keep explicitly registered aliases and newly discovered retained plugin databases. Update behavior: namespaced state roots keep their original inspection and rehearsal identities without losing retained plugin coverage. Physical snapshot deduplication, schema checks, and rollback safeguards stay intact. The new path.win32 inspection regression fails before and passes after (3.23s test, 108.95s runner including cold worker preparation). Core and infra test types, scoped lint, formatting, and P2 autoreview pass. Nearby snapshot/inventory files: 42 passed, 4 native Windows cases skipped on macOS (181.64s runner). Native Windows proof remains for PR CI.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
steipete
marked this pull request as ready for review
October 16, 2026 17:14
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
vincentkoc
added a commit
that referenced
this pull request
Oct 16, 2026
…158510 * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402)
vincentkoc
added a commit
that referenced
this pull request
Oct 16, 2026
…esafe-decision-native * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402) # Conflicts: # src/agents/decision-inference.integration.test.ts
vincentkoc
added a commit
that referenced
this pull request
Oct 16, 2026
…/decision-tool-v2-proof-20261016 * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402) # Conflicts: # docs/plugins/sdk-overview/capabilities.md
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 17, 2026
…4471) Supplemental backup discovery resolves realpaths for databases the update inventory already knows. With a namespaced Windows state root this added a plain alias to the published versions response, breaking the exact-path contract used by rollback verification. Merge only previously unknown supplemental identities. Keep explicitly registered aliases and newly discovered retained plugin databases. Update behavior: namespaced state roots keep their original inspection and rehearsal identities without losing retained plugin coverage. Physical snapshot deduplication, schema checks, and rollback safeguards stay intact. The new path.win32 inspection regression fails before and passes after (3.23s test, 108.95s runner including cold worker preparation). Core and infra test types, scoped lint, formatting, and P2 autoreview pass. Nearby snapshot/inventory files: 42 passed, 4 native Windows cases skipped on macOS (181.64s runner). Native Windows proof remains for PR CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #174315
What Problem This Solves
Windows update inspection adds a plain database-path alias when the state root uses an extended-length path. This changes the exact version inventory used to compare rollback baselines and breaks the existing namespaced-state regression.
User Impact
Updates preserve the existing database path identities while still discovering retained plugin databases. Physical snapshots continue to copy each identity once, and explicitly registered aliases remain available to older updater and Doctor rollback comparisons. No migration, schema, or configuration change is required.
Why This Change Was Made
#174315 correctly added retained plugin discovery to SQLite update inspection. Its backup discovery also returns canonical realpaths for databases the updater already found, adding a plain Windows spelling beside the original namespaced path. The update inventory owner now accepts only new supplemental identities; registry discovery keeps its separate raw-alias contract.
The production change is a membership check at the existing inventory merge. No retry, timeout, suppression, or assertion changes. A new host-independent test exercises the production inspection entry point with
path.win32and fixed filesystem/header I/O, checking both stable published paths and inclusion of a newly discovered plugin database. The native Windows tests are unchanged.Evidence
0f6f06339f28reproduces the unwanted extra plain alias in the new regression. It fails before the repair and passes after it.pnpm test src/infra/update-candidate-state.discovery.windows.test.ts --maxWorkers=1: before 122.77s wall; after 108.95s wall, including a 73.64s cold worker build. The repaired test body takes 3.23s.Platform limit: local proof uses Node 24 on macOS with Windows path semantics. The four native Windows integration cases require Windows and are not claimed as locally executed; the original CI failure and its three passing sibling cases were inspected from job 117080971334. PR CI supplies broad and native-platform proof.