Skip to content

fix: use source lists for extraction on Windows - #109

Merged
longlho merged 1 commit into
mainfrom
codex/windows-extract-source-list
Sep 18, 2026
Merged

longlho merged 1 commit into
mainfrom
codex/windows-extract-source-list

Conversation

@longlho

@longlho longlho commented Sep 18, 2026

Copy link
Copy Markdown
Member

Large extraction targets exceed Windows' 32,767-character process command-line limit before the FormatJS CLI can start. Pass source paths through the CLI's newline-delimited --in-file input instead of positional arguments.

Add a regression with 512 generated source paths containing spaces and compare the extracted catalog with the existing fixture. Run it in the Windows CI job as well as the regular test suite. On native Windows Server 2025, the regression fails before this change with command is longer than CreateProcessW's limit (32767 characters) and passes afterward.

@longlho
longlho marked this pull request as ready for review September 18, 2026 20:38
@longlho
longlho merged commit 63ffb39 into main Sep 18, 2026
9 checks passed
@longlho
longlho deleted the codex/windows-extract-source-list branch September 18, 2026 20:38
longlho pushed a commit that referenced this pull request Sep 18, 2026
🤖 I have created a release *beep* *boop*
---


## 0.12.3 (2026-09-18)

## What's Changed
* fix: use source lists for extraction on Windows by @longlho in
#109
* chore(deps): update dependency oxfmt to ^0.67.0 by @renovate[bot] in
#107
* chore(deps): update pnpm to v12.4.1 by @renovate[bot] in
#108


**Full Changelog**:
v0.12.2...v0.12.3

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant