Skip to content

fix: phase 1 bug fixes — unsupported instance visibility, suggestions…#12

Merged
omrdev1 merged 1 commit into
mainfrom
fix/v0.5.2-phase1-bugs
Mar 28, 2026
Merged

fix: phase 1 bug fixes — unsupported instance visibility, suggestions…#12
omrdev1 merged 1 commit into
mainfrom
fix/v0.5.2-phase1-bugs

Conversation

@omrdev1
Copy link
Copy Markdown
Owner

@omrdev1 omrdev1 commented Mar 28, 2026

… provider-aware, WUE citation

Summary

Type of change

  • Bug fix
  • New instance type / region coverage
  • New feature
  • Documentation update
  • Tooling / dependency update

Checklist

  • npm test passes locally (all 50+ tests green)
  • npx tsc --noEmit passes (zero type errors)
  • npm run build produces no warnings
  • node dist/index.cjs diff fixtures/tfplan.e2e.json --format table produces live output
  • No credentials, tokens, API keys, or account IDs committed
  • New instance/region entries include a test case with a math trace comment
  • Commit messages follow Conventional Commits format

Testing

Related issues

@github-actions
Copy link
Copy Markdown

🌱 GreenOps Infrastructure Impact

Metric Monthly Total
🔋 Scope 2 — Operational CO2e 7.06kg
🏭 Scope 3 — Embodied CO2e 1.88kg
🌍 Total Lifecycle CO2e 8.93kg
💧 Water Consumption 7.5L
💰 Infrastructure Cost $126.29/month

Potential Scope 2 Savings: -6.90kg CO2e/month (97.7%) | -$5.11/month
💡 Found 2 optimization recommendations.

Resource Breakdown

Resource Type Region Scope 2 CO2e Scope 3 CO2e Water Cost/mo Action
aws_instance.web m5.large us-east-1 4.31kg 1.04kg 4.6L 70.08 💡 View Recommendation
aws_instance.worker m6g.large us-east-1 2.74kg 0.83kg 2.9L 56.21 💡 View Recommendation

Recommendations

aws_instance.web

  • Current: m5.large in us-east-1
  • Suggested: m5.large in eu-north-1
  • Scope 2 Impact: -4.21kg CO2e/month | +$2.92/month
  • Rationale: Moving m5.large from us-east-1 to Europe (Stockholm) (eu-north-1) reduces grid carbon intensity from 384.5g to 8.8g CO2e/kWh, saving 4215g CO2e/month (note: cost increases by $2.92/month). Water consumption also decreases by 3.6L/month.

aws_instance.worker

  • Current: m6g.large in us-east-1
  • Suggested: m6g.large in eu-north-1
  • Scope 2 Impact: -2.68kg CO2e/month | +$2.19/month
  • Rationale: Moving m6g.large from us-east-1 to Europe (Stockholm) (eu-north-1) reduces grid carbon intensity from 384.5g to 8.8g CO2e/kWh, saving 2681g CO2e/month (note: cost increases by $2.19/month). Water consumption also decreases by 2.3L/month.

Emissions calculated using the Open GreenOps Methodology Ledger v2.0.0. Scope 2 (operational) and Scope 3 (embodied) emissions tracked. Water consumption estimated from provider sustainability reports (AWS 2023, Microsoft 2023, Google 2023). Math is MIT-licensed and auditable. Analysed at 2026-03-28T11:27:51.252Z.

🏢 GreenOps Dashboard — aggregate carbon data across all your repositories, set team budgets, and export ESG reports. Join the waitlist · Coming soon.

@omrdev1 omrdev1 merged commit 0637493 into main Mar 28, 2026
2 checks passed
@omrdev1 omrdev1 deleted the fix/v0.5.2-phase1-bugs branch March 28, 2026 15:19
omrdev1 added a commit that referenced this pull request May 19, 2026
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