Skip to content

fix(tools): make just ast work on Windows#15704

Merged
graphite-app[bot] merged 1 commit intomainfrom
11-14-fix_tools_make_just_ast_work_on_windows
Nov 14, 2025
Merged

fix(tools): make just ast work on Windows#15704
graphite-app[bot] merged 1 commit intomainfrom
11-14-fix_tools_make_just_ast_work_on_windows

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Nov 14, 2025

According to Claude, just ast in its current form will not work on Windows, as PowerShell does not support ( ... ) for command groupings. Switch to { ... }.

This script was added in #15565. Copilot writes it, Claude critiques it!

@github-actions github-actions bot added the C-bug Category - Bug label Nov 14, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review November 14, 2025 18:51
Copilot AI review requested due to automatic review settings November 14, 2025 18:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the just ast command to work correctly on Windows by updating the shell syntax to be PowerShell-compatible. The issue was that PowerShell doesn't support ( ... ) for command groupings.

Key changes:

  • Updated command grouping syntax from ( ... ) to { ... } in the ast recipe
  • Added semicolon as command terminator within the braces

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@overlookmotel
Copy link
Member Author

I don't know about Windows, but it works on Mac. Don't want to bother anyone with reviewing, so merging.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Nov 14, 2025
Copy link
Member Author

overlookmotel commented Nov 14, 2025

Merge activity

According to Claude, `just ast` in its current form will not work on Windows, as PowerShell does not support `( ... )` for command groupings. Switch to `{ ... }`.

This script was added in #15565. Copilot writes it, Claude critiques it!
@graphite-app graphite-app bot force-pushed the 11-14-fix_tools_make_just_ast_work_on_windows branch from 66a028d to e49d428 Compare November 14, 2025 18:59
@graphite-app graphite-app bot merged commit e49d428 into main Nov 14, 2025
18 checks passed
@graphite-app graphite-app bot deleted the 11-14-fix_tools_make_just_ast_work_on_windows branch November 14, 2025 19:05
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Nov 14, 2025
taearls pushed a commit to taearls/oxc that referenced this pull request Dec 11, 2025
According to Claude, `just ast` in its current form will not work on Windows, as PowerShell does not support `( ... )` for command groupings. Switch to `{ ... }`.

This script was added in oxc-project#15565. Copilot writes it, Claude critiques it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants