feat(aws): surface quota pressure in doctor#155
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Codex review: needs maintainer review before merge. Reviewed May 25, 2026, 6:52 AM ET / 10:52 UTC. Summary Reproducibility: not applicable. this is a feature PR rather than a bug report. The PR body provides redacted live Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Next step before merge Security Review detailsBest possible solution: Land the PR after normal CI and maintainer review so AWS users can see quota pressure in Do we have a high-confidence way to reproduce the issue? Not applicable; this is a feature PR rather than a bug report. The PR body provides redacted live Is this the best way to solve the issue? Yes; surfacing the existing AWS quota preflight signal as advisory doctor readiness checks is a narrow maintainable path, and unreadable Service Quotas data is skipped instead of failing doctor. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against b391141b657c. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper PR egg ✨ Hatched: ✨ glimmer Moonlit Proofling Hatch commandComment Hatchability rules:
Rarity: ✨ glimmer. What is this egg doing here?
|
Summary
capacity=unknowntimeout=10stext field for direct provider doctor checks that already include aprovider=...fieldcrabbox doctor --provider awsas the pre-warmup check for new or unfunded AWS accountsVerification
go test ./...npm run format:check --prefix workernpm run check --prefix workernpm run lint --prefix workernpm test --prefix workernpm run build --prefix workergo build -trimpath -o bin/crabbox ./cmd/crabboxbin/crabbox doctor --provider aws --jsonexited 0 and reported advisory Spot and On-Demand quota pressure with recommended class/type fallbacksRedacted excerpt from the latest doctor run:
{ "ok": true, "provider": "aws", "checks": [ { "status": "ok", "check": "provider", "provider": "aws", "message": "provider=aws coordinator_secrets=ready", "details": { "coordinator_secrets": "ready", "provider": "aws" } }, { "status": "warning", "check": "capacity", "provider": "aws", "message": "provider=aws capacity=quota_pressure default_class=beast default_needed_vcpus=192 default_type=c7a.48xlarge hint=lower_class_or_request_quota limit_vcpus=32 market=spot quota_code=L-34B43A08 recommended_class=standard recommended_type=c7a.8xlarge region=eu-west-1", "details": { "capacity": "quota_pressure", "default_class": "beast", "default_needed_vcpus": "192", "default_type": "c7a.48xlarge", "hint": "lower_class_or_request_quota", "limit_vcpus": "32", "market": "spot", "provider": "aws", "quota_code": "L-34B43A08", "recommended_class": "standard", "recommended_type": "c7a.8xlarge", "region": "eu-west-1" } }, { "status": "warning", "check": "capacity", "provider": "aws", "message": "provider=aws capacity=quota_pressure default_class=beast default_needed_vcpus=192 default_type=c7a.48xlarge hint=lower_class_or_request_quota limit_vcpus=16 market=on-demand quota_code=L-1216C47A recommended_class=standard recommended_type=c7a.4xlarge region=eu-west-1", "details": { "capacity": "quota_pressure", "default_class": "beast", "default_needed_vcpus": "192", "default_type": "c7a.48xlarge", "hint": "lower_class_or_request_quota", "limit_vcpus": "16", "market": "on-demand", "provider": "aws", "quota_code": "L-1216C47A", "recommended_class": "standard", "recommended_type": "c7a.4xlarge", "region": "eu-west-1" } } ] }exit=0git diff --checkNotes
warmupdoes not run doctor automatically.