Skip to content

feat(schedule): add pinned deploy policy - #134

Merged
vishr merged 2 commits into
mainfrom
feat/pinned-scheduled-jobs
Aug 28, 2026
Merged

feat(schedule): add pinned deploy policy#134
vishr merged 2 commits into
mainfrom
feat/pinned-scheduled-jobs

Conversation

@vishr

@vishr vishr commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • add opt-in schedule.deploy_lock: pinned while keeping exclusive as the default
  • resolve and lease an immutable release, retain a per-job lock, and release the deploy mutex before long work
  • protect leased releases from retention and destroy, and expose policy/runtime details in status
  • reject non-none data effects and adopted Compose in pinned mode

Verification

  • just ci
  • Linux flock integration test in golang:1.27-bookworm

Closes #133

Lease immutable releases so eligible long-running jobs can continue while unrelated deployments proceed. Keep existing schedules exclusive and reject unsafe data effects or adopted Compose.

Closes #133
Keep scheduled jobs on immutable releases without allowing retention, data-changing deploy phases, or orphaned run containers to cross the lease boundary.

Closes #133
@vishr
vishr merged commit 094085f into main Aug 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(schedule): allow safe deploys during long-running jobs

1 participant