Skip to content

feat: dev tool to analyze IR of corpus - #307

Merged
milindsrivastava1997 merged 1 commit into
mainfrom
refactor-corpus-analyzer
Aug 28, 2026
Merged

feat: dev tool to analyze IR of corpus#307
milindsrivastava1997 merged 1 commit into
mainfrom
refactor-corpus-analyzer

Conversation

@milindsrivastava1997

Copy link
Copy Markdown
Collaborator

Summary

  • keep show_pre_asap_ir focused on ad-hoc SQL/PromQL inspection
  • add analyze_corpora for PromQL and SQL corpus dumps and anomaly reports
  • emit per-query JSON/JSONL records with lossless ir_debug fingerprints
  • document both corpus analysis commands and ignore generated artifacts

Validation

  • cargo check -p asap-devtools --bins
  • PromQL corpus tests passed
  • SQL corpus tests passed
  • cargo test -p asap-devtools --bins passed

The full workspace test suite is currently blocked by the unrelated untracked frame_probe.rs test, whose assertion contradicts the distinct window-frame IR it prints.

@milindsrivastava1997 milindsrivastava1997 changed the title Refactor corpus IR analysis into dedicated tool feat: dev tool to analyze IR of corpus Aug 28, 2026
@milindsrivastava1997
milindsrivastava1997 marked this pull request as ready for review August 28, 2026 18:23
@milindsrivastava1997
milindsrivastava1997 merged commit bc5f53b into main Aug 28, 2026
6 of 7 checks passed
@milindsrivastava1997
milindsrivastava1997 deleted the refactor-corpus-analyzer branch August 28, 2026 18:24
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.

1 participant