Skip to content

build(docs): finish PowerShell-safe docs formatting#93512

Merged
vincentkoc merged 1 commit into
mainfrom
clownfish/ghcrawl-156809-autonomous-smoke
Jun 16, 2026
Merged

build(docs): finish PowerShell-safe docs formatting#93512
vincentkoc merged 1 commit into
mainfrom
clownfish/ghcrawl-156809-autonomous-smoke

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Fixes #44293.

This replacement carries forward the useful work from #44824, #48887, and #49913 with attribution to @tianxingleo, @soyames, and @yil337. The previous PR branches are closed/unmerged or uneditable, so Clownfish should land the narrow remaining fix separately while preserving source PR credit.

Planned changes:

  • keep format:docs and format:docs:check routed through the shared docs formatter helper;
  • invoke the npm-installed oxfmt shim safely on Windows, including .cmd handling;
  • preserve command-line batching/chunking for large doc sets;
  • print explicit spawn diagnostics for git and oxfmt failures;
  • add focused tests for mode selection, batching, spawn-error handling, and Windows shell/shim behavior.

Validation:

  • pnpm -s vitest run test/scripts/format-docs.test.ts
  • pnpm format:docs:check
  • pnpm check:changed

Clownfish 🐠 replacement reef notes:

fish notes: model gpt-5.5, reasoning medium; reviewed against 5522f06.

Co-authored-by: tianxingleo <[email protected]>

Co-authored-by: Yao Amevi A. Sossou <[email protected]>

Co-authored-by: yil337 <[email protected]>
@vincentkoc vincentkoc added the clownfish Tracked by Clownfish automation label Jun 16, 2026
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Jun 16, 2026
@vincentkoc
vincentkoc merged commit add00d7 into main Jun 16, 2026
18 of 22 checks passed
@openclaw-barnacle openclaw-barnacle Bot added size: M maintainer Maintainer-authored PR labels Jun 16, 2026
@vincentkoc
vincentkoc deleted the clownfish/ghcrawl-156809-autonomous-smoke branch June 16, 2026 06:19
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jun 17, 2026
Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>
Co-authored-by: yil337 <[email protected]>
crh-code pushed a commit to crh-code/openclaw that referenced this pull request Jun 18, 2026
Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>
Co-authored-by: yil337 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clownfish Tracked by Clownfish automation maintainer Maintainer-authored PR scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make pnpm check:docs work in native PowerShell

1 participant