Skip to content

fix(test): accept release subpages in docs route shape - #140337

Merged
steipete merged 1 commit into
mainfrom
steipete/fix-docs-release-subpage-test
Sep 6, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/fix-docs-release-subpage-test

Conversation

@steipete

@steipete steipete commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Related: #140319, #140331

What Problem This Solves

Fixes the docs navigation test failure after #140319 split the v2026.8.1 release page into subpages. The existing guard accepts only a bare version route and rejects valid routes such as releases/2026.8.1/installation-and-onboarding, making unrelated main-based CI fail.

Why This Change Was Made

Accept either a version route or that route plus one lowercase alphanumeric/hyphenated slug. Preserve the unpinned release list, index-first ordering, minimum length, locale alignment, and duplicate-route checks. Explicitly reject an invalid version and a second subpage level with the same pattern used for actual navigation.

User Impact

Restores the intended release-navigation check without changing published docs or runtime behavior. This is a maintainer-assigned CI repair. Production/tooling/docs delta is zero; test delta is +3 (+5/−2).

Evidence

  • Before the repair, node scripts/run-vitest.mjs test/scripts/docs-sync-publish.test.ts reproduced the real navigation failure: 1 failed, 9 passed.
  • After the repair, the same command passed all 10 tests.
  • Bogus releases/not-a-version and deeper releases/2026.8.1/memory/nested routes remain rejected.
  • pnpm check:changed: passed the complete selected gate.
  • Independent Codex P0–P2 autoreview: scoped-clean, no accepted/actionable findings.
  • No production, snapshot, inventory, suppression, dependency, or lockfile changes. No build required for this test-only fix.

@clawsweeper

clawsweeper Bot commented Sep 6, 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.

@steipete
steipete force-pushed the steipete/fix-docs-release-subpage-test branch from 9ebe835 to 20673ed Compare September 6, 2026 17:52
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 6, 2026
@clawsweeper

clawsweeper Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 6, 2026, 1:57 PM ET / 17:57 UTC.

ClawSweeper review

What this changes

Updates the docs navigation test to accept release-version subpages while retaining checks against malformed versions and deeper routes.

Merge readiness

✅ Ready for maintainer review

This remains a useful, narrowly scoped repair: fetched main still rejects valid release subpages. No actionable patch defects were found, and the maintainer-protected PR should remain open for normal landing.

Priority: P2
Reviewed head: 20673ed72fb87e2c428b69bfa07b33ccb0e2cf79

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-supported repair with reported before/after validation and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored test repair changes no production behavior; its body reports focused before/after validation against actual docs navigation, and the external-contributor runtime-proof gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored test repair changes no production behavior; its body reports focused before/after validation against actual docs navigation, and the external-contributor runtime-proof gate does not apply.
Evidence reviewed 7 items Pinned introduced change: The independently inspected merge-base-to-head diff only adjusts the release-route assertion and adds two negative controls; surrounding navigation safeguards remain unchanged.
Repair remains necessary on fetched main: Fetched main still requires every release route after the index to end immediately after the numeric version.
Actual navigation supplies the failing input: English navigation contains releases/2026.8.1/installation-and-onboarding and other single-level subpages, including hyphenated numeric pagination slugs accepted by the proposed expression.
Findings None None.
Security None None.

How this fits together

The docs publisher builds localized navigation from the English navigation configuration. This test checks the resulting release routes, ordering, uniqueness, and alignment across languages.

flowchart LR
  A[English docs navigation] --> B[Compose localized navigation]
  B --> C[Collect release routes]
  C --> D[Validate version and optional subpage]
  D --> E[Check ordering and uniqueness]
  E --> F[Verify locale alignment]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +3. Total +3 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 5 2 +3
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 5 2 +3

Review metrics

None.

Root-cause cluster

Relationship: canonical
Canonical: #140337
Summary: This is the identified navigation-test repair; related runtime and UI PRs encounter the failure but implement distinct work.

Members:

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

Technical review

Best possible solution:

Keep the navigation guard aligned with accepted release subpages while preserving locale, ordering, and duplicate-route invariants.

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

Yes, from source: current-main navigation supplies single-level release subpages that its version-only assertion necessarily rejects. Tests were not executed during this read-only review.

Is this the best way to solve the issue?

Yes. Extending the existing guard to the accepted route shape is a narrow repair, and the two negative controls preserve meaningful rejection boundaries.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 813b509ef147.

Labels

Label changes:

  • add P2: This is a bounded repair to an incorrect navigation contract assertion, with no production runtime change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored test repair changes no production behavior; its body reports focused before/after validation against actual docs navigation, and the external-contributor runtime-proof gate does not apply.

Label justifications:

  • P2: This is a bounded repair to an incorrect navigation contract assertion, with no production runtime change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored test repair changes no production behavior; its body reports focused before/after validation against actual docs navigation, and the external-contributor runtime-proof gate does not apply.

Evidence

What I checked:

Likely related people:

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

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.

@steipete
steipete merged commit 96bf365 into main Sep 6, 2026
124 of 125 checks passed
@steipete
steipete deleted the steipete/fix-docs-release-subpage-test branch September 6, 2026 18:03
@steipete

steipete commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

steipete added a commit that referenced this pull request Sep 6, 2026
Pick up the already-landed test correction from 96bf365 (#140337) to repair the inherited merge-target CI failure. Production source is unchanged.
steipete added a commit to edenfunf/moltbot that referenced this pull request Sep 6, 2026
Merge openclaw#140337 so docs navigation validation accepts actual release subpages.
Preserve all 17 performance files and original contributor ancestry.
Keep allocation evidence bound to bd16 and the separate seconds/RSS pair
bound to 83b; no performance measurement was repeated for this integration.

Co-authored-by: xuyuanhao <[email protected]>
steipete added a commit to ooiuuii/openclaw that referenced this pull request Sep 6, 2026
Incorporate the canonical openclaw#140337 repair for the actual docs route test
failure while preserving the reviewed CLI quoted-record fix and all
upstream changes. The scoped production delta remains net -5 lines.

Co-authored-by: luyifan <[email protected]>
steipete added a commit to ly85206559/openclaw that referenced this pull request Sep 6, 2026
Merge the canonical docs route test repair from openclaw#140337 after the
published-head CI failure. Preserve the local response projection fix,
its reviewed test fixture, and all contributor ancestry.

Co-authored-by: ben.li <[email protected]>
vincentkoc added a commit that referenced this pull request Sep 6, 2026
* origin/main: (25 commits)
  docs(releases): keep the release-notes nav group to version routes (#140353)
  fix(ui): hide trust wrappers in imported chat history
  fix(subagents): subagent list building decodes unrelated saved prompts in large session stores (#139540)
  test(process): share relay startup fixtures (#140345)
  refactor(doctor): inline GitHub skill discovery inputs (#140343)
  refactor(ui): share channel status type definitions (#140331)
  refactor: simplify queue state and infrastructure dispatch (#140311)
  fix: require saved agent turns before update verification succeeds (#140274)
  fix(update): keep the service profile when switching to Git (#140263)
  fix(ui): prevent image avatars overlapping mobile chat (#140341)
  fix(test): accept release subpages in docs route shape (#140337)
  refactor(plugins): share uninstall mutation ownership (#140322)
  refactor(agents): use canonical tool execution arguments (#140280)
  perf(cli): keep inference metadata and domain help lazy (#140327)
  refactor(plugins): simplify self-hosted setup results (#140332)
  refactor(config): reuse parent lookup for unset operations (#140326)
  fix(plugins): preserve exact installed-index mutation receipts (#140328)
  test(agents): simplify MCP and LSP boundary fixtures (#140312)
  fix(ui): preserve literal source previews and copied whitespace (#140306)
  fix: OpenCode Go/Zen requests are missing the required x-opencode-session header (#137464)
  ...
steipete added a commit that referenced this pull request Sep 6, 2026
* perf(cron): skip validation of absent delivery fields

* fix(cron): yield between system job convergence mutations

Let I/O progress between settled heartbeat and skill-review monitor
mutations. Recheck the existing reconciliation guard after each turn,
before entering wrappers that can stop owners ahead of the database guard.
Preserve duplicate/upsert/stale order and per-row failure isolation.

Regression proof: 13 scheduling and lifecycle cases fail before the change;
all 150 affected tests pass on Node 26.7 Linux afterward.

* test(cron): use typed convergence fixtures and public reads

* test(cron): satisfy convergence test lint rules

* test(cron): await scheduled reconciliation results

* test: accept release subpages in docs route shape

Pick up the already-landed test correction from 96bf365 (#140337) to repair the inherited merge-target CI failure. Production source is unchanged.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
* perf(cron): skip validation of absent delivery fields

* fix(cron): yield between system job convergence mutations

Let I/O progress between settled heartbeat and skill-review monitor
mutations. Recheck the existing reconciliation guard after each turn,
before entering wrappers that can stop owners ahead of the database guard.
Preserve duplicate/upsert/stale order and per-row failure isolation.

Regression proof: 13 scheduling and lifecycle cases fail before the change;
all 150 affected tests pass on Node 26.7 Linux afterward.

* test(cron): use typed convergence fixtures and public reads

* test(cron): satisfy convergence test lint rules

* test(cron): await scheduled reconciliation results

* test: accept release subpages in docs route shape

Pick up the already-landed test correction from 4413c7c (openclaw#140337) to repair the inherited merge-target CI failure. Production source is unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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.

1 participant