Skip to content

Gate XML MemoryGrantWarning at 1 GB threshold#179

Merged
erikdarlingdata merged 1 commit intomainfrom
feature/web-blazor-wasm
Apr 7, 2026
Merged

Gate XML MemoryGrantWarning at 1 GB threshold#179
erikdarlingdata merged 1 commit intomainfrom
feature/web-blazor-wasm

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • XML MemoryGrantWarning element now gated at 1 GB, matching Rule 9's threshold
  • All example plans confirmed KB units — 3 small grants (1 MB, 1 MB, 65 MB) suppressed, only 1.9 GB grant fires
  • Test updated to verify small grants are correctly suppressed

Test plan

  • 64/64 tests pass
  • Verified all 4 example plans with MemoryGrantWarning — units consistent (KB)

🤖 Generated with Claude Code

The plan XML's MemoryGrantWarning element fires for any grant size, including
trivially small ones (1 MB). Gate at 1 GB to suppress noise, consistent with
the analyzer's Rule 9 threshold. All values confirmed as KB across all example
plans. Updated test to verify small grants are suppressed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit da2df88 into main Apr 7, 2026
2 of 3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/web-blazor-wasm branch April 9, 2026 00:37
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