Skip to content

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Dec 8, 2025

Toml formatting is missing but there's only a few toml files, can wait
for oxfmt plugins.

Copilot AI review requested due to automatic review settings December 8, 2025 10:40
@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Dec 8, 2025
@Boshen Boshen marked this pull request as draft December 8, 2025 10:40
Copy link
Member Author

Boshen commented Dec 8, 2025


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.

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 migrates the project's formatting infrastructure from dprint to oxfmt, completing the transition to using oxfmt for all supported file types (JavaScript, TypeScript, JSON, YAML, Markdown, CSS, HTML, etc.). TOML formatting is acknowledged as missing but deferred until oxfmt plugin support is available.

Key Changes:

  • Removed dprint as a project dependency and deleted its configuration
  • Updated oxfmtrc.jsonc with additional ignore patterns for CHANGELOG.md, snapshot files, and pnpm-lock.yaml
  • Updated all GitHub workflows to remove dprint installation and caching steps

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
oxfmtrc.jsonc Added ignore patterns for CHANGELOG.md, *.snap.md files, and pnpm-lock.yaml
justfile Removed dprint from init command and fmt recipe; updated documentation comments
dprint.json Deleted entire dprint configuration file
AGENTS.md Removed dprint from the list of pre-installed tools
.github/workflows/update_submodules.yml Removed dprint from tools list
.github/workflows/dprint.yml Deleted entire workflow for dprint plugin caching
.github/workflows/copilot-setup-steps.yml Removed dprint tool installation and cache restoration steps
.github/workflows/autofix.yml Removed dprint tool installation and cache restoration steps

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

@Boshen Boshen force-pushed the 12-08-chore_infra_use_oxfmt_for_all_files_remove_dprint branch from 0723a18 to 42ffa36 Compare December 8, 2025 12:42
@github-actions github-actions bot added A-linter Area - Linter A-parser Area - Parser A-cli Area - CLI A-minifier Area - Minifier A-transformer Area - Transformer / Transpiler A-editor Area - Editor and Language Server A-formatter Area - Formatter A-linter-plugins Area - Linter JS plugins labels Dec 8, 2025
@Boshen Boshen force-pushed the 12-08-chore_infra_use_oxfmt_for_all_files_remove_dprint branch 7 times, most recently from 720ec81 to 542cfd6 Compare December 15, 2025 11:48
@Boshen Boshen marked this pull request as ready for review December 15, 2025 11:57
@Boshen Boshen requested a review from camc314 as a code owner December 15, 2025 11:57
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Dec 15, 2025
Copy link
Member Author

Boshen commented Dec 15, 2025

Merge activity

  • Dec 15, 11:58 AM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 15, 11:58 AM UTC: This pull request can not be added to the Graphite merge queue. Please try rebasing and resubmitting to merge when ready.
  • Dec 15, 11:58 AM UTC: Graphite disabled "merge when ready" on this PR due to: a merge conflict with the target branch; resolve the conflict and try again..
  • Dec 15, 11:58 AM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 15, 12:05 PM UTC: Boshen added this pull request to the Graphite merge queue.
  • Dec 15, 12:12 PM UTC: Merged by the Graphite merge queue.

@Boshen Boshen force-pushed the 12-08-chore_infra_use_oxfmt_for_all_files_remove_dprint branch from 542cfd6 to aa42950 Compare December 15, 2025 11:59
Toml formatting is missing but there's only a few toml files, can wait
for oxfmt plugins.

- [x] Something is slow, can't figure out why, need #16607
@graphite-app graphite-app bot force-pushed the 12-08-chore_infra_use_oxfmt_for_all_files_remove_dprint branch from aa42950 to 6fca2f7 Compare December 15, 2025 12:06
@graphite-app graphite-app bot merged commit 6fca2f7 into main Dec 15, 2025
21 of 22 checks passed
@graphite-app graphite-app bot deleted the 12-08-chore_infra_use_oxfmt_for_all_files_remove_dprint branch December 15, 2025 12:12
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-editor Area - Editor and Language Server A-formatter Area - Formatter A-linter Area - Linter A-linter-plugins Area - Linter JS plugins A-minifier Area - Minifier A-parser Area - Parser A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants