fix: protect running validation tasks from queue cleanup
This commit is contained in:
16
README.md
16
README.md
@@ -153,9 +153,12 @@ older-than-seven-days tasks beyond that account's current limit minus 10. Later
|
||||
scheduled cleanup uses limit minus 5, retaining a small hysteresis buffer that
|
||||
avoids repeatedly over-pruning valid work. For a 100-task account the two
|
||||
boundaries are 90 and 95; for a 500-task account they are 490 and 495. Recent
|
||||
overflow tasks are always kept. ModelScope metadata failures fail closed and
|
||||
never trigger cancellation. Immediately before mutation, task ownership, active
|
||||
status, and post-OOM queue position are checked again.
|
||||
overflow tasks are always kept. Age-based cleanup applies only to tasks that are
|
||||
still waiting; running validation tasks are protected even beyond the boundary.
|
||||
ModelScope metadata failures fail closed and never trigger cancellation.
|
||||
Immediately before the age-only stop batch, task ownership, active status, and
|
||||
post-OOM queue position are checked again. Deterministic OOM cleanup may still
|
||||
stop a running task because it cannot fit the selected GPU.
|
||||
|
||||
The verified capacities, safe repository-size boundaries, evidence hierarchy,
|
||||
and source links are recorded in
|
||||
@@ -247,12 +250,15 @@ after OOM cleanup and a second queue check.
|
||||
Version `2026.08.11.4` replaces fixed queue positions with per-account dynamic
|
||||
boundaries derived from each discovered capacity: limit minus 10 for admission
|
||||
and startup cleanup, then limit minus 5 for scheduled dynamic cleanup.
|
||||
Version `2026.08.12.1` protects running tasks from age-based cleanup and records
|
||||
worker-initiated stops as `policy_cancelled`, excluding them from success-rate,
|
||||
failure-cooldown, and circuit-breaker evidence.
|
||||
|
||||
## Deploy
|
||||
|
||||
Create a tag and submit the repository URL plus tag in "我的适配智能体".
|
||||
|
||||
```bash
|
||||
git tag agent-v18
|
||||
git push origin agent-v18
|
||||
git tag agent-v19
|
||||
git push origin agent-v19
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user