Skip to content

Fix Overview tab showing Memory Grant as 0 for all timestamps#779

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/776-overview-memory-grant
Apr 2, 2026
Merged

Fix Overview tab showing Memory Grant as 0 for all timestamps#779
erikdarlingdata merged 1 commit intodevfrom
fix/776-overview-memory-grant

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Overview tab's memory chart queried v_memory_stats which has no grant data — TotalGrantedMb was always 0
  • Memory tab worked correctly because it also calls GetMemoryGrantTrendAsync() from v_memory_grant_stats
  • Now the Overview tab fetches grant data in parallel and aligns it to memory trend timestamps

Fixes #776

Test plan

  • Builds clean
  • Verified the Memory tab's working approach matches the fix

🤖 Generated with Claude Code

The Overview tab's memory chart only queried v_memory_stats which has no
grant data, so TotalGrantedMb was always 0. The Memory tab worked because
it also calls GetMemoryGrantTrendAsync() from v_memory_grant_stats.

Now the Overview tab fetches grant data in parallel and aligns it to the
memory trend timestamps.

Fixes #776

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 10f8bfb into dev Apr 2, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/776-overview-memory-grant branch April 9, 2026 00:33
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