Skip to content

Application Auto Scaling ​

Parity grade: A · SDK aws-sdk-go-v2/service/applicationautoscaling@v1.51.4 · last audited 2026-10-07 (d0f3046ef)

Category: Management & Governance · View PARITY.md on GitHub · All Services

Parity & Coverage ​

MetricValue
PARITY entries audited14 (14 ok)
Feature families4 (4 ok)
Known gapsnone
Structural gaps (can't be emulated)2
Deferred items2
Resource leaksclean

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • DescribeScalingActivities accepts IncludeNotScaledActivities but never reports not-scaled activities: there is no metric-evaluation loop to decide not to scale, and inventing events would be fabrication.
  • GetPredictiveScalingForecast returns zero CapacityForecast/LoadForecast points: a genuine forecast needs an ML model over real historical CloudWatch data.

Deferred Items ​

  • TargetTrackingScaling alarms are created only for predefined metric types with a known CloudWatch mapping (ECS CPU/memory, ALB request count, RDS/Neptune reader CPU/connections, SageMaker invocations, Spot Fleet CPU/network, Lambda provisioned concurrency, ElastiCache engine CPU, AppStream capacity, DynamoDB read/write utilization) and customized metrics; other predefined types (Cassandra, Comprehend, Kafka, custom resource, WorkSpaces, ElastiCache memory/evictions) create no alarms, and no alarm state change drives scaling (bd: gopherstack-cefu7.99)
  • ConcurrentUpdateException/FailedResourceAccessException: sentinels (ErrConcurrentUpdate/ErrFailedResourceAccess) and correct HTTP statuses exist in errors.go/handler.go, but no backend method returns either -- gopherstack's backend serializes every operation behind one coarse lockmetrics.RWMutex (no update-race window) and has no cross-service CloudWatch permission check (see the deferred alarm-integration item above), so neither has a non-fabricated backend-state trigger. ALREADY COVERED BY CHAOS (verified this pass, gopherstack-cdxe): pkgs/chaos.Middleware (wired globally via registry.Use(chaos.Middleware(faultStore)) in internal/app/cli.go) sits in front of every service's handler and matches purely on the request's SigV4 service name ("application-autoscaling") + X-Amz-Target operation + region -- it never inspects backend state, so a fault rule such as {"service":"application-autoscaling","error":{"code":"ConcurrentUpdateException","statusCode":500}} deterministically returns that exact error to a real aws-sdk-go-v2 client on any operation, with zero code changes needed in this service. This is the same generic mechanism proven end-to-end against a real containerized client in test/integration/chaos_test.go. Wiring a fabricated in-backend trigger for either exception would be redundant with, and strictly worse than, this existing mechanism.

Audited Operations ​

14 audited operations
OperationWireErrorsStatePersist
RegisterScalableTargetfixedfixedfixedok
DeregisterScalableTargetokfixedokok
DescribeScalableTargetsfixedfixedokok
PutScalingPolicyfixedfixedfixedok
DeleteScalingPolicyokokokok
DescribeScalingPoliciesfixedfixedokok
DescribeScalingActivitiesfixedfixedokn/a
PutScheduledActionfixedfixedfixedok
DeleteScheduledActionokokokok
DescribeScheduledActionsfixedfixedokok
ListTagsForResourceokfixedokok
TagResourceokfixedokok
UntagResourceokfixedokok
GetPredictiveScalingForecastfixedfixedfixedn/a

Audited Feature Families ​

Feature FamilyStatus
taggingok
error_typesfixed
quotasfixed
dynamodb_wiringfixed

Released under the MIT License.