feat(scale): implement scale auto with persistent rules#227
Conversation
- Local JSON persistence (~/.sh1pt/auto-scale-rules.json) - --min, --max, --target-cpu, --cooldown options - --enable/--disable to toggle auto-scaling - --show to display current rules - Input validation (min>=1, max>=min, 1<=cpu<=100, cooldown>=10s) - Enhanced cost: pricing reference table when no fleet data - Enhanced status: show auto-scaling rules status Closes profullstack#226
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
3 similar comments
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
Closes #226
Implements
sh1pt scale autowith:~/.sh1pt/auto-scale-rules.json--min <n>,--max <n>,--target-cpu <%>,--cooldown <s>options--enable/--disableto toggle--showto display current rulesAlso enhanced:
sh1pt scale cost— shows provider pricing reference table when no fleet is detectedsh1pt scale status— now shows auto-scaling rule stateType-checked with
tsc --noEmit— zero errors.