Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Mar 25, 2025

Improve handling of parsing/formatting errors in outputs.

Previously would panic or output an empty file, which made debugging what was causing the problem difficult. Instead output the unformatted source, so can look at it and figure out what's wrong.

Copy link
Member Author

overlookmotel commented Mar 25, 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.

@github-actions github-actions bot added A-ast-tools Area - AST tools C-enhancement Category - New feature or request labels Mar 25, 2025
@overlookmotel overlookmotel marked this pull request as ready for review March 25, 2025 03:56
@overlookmotel
Copy link
Member Author

Does not alter generated code, only improves behavior under error conditions. So merging without review.

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

overlookmotel commented Mar 25, 2025

Merge activity

  • Mar 25, 12:00 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Mar 25, 12:01 AM EDT: A user added this pull request to the Graphite merge queue.
  • Mar 25, 12:08 AM EDT: The Graphite merge queue removed this pull request due to downstack failures on PR #10024.
  • Mar 25, 4:08 AM UTC: The Graphite merge queue removed this pull request due to downstack failures on PR #10024.
  • Mar 25, 12:26 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Mar 25, 12:36 AM EDT: A user added this pull request to the Graphite merge queue.
  • Mar 25, 12:44 AM EDT: A user merged this pull request with the Graphite merge queue.

@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 25, 2025
@overlookmotel overlookmotel force-pushed the 03-25-refactor_ast_tools_move_ident_name_function_to_utils_module branch from 01563d0 to 324e443 Compare March 25, 2025 04:26
@overlookmotel overlookmotel force-pushed the 03-25-feat_ast_tools_better_handling_of_formatting_errors branch from 6059a86 to 9601dcc Compare March 25, 2025 04:26
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Mar 25, 2025
Improve handling of parsing/formatting errors in outputs.

Previously would panic or output an empty file, which made debugging what was causing the problem difficult. Instead output the unformatted source, so can look at it and figure out what's wrong.
@graphite-app graphite-app bot force-pushed the 03-25-refactor_ast_tools_move_ident_name_function_to_utils_module branch from 324e443 to 196fc6a Compare March 25, 2025 04:36
@graphite-app graphite-app bot force-pushed the 03-25-feat_ast_tools_better_handling_of_formatting_errors branch from 9601dcc to 68ee796 Compare March 25, 2025 04:37
Base automatically changed from 03-25-refactor_ast_tools_move_ident_name_function_to_utils_module to main March 25, 2025 04:43
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 25, 2025
@graphite-app graphite-app bot merged commit 68ee796 into main Mar 25, 2025
15 checks passed
@graphite-app graphite-app bot deleted the 03-25-feat_ast_tools_better_handling_of_formatting_errors branch March 25, 2025 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast-tools Area - AST tools C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants