You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spawn extend --job-array-* writes only spawn:ttl, so it never moves the deadline spored and the reaper enforce #983
spawn:ttl-deadline is what the system actually enforces:
spored: pkg/agent/agent.go treats TTLDeadline as authoritative whenever it is set, and synthesizes one from spawn:ttl only when the deadline tag is missing (around line 182).
TTL reaper: evaluate in lambda/ttl-reaper/main.go reads only spawn:ttl-deadline.
Every instance launched with --ttl carries a deadline. So spawn extend --job-array-name X 4h prints "✅ Job array TTL extended!" and changes nothing that is enforced: each instance still dies at its original deadline. It also overwrites spawn:ttl with the raw argument, which is the #506 symptom on this path.
The single-instance path fixed both problems through computeExtendedTTLTags (#506) and ttlpkg.Tags. The comment above the cost-limit warning in the array path says that path "writes a RELATIVE spawn:ttl rather than a deadline". That reads like a known limitation, but nothing tells the user.
Suggested fix: run each array instance through computeExtendedTTLTags, as the single path does. That moves the deadline and keeps spawn:ttl meaning total-from-launch. Then apply the #639 cost-limit decision per instance, and the #950spotrequest.ExtendWarning.
Activity
Make extend --job-array-* move the enforced deadline; gate spawn:ttl …
Make extend --job-array-* move the enforced deadline; gate spawn:ttl …
Parse every TTL and lifecycle duration with one day-aware parser; nev…
Anchor spawn extend's spawn:ttl and raised cost limit to the original…
Parse every TTL and lifecycle duration with one day-aware parser; nev…
Parse every TTL and lifecycle duration with one day-aware parser; nev…
Anchor spawn extend's spawn:ttl and raised cost limit to the original…
Anchor spawn extend's spawn:ttl and raised cost limit to the original…