Skip to content

Migrate error rendering to ariadne#370

Merged
LesterEvSe merged 1 commit into
BlockstreamResearch:masterfrom
LesterEvSe:feat/ariadne-diagnostic
Jul 17, 2026
Merged

Migrate error rendering to ariadne#370
LesterEvSe merged 1 commit into
BlockstreamResearch:masterfrom
LesterEvSe:feat/ariadne-diagnostic

Conversation

@LesterEvSe

Copy link
Copy Markdown
Collaborator

What's in this PR?

  • Migrate error rendering to ariadne.
  • Replace RichError with Diagnostic, which carries all the information needed for error rendering.
  • Rename ErrorCollector to DiagnosticManager and give it ownership of SourceMap.
  • Remove the WithContent and WithSource traits. No longer needed.

@LesterEvSe
LesterEvSe requested a review from KyrylR July 13, 2026 11:43
@LesterEvSe LesterEvSe self-assigned this Jul 13, 2026
@LesterEvSe
LesterEvSe requested a review from delta1 as a code owner July 13, 2026 11:43
@LesterEvSe
LesterEvSe force-pushed the feat/ariadne-diagnostic branch from 9a6a4ba to 3018a7b Compare July 13, 2026 11:44
@LesterEvSe LesterEvSe linked an issue Jul 13, 2026 that may be closed by this pull request
@delta1

delta1 commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Couple of CI issues

@LesterEvSe
LesterEvSe force-pushed the feat/ariadne-diagnostic branch from 3018a7b to 6344c99 Compare July 13, 2026 11:59
@LesterEvSe
LesterEvSe marked this pull request as draft July 13, 2026 11:59
@LesterEvSe
LesterEvSe force-pushed the feat/ariadne-diagnostic branch 4 times, most recently from 3840f72 to 609133f Compare July 13, 2026 12:41
@LesterEvSe
LesterEvSe marked this pull request as ready for review July 13, 2026 12:55
@LesterEvSe
LesterEvSe force-pushed the feat/ariadne-diagnostic branch 12 times, most recently from 9577381 to 6b5a7b6 Compare July 16, 2026 13:58
Comment thread src/driver/mod.rs Outdated
@LesterEvSe
LesterEvSe force-pushed the feat/ariadne-diagnostic branch from 6b5a7b6 to 7a0818d Compare July 17, 2026 08:49

@KyrylR KyrylR left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ACK 7a0818d; successfully ran local tests, code review

@LesterEvSe
LesterEvSe merged commit f62adf1 into BlockstreamResearch:master Jul 17, 2026
12 checks passed
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.

Refactor errors

3 participants