[CLAUDE] CICD+FE-Admin+FE-User: deploy pool-state guard + SlaTimer component
Some checks failed
Deploy SOLUTION_ERP / build-deploy (push) Has been cancelled

CICD: check app pool state before Stop-WebAppPool (idempotent).

FE: new SlaTimer component with color-coded countdown (emerald/amber/red)
and progress bar. Two variants:
- inline: used in list tables (Inbox, Contracts list x2, MyContracts)
- full: used in ContractDetail card with progress bar + deadline timestamp

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
pqhuy1987
2026-04-21 15:04:44 +07:00
parent b40da1e726
commit 290936a0ca
8 changed files with 189 additions and 24 deletions

View File

@ -65,8 +65,9 @@ jobs:
run: |
Import-Module WebAdministration
# Stop app pool so DLLs are writable
if (Get-WebAppPoolState -Name SolutionErp-Api -ErrorAction SilentlyContinue) {
# Stop app pool (if running) so DLLs are writable
$poolState = (Get-WebAppPoolState -Name SolutionErp-Api -ErrorAction SilentlyContinue).Value
if ($poolState -eq 'Started') {
Stop-WebAppPool -Name SolutionErp-Api
Start-Sleep -Seconds 3
}