Skip to content

chore: improve assertion diagnostic msg#842

Merged
graphite-app[bot] merged 1 commit into
mainfrom
c/03-27-chore_improve_assertion_diagnostic_msg
Mar 27, 2026
Merged

chore: improve assertion diagnostic msg#842
graphite-app[bot] merged 1 commit into
mainfrom
c/03-27-chore_improve_assertion_diagnostic_msg

Conversation

@camc314

@camc314 camc314 commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

For some reason this is flaky - I don't know why.

This should aid debugging.

camc314 commented Mar 27, 2026

Copy link
Copy Markdown
Contributor Author

How to use the Graphite Merge Queue

Add the label 0-merge to this PR to add it to the merge queue.

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.

@camc314 camc314 self-assigned this Mar 27, 2026
@camc314 camc314 marked this pull request as ready for review March 27, 2026 12:04
Copilot AI review requested due to automatic review settings March 27, 2026 12:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Improves failure diagnostics in the rule tester when a TypeScript source file cannot be retrieved from the created program, to aid debugging a flaky scenario.

Changes:

  • Add strings import to support formatting.
  • Replace a simple assertion with a richer failure path that reports the resolved filename and the program’s source file list (sorted).

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

@graphite-app

graphite-app Bot commented Mar 27, 2026

Copy link
Copy Markdown

Merge activity

For some reason this is flaky - I don't know why.

This should aid debugging.
@graphite-app graphite-app Bot force-pushed the c/03-27-chore_improve_assertion_diagnostic_msg branch from 97ac8f6 to 2f8b5e8 Compare March 27, 2026 12:11
@graphite-app graphite-app Bot merged commit 2f8b5e8 into main Mar 27, 2026
8 checks passed
@graphite-app graphite-app Bot removed the 0-merge label Mar 27, 2026
@graphite-app graphite-app Bot deleted the c/03-27-chore_improve_assertion_diagnostic_msg branch March 27, 2026 12:19
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.

2 participants