Repository navigation
fix(docs): align locale navigation with split release tabs - #144037
Conversation
|
🦞👀 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. |
|
/clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed September 10, 2026, 8:50 AM ET / 12:50 UTC (Revision 3). ClawSweeper reviewWhat this changesAligns Chinese documentation labels with the separate Releases and Contributing tabs, removes the hidden QA channel from navigation, and updates publisher regression checks. Merge readiness✅ Ready for maintainer review This repair remains necessary on the fetched main revision. The patch addresses the navigation mismatch without an actionable introduced defect; the prior review also recorded no findings. Priority: P3 Review scores
Verification
How this fits togetherThe documentation publisher clones English navigation and overlays translated labels using shared page routes. These inputs determine the published language sidebars. flowchart LR
A[English navigation] --> C[Documentation publisher]
B[Chinese label overlay] --> C
C --> D[Localized sidebars]
E[Publisher contract checks] --> D
F[Channel visibility metadata] --> G[Navigation exposure checks]
A --> G
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -12, Docs +4. Total -8 across 3 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep English navigation authoritative, apply matching Chinese labels, and preserve ordered locale parity and the existing hidden-channel guard. Do we have a high-confidence way to reproduce the issue? Yes, from source: fetched main's English tabs contradict the publisher test's combined-tab expectations, and its Chinese overlay still combines those labels. No test execution is claimed. Is this the best way to solve the issue? Yes. Updating the existing overlay and publisher contract test addresses the mismatch directly; removing the QA navigation entry restores the existing visibility contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f41b7696c876. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
0a3cf24 to
0d90f95
Compare
|
/clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
|
At head Please restore an explicit ordered 56-route Contributing inventory with exact equality, and retain the last-five-tab assertion including Resolved by #144075, merged as |
|
Merged via squash.
|
## What Problem This Solves Cloud worker snapshots could be inspected and recovered in Settings, but operators could not start a build, rebuild a project image, or cancel an active build from that view. ## Why This Change Was Made Add Build snapshot with eligible-profile and Gateway-local repository selection, Rebuild using a recorded local project root, and confirmed cancellation through the existing environment methods. Group build environments with their snapshots, refresh worker inventory before image inventory, and poll every 10 seconds while a worker build or capture remains active. Preserve the observed worker state when image listing fails. Failed and orphaned builds remain visible with their existing worker error and count toward Needs attention; they do not keep polling or offer cancellation. Capture counts are deduplicated by lease ID. Pending build dialogs retain their errors, and profile-save notices direct operators to Snapshots after restart. Carry optional local project-root metadata through preparation and Crabbox allocation/listing, and include profile identity in the existing worker summary. Preserve main's computed project label for repository-backed sources; only local snapshots expose Gateway-local root metadata. No new RPCs, configuration options, database schema, or image reuse policy. The rebase retains #143893's pin, previous-generation, rollback, delete, and retention controls. ## User Impact Operators can prepare committed project snapshots without starting a session. Inline errors explain invalid selections and prepared-pool capacity. Rebuild uses ordinary preparation/reuse policy and does not force a capture when the existing image remains reusable. Images without a recorded local root omit Rebuild; the repository picker remains available for local checkouts. Cancellation explicitly asks to destroy the selected worker, including an unused ready reserve. It uses non-force destruction: the existing lifecycle owner checks attachment under the environment lock and retains failed/orphaned records. The earlier stale-cancellation review concern was rejected on that source evidence, and the review accepted the rejection. ## Evidence - Rebased onto #144002, which repairs the unrelated docs-navigation CI expectation. The previously failing navigation test now passes locally. - Expanded focused tests passed: 50 project-preparation/provider tests, 117 cloud-worker UI tests, four snapshot browser flows, and 23 Crabbox Gateway tests (194 total). - Changed-file `pnpm exec oxlint` passed. Core typechecking passed after narrowing the existing local/repository project union without casts or suppressions. - Independent review of the complete feature was scoped-clean at P0–P2. The new one-line project-variant integration repair also received a clean scoped review. - Asynchronous failure, capture polling, inventory ordering, and image-list failure regressions were each demonstrated failing before their repair and passing afterward. - Full `node scripts/check-changed.mjs` passed before the patch-identical rebase onto #144037. Post-rebase changed-file oxlint and all four focused snapshot test shards passed; both previously failing navigation assertions also passed. Exact-head CI [34480832658](https://github.com/openclaw/openclaw/actions/runs/34480832658) passed for `31306f3861d4ec0aee8b5de1bf2c2a0c89fa2d53`. Earlier CI exposed two settings E2E assertions expecting the old restart notice; those assertions now require the complete intended notice. The integrated pin/delete browser fixture supplies the valid empty worker inventory it consumes. A cancelled security workflow passed on its single retry; the later navigation failures were repaired upstream in #144002 and #144037. No checks or baselines were weakened. The additive optional provider-metadata compatibility risk is accepted within this reviewed change. Required fields, allocation identity, and preparation policy remain unchanged. Bundled-provider tests and core/plugin typechecks cover the changed boundary; arbitrary third-party providers were not exhaustively exercised. [Maintainer-provided live UI proof](#143929 (comment)) covers Build snapshot through available-image publication and surplus retirement. The Snapshots UI and project-preparation modules are byte-identical to that proof revision across this rebase. The cancelled Labeler automation passed on its single retry. ## Screenshots Mock Gateway fixture (synthetic profiles, one build in progress). | Before: Snapshots view (read-only) | After: Build snapshot, Rebuild, Cancel, and a build row | | --- | --- | |  |  | | After: build dialog | | --- | |  | The underlying `environments.prepare` path was proven live against Crabbox AWS in #143838 (build → capture → available → surplus retirement); this PR wires that method into the view. The rebase onto #144037 preserved both source commits unchanged by range-diff. No duplicate navigation/catalog repair was included in this PR.
Capture remote workspace files with at most four concurrent readers while preserving the existing opened-byte budget, growth checks, deterministic manifest/memo output, and publication boundary. Stop admission on the first failure, abort active streams, and join pending opens and handle cleanup before returning that original error. Three demonstrated red-to-green regressions, 17 focused cases, the full changed-file gate and independent review passed. Actual AWS/Linux proof completed 42 captures with independently verified output and complete resource cleanup. For 2,048 small files, producer capture medians improved 326.7 to 252.0 ms without memo and 177.5 to 120.3 ms with memo; larger-file observed completion was effectively unchanged. These measurements cover one VM with uncontrolled OS caches, not overall session startup. Extracted from #134931. The original CI merge failed on unrelated documentation navigation; #144037 repaired that shared prerequisite, and the qualified hashing commit was preserved for fresh merge CI.
Restore the exact ordered Contributing route inventory and the last-five-tab Gateway & Ops guard after #144037. Keep the #144021 split, translated Chinese overlay, hidden QA exclusion, and dynamic release-version checks intact. The real publisher mutation probe shows a removed qa-reporting route escaping the old sampled check and failing the restored guard. All 32 publisher/catalog tests, required changed checks, and independent P2 review passed. Preserves the fixed non-release inventory contract from #133652.
…144037) Align the Simplified Chinese navigation and publisher expectations with the English Releases/Contributing split. Remove the accidental QA-channel navigation entry while preserving its page, links, and explicit hidden-docs catalog guard. Preserves all 294 Chinese route occurrences. Independent review and exact-head CI passed; hosted logs confirm the formerly failing locale-navigation regression now passes. Co-authored-by: Dallin Romney <[email protected]>
## What Problem This Solves Cloud worker snapshots could be inspected and recovered in Settings, but operators could not start a build, rebuild a project image, or cancel an active build from that view. ## Why This Change Was Made Add Build snapshot with eligible-profile and Gateway-local repository selection, Rebuild using a recorded local project root, and confirmed cancellation through the existing environment methods. Group build environments with their snapshots, refresh worker inventory before image inventory, and poll every 10 seconds while a worker build or capture remains active. Preserve the observed worker state when image listing fails. Failed and orphaned builds remain visible with their existing worker error and count toward Needs attention; they do not keep polling or offer cancellation. Capture counts are deduplicated by lease ID. Pending build dialogs retain their errors, and profile-save notices direct operators to Snapshots after restart. Carry optional local project-root metadata through preparation and Crabbox allocation/listing, and include profile identity in the existing worker summary. Preserve main's computed project label for repository-backed sources; only local snapshots expose Gateway-local root metadata. No new RPCs, configuration options, database schema, or image reuse policy. The rebase retains openclaw#143893's pin, previous-generation, rollback, delete, and retention controls. ## User Impact Operators can prepare committed project snapshots without starting a session. Inline errors explain invalid selections and prepared-pool capacity. Rebuild uses ordinary preparation/reuse policy and does not force a capture when the existing image remains reusable. Images without a recorded local root omit Rebuild; the repository picker remains available for local checkouts. Cancellation explicitly asks to destroy the selected worker, including an unused ready reserve. It uses non-force destruction: the existing lifecycle owner checks attachment under the environment lock and retains failed/orphaned records. The earlier stale-cancellation review concern was rejected on that source evidence, and the review accepted the rejection. ## Evidence - Rebased onto openclaw#144002, which repairs the unrelated docs-navigation CI expectation. The previously failing navigation test now passes locally. - Expanded focused tests passed: 50 project-preparation/provider tests, 117 cloud-worker UI tests, four snapshot browser flows, and 23 Crabbox Gateway tests (194 total). - Changed-file `pnpm exec oxlint` passed. Core typechecking passed after narrowing the existing local/repository project union without casts or suppressions. - Independent review of the complete feature was scoped-clean at P0–P2. The new one-line project-variant integration repair also received a clean scoped review. - Asynchronous failure, capture polling, inventory ordering, and image-list failure regressions were each demonstrated failing before their repair and passing afterward. - Full `node scripts/check-changed.mjs` passed before the patch-identical rebase onto openclaw#144037. Post-rebase changed-file oxlint and all four focused snapshot test shards passed; both previously failing navigation assertions also passed. Exact-head CI [34480832658](https://github.com/openclaw/openclaw/actions/runs/34480832658) passed for `31306f3861d4ec0aee8b5de1bf2c2a0c89fa2d53`. Earlier CI exposed two settings E2E assertions expecting the old restart notice; those assertions now require the complete intended notice. The integrated pin/delete browser fixture supplies the valid empty worker inventory it consumes. A cancelled security workflow passed on its single retry; the later navigation failures were repaired upstream in openclaw#144002 and openclaw#144037. No checks or baselines were weakened. The additive optional provider-metadata compatibility risk is accepted within this reviewed change. Required fields, allocation identity, and preparation policy remain unchanged. Bundled-provider tests and core/plugin typechecks cover the changed boundary; arbitrary third-party providers were not exhaustively exercised. [Maintainer-provided live UI proof](openclaw#143929 (comment)) covers Build snapshot through available-image publication and surplus retirement. The Snapshots UI and project-preparation modules are byte-identical to that proof revision across this rebase. The cancelled Labeler automation passed on its single retry. ## Screenshots Mock Gateway fixture (synthetic profiles, one build in progress). | Before: Snapshots view (read-only) | After: Build snapshot, Rebuild, Cancel, and a build row | | --- | --- | |  |  | | After: build dialog | | --- | |  | The underlying `environments.prepare` path was proven live against Crabbox AWS in openclaw#143838 (build → capture → available → surplus retirement); this PR wires that method into the view. The rebase onto openclaw#144037 preserved both source commits unchanged by range-diff. No duplicate navigation/catalog repair was included in this PR.
Capture remote workspace files with at most four concurrent readers while preserving the existing opened-byte budget, growth checks, deterministic manifest/memo output, and publication boundary. Stop admission on the first failure, abort active streams, and join pending opens and handle cleanup before returning that original error. Three demonstrated red-to-green regressions, 17 focused cases, the full changed-file gate and independent review passed. Actual AWS/Linux proof completed 42 captures with independently verified output and complete resource cleanup. For 2,048 small files, producer capture medians improved 326.7 to 252.0 ms without memo and 177.5 to 120.3 ms with memo; larger-file observed completion was effectively unchanged. These measurements cover one VM with uncontrolled OS caches, not overall session startup. Extracted from openclaw#134931. The original CI merge failed on unrelated documentation navigation; openclaw#144037 repaired that shared prerequisite, and the qualified hashing commit was preserved for fresh merge CI.
Restore the exact ordered Contributing route inventory and the last-five-tab Gateway & Ops guard after openclaw#144037. Keep the openclaw#144021 split, translated Chinese overlay, hidden QA exclusion, and dynamic release-version checks intact. The real publisher mutation probe shows a removed qa-reporting route escaping the old sampled check and failing the restored guard. All 32 publisher/catalog tests, required changed checks, and independent P2 review passed. Preserves the fixed non-release inventory contract from openclaw#133652.
Related: #144021. Restores the documentation checks blocking #144017 and other PRs.
What Problem This Solves
The English navigation was split into Releases and Contributing, but the Simplified Chinese overlay and publisher test still expected the combined tab. The reorganization also exposed the private QA channel in navigation despite its explicit hidden-docs setting.
Why This Change Was Made
Split the Chinese labels to match the English layout, and validate the release and contributor route sets independently. Remove only the accidental QA navigation entry, preserving its page and existing links and keeping the catalog exposure guard intact.
User Impact
Chinese navigation uses the matching release/contributor labels, and the documentation regression checks cover the current layout. Internal QA transport docs stay outside advertised navigation.
Evidence
Author validation:
Maintainer verification: a fresh independent P2 review found no actionable issue. A direct JSON comparison confirmed all 294 Chinese route occurrences are preserved; the sole English navigation removal is
channels/qa-channel, whose unchanged manifest declareschannel.exposure.docs: false. The page and inbound links are unchanged.Current head:
0d90f952ad90403eb1886499164b8a9c49573abc. Its replacement CI run passed. The actual tested merge tree and the formerly failing locale-navigation test were independently verified; the prior head's catalog failure is preserved in the review evidence. No checks or allowlists were weakened.