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
cron: per-job run metadata and container retention #118
Cron run metadata and run-container retention are fixed constants in crates/jiji-agent/src/scheduler.rs: completed run metadata is kept for 30 days, and the latest 100 runs per job are always kept even when older (METADATA_RETAIN_SECS, METADATA_RETAIN_LATEST); a finished run's container is kept for 24 hours so jiji service cron logs can still read its output (CONTAINER_RETAIN_SECS). None of these can be set per job.
Scope
Per-job settings on CronConfig for run metadata retention (age and/or count) and run-container retention, defaulting to today's values.
Carry them in the installed CronJobSpec so the agent's cleanup tick applies them per job.
Done when
crates/jiji-config/src/jiji.yml and the website's cron reference are updated in the same change.
Activity