8000 error codes: migrate query executor call sites to QRY-0xx codes · Issue #361 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

error codes: migrate query executor call sites to QRY-0xx codes #361

Closed

Description

@adityamukho

Background

Part of #277's rollout, step 5. Migrate query executor call sites to real QRY-0xx codes (9 documented codes in docs/ERROR_REFERENCE.md, all already anyhow-based).

Scope

bail!/anyhow! call sites in:

  • src/query/datalog/executor.rs
  • src/query/datalog/evaluator.rs
  • src/query/datalog/optimizer.rs
  • src/query/datalog/matcher.rs
  • src/query/datalog/magic_sets.rs

Work item

Migrate each site to bail_coded!/err_coded! with its real QRY-0xx code; add regression tests asserting the specific code comes back through the public API (limit/depth exceeded, recursion errors, type-mismatch-at-runtime paths).

Depends on: #357 (merged)
No dependency on the PRS/STG/WAL issues — independent module, can run in parallel.
Part of #277

Activity

  1. added this to the v1.3.0 milestone on Aug 25, 2026
  2. < 58DF li style="--timelineBadge-bgColor:var(--bgColor-done-emphasis)" data-timeline-event-id="CE_lADOJ2qlRM8AAAABOJ7cZc8AAAAG_Cz62g" data-highlighted-event="false" data-testid="timeline-row-border-CE_lADOJ2qlRM8AAAABOJ7cZc8AAAAG_Cz62g" data-wrapper-timeline-id="CE_lADOJ2qlRM8AAAABOJ7cZc8AAAAG_Cz62g" class="Timeline_Item__SPOwOL Timeline_Item_inlineAvatars__agUydM Timeline_Item_indent__x6ciCp rowInlineAvatars__YXPpBN Timeline-Item prc-Timeline-TimelineItem-QwDVH">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0