Repository navigation
fix(types): restore docs sync test typecheck - #109372
Merged
Merged
Conversation
Member
Author
|
@clawsweeper re-review |
Contributor
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
This was referenced Jul 16, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 17, 2026
zooqueen
pushed a commit
to zooqueen/openclaw
that referenced
this pull request
Sep 11, 2026
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.
What Problem This Solves
Resolves a problem where the
check-test-typeslane fails for docs sync tests afterpruneOrphanLocaleDocsbecame a tested module export. The regression is present independently on currentmain, not introduced by the PR where it was first observed.Why This Change Was Made
Declares the existing runtime export in the script's companion
.d.mtscontract. This keeps TypeScript's.mjsresolution aligned with the implementation without changing runtime behavior or CI caching.User Impact
Maintainers and contributors can run the root test-type program without the false missing-export error. There is no product runtime behavior change.
Evidence
check-test-typesjob https://github.com/openclaw/openclaw/actions/runs/29536178574/job/87749395940 failed attest/scripts/docs-sync-publish.test.ts:5with TS2305.node scripts/run-vitest.mjs test/scripts/docs-sync-publish.test.ts— 1 file, 3 tests passed.pnpm tsgo:test:root— passed; run https://github.com/openclaw/openclaw/actions/runs/29537396417.check:changed— passed, including formatting,tsgo:scripts, guards, and targeted lint.git diff --check— passed.AI-assisted: yes. The one-line declaration and its implementation contract were inspected directly.