Skip to content

Optimize storage cost comparison - #40

Merged
tjsullivan1 merged 1 commit into
masterfrom
tjsullivan1-storage-metrics-phase-1
Oct 16, 2026
Merged

tjsullivan1 merged 1 commit into
masterfrom
tjsullivan1-storage-metrics-phase-1

Conversation

@tjsullivan1

Copy link
Copy Markdown
Owner

Summary

  • Replace repeated billing-row, summary, and meter scans with normalized hashtable lookups; skip unselected-account rows before parsing dates and avoid copying the full template for every daily billing row.
  • Add configurable Cost Details polling timeout (-CostReportTimeoutMinutes, default 10, maximum 60) while retaining the 30-poll safety limit.
  • Document the timeout and add polling and synthetic 50,000-row CSV coverage.

Validation

  • Storage Metrics Pester suite: 179 passed, 0 failed.
  • Focused cost-comparison suite: 32 passed, 0 failed.
  • ScriptAnalyzer with repository settings (warnings/errors) and git diff --check passed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d832c1d1-a7e4-4b01-937b-47a3ecd04d32
@tjsullivan1
tjsullivan1 merged commit 06af00e into master Oct 16, 2026
8 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.

1 participant