Skip to content

feat(software-update): bundles and schedules send their update settings to the agent CU-17tkuw5zc6q - #2871

Merged
andrii-flamingo merged 1 commit into
mainfrom
feat/package-update-settings-dispatch
Oct 29, 2026
Merged

andrii-flamingo merged 1 commit into
mainfrom
feat/package-update-settings-dispatch

Conversation

@andrii-flamingo

@andrii-flamingo andrii-flamingo commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

ClickUp task: CU-17tkuw5zc6q BE-2: Auto-update policy: model + admin API

The Update Settings stored on a bundle or schedule (#2849) never reached the agent: every package-update order went out as WAIT, 300 s countdown, no deadline.

Change

  • PackageUpdateDispatchService.dispatchAdminUpdate(rows, brewType, settings) orders with the settings' mode, deadline and countdown.
  • SoftwareBundleOnlineDispatcher passes the bundle's settings, SoftwareScheduleFireDispatcher the schedule's.
  • A bundle or schedule saved before Update Settings existed has none and keeps the old WAIT / 300 s / no deadline.
  • updateSoftware takes no settings and is unchanged.

Behaviour

An UPDATE bundle submitted without explicit settings now uses the screen defaults: wait and notify, force 7 days after the first try, 5-minute countdown. Before, it never forced.

Testing

Unit tests: settings reach the request and the order (WAIT with deadline, FORCE with countdown), no settings keep the defaults, both dispatchers pass their settings.

Change-Set: package-update-settings

Change set flamingo-stack/fix-route-styles-full-sheet: these pull requests are one change, reviewed together.

Linked work

Linked by the Depends-On / Change-Set lines in these descriptions; this block is maintained by the hub.

@github-actions

Copy link
Copy Markdown
Contributor

🦩 Flamingo Code Review

Not reviewed yet. Reviews start when you ask, so the reviewer reads this pull request when it is ready, not when it is opened.

When it is ready:

  • Review this pull request

Or comment @flamingo-review. Add the flamingo-review-always label to review every push.

Updated 2026-10-29 10:16 UTC · workflow run

@andrii-flamingo
andrii-flamingo added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit 82b53df Oct 29, 2026
21 checks passed
@andrii-flamingo
andrii-flamingo deleted the feat/package-update-settings-dispatch branch October 29, 2026 10:34
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.

2 participants