wasmCloud / wadm

wasmCloud Application Deployment Manager (wadm) is a Wasm-native orchestrator for managing and scaling declarative wasmCloud applications.
https://wasmcloud.com
Apache License 2.0
108 stars 28 forks source link

fix: detect spread scaler requirements violation #491

Open ahmedtadde opened 1 week ago

ahmedtadde commented 1 week ago

Feature or Problem

A ComponentSpreadScaler config may have a set of requirements which cannot fully be satisfied so the deployment status remains as "Reconciling".

Related Issues

432

Release Information

next

Consumer Impact

This is an enhancement/correctness change. It should have no adverse effect on existing functionality. This change prevents potential Heisenbugs where wadm could potentially operate on faulty instance spread without any detection.

Testing

All existing tests (unit and e2e) are functional

Unit Test(s)

Added two test cases can_detect_spread_requirements_violation_1 and can_detect_spread_requirements_violation_2