Skip to content

Add gcp-artifact-registry-spend-analysis CodeBundle#698

Open
rw-codebundle-agent[bot] wants to merge 1 commit into
mainfrom
codebundle/gcp-artifact-registry-spend-analysis
Open

Add gcp-artifact-registry-spend-analysis CodeBundle#698
rw-codebundle-agent[bot] wants to merge 1 commit into
mainfrom
codebundle/gcp-artifact-registry-spend-analysis

Conversation

@rw-codebundle-agent

Copy link
Copy Markdown
Contributor

Summary

  • Adds gcp-artifact-registry-spend-analysis CodeBundle for Issue automatic-index-update #133
  • Queries BigQuery billing export for Artifact Registry and legacy GCR SKUs with spend analysis, top contributors, MoM comparison, anomaly detection, and optimization recommendations
  • Includes in-repo sli.robot (0-1 health score from billing access, MoM growth, and anomaly signals) plus generation rules and RunWhen templates

Design spec alignment

  • Five tasks per spec: analyze spend, top contributors, MoM compare, anomaly detect, recommendations
  • Reuses billing export patterns from gcp-project-cost-health (auto-discovery, aggregated BQ queries)
  • Complements gcp-project-cost-health (org-wide costs) and gcp-artifact-registry-governance (inventory/cleanup)

Scorer

python -m scorer.score codebundles/gcp-artifact-registry-spend-analysis
Score: 104/104 (passed)

Test plan

  • Static structure validation (codebundles/gcp-artifact-registry-spend-analysis/.test/validate-all-tests.sh)
  • Run against a workspace with BigQuery billing export and gcp_credentials secret
  • Verify SLI health score and runbook issues for projects with artifact spend

Made with Cursor

Analyze Artifact Registry and legacy GCR spend from BigQuery billing
export with MoM trends, top contributors, anomaly detection, and SLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rw-codebundle-agent rw-codebundle-agent Bot requested a review from a team as a code owner June 30, 2026 18:32
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.

0 participants