Skip to content

chore(oxfmt): Add comments for migrate overrides#18216

Merged
graphite-app[bot] merged 1 commit intomainfrom
01-19-chore_oxfmt_add_comments_for_migrate_overrides
Jan 19, 2026
Merged

chore(oxfmt): Add comments for migrate overrides#18216
graphite-app[bot] merged 1 commit intomainfrom
01-19-chore_oxfmt_add_comments_for_migrate_overrides

Conversation

@leaysgur
Copy link
Member

@leaysgur leaysgur commented Jan 19, 2026

Please refer to #18215 for details.

@github-actions github-actions bot added A-cli Area - CLI A-formatter Area - Formatter C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jan 19, 2026
@leaysgur leaysgur changed the title chore(oxfmt): Add comments for migrate overrides chore(oxfmt): Add comments for migrate overrides Jan 19, 2026
Copy link
Member Author

leaysgur commented Jan 19, 2026


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
Member

@Dunqing Dunqing left a comment

Choose a reason for hiding this comment

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

Can we throw a warning with brief information and include the issue link?

@graphite-app graphite-app bot changed the base branch from 01-19-fix_oxfmt_apply_editorconfig_root_with_oxfmtrc.overrides to graphite-base/18216 January 19, 2026 07:40
@graphite-app graphite-app bot force-pushed the 01-19-chore_oxfmt_add_comments_for_migrate_overrides branch from eef144f to f16abee Compare January 19, 2026 07:47
@graphite-app graphite-app bot force-pushed the graphite-base/18216 branch from 15a5fcc to 63df94b Compare January 19, 2026 07:47
@graphite-app graphite-app bot changed the base branch from graphite-base/18216 to main January 19, 2026 07:47
@graphite-app graphite-app bot force-pushed the 01-19-chore_oxfmt_add_comments_for_migrate_overrides branch from f16abee to 6e57199 Compare January 19, 2026 07:48
@graphite-app graphite-app bot changed the base branch from main to graphite-base/18216 January 19, 2026 09:17
@graphite-app graphite-app bot force-pushed the 01-19-chore_oxfmt_add_comments_for_migrate_overrides branch from 6e57199 to 3aad578 Compare January 19, 2026 09:25
@graphite-app graphite-app bot changed the base branch from graphite-base/18216 to main January 19, 2026 09:25
@graphite-app graphite-app bot force-pushed the 01-19-chore_oxfmt_add_comments_for_migrate_overrides branch from 3aad578 to b35ef39 Compare January 19, 2026 09:26
Copilot AI review requested due to automatic review settings January 19, 2026 09:46
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 addresses issue #18215 by updating the Prettier migration logic to acknowledge that overrides configuration is now supported in Oxfmt but cannot be automatically migrated. The change removes the code that previously skipped overrides with an error message during config iteration, and adds a TODO comment with a warning explaining why automatic migration isn't possible.

Changes:

  • Removed the conditional skip logic for overrides during Prettier config iteration
  • Added a TODO comment explaining the technical limitation (resolveConfig() doesn't include raw overrides)
  • Added an unconditional warning message directing users to issue #18215 for more information

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

@Dunqing Dunqing added the 0-merge Merge with Graphite Merge Queue label Jan 19, 2026
Copy link
Member

Dunqing commented Jan 19, 2026

Merge activity

graphite-app bot pushed a commit that referenced this pull request Jan 19, 2026
@graphite-app graphite-app bot force-pushed the 01-19-chore_oxfmt_add_comments_for_migrate_overrides branch from 460baa6 to 6c4c4c0 Compare January 19, 2026 10:39
graphite-app bot pushed a commit that referenced this pull request Jan 19, 2026
@graphite-app graphite-app bot force-pushed the 01-19-chore_oxfmt_add_comments_for_migrate_overrides branch from 6c4c4c0 to a77294e Compare January 19, 2026 10:43
@graphite-app graphite-app bot force-pushed the 01-19-chore_oxfmt_add_comments_for_migrate_overrides branch from a77294e to 9a5e3e2 Compare January 19, 2026 10:46
@graphite-app graphite-app bot merged commit 9a5e3e2 into main Jan 19, 2026
19 checks passed
@graphite-app graphite-app bot deleted the 01-19-chore_oxfmt_add_comments_for_migrate_overrides branch January 19, 2026 10:53
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-formatter Area - Formatter 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.

3 participants