Repository navigation
refactor(delivery): no per-machine admits in the delivery spec, the engine stays domain-agnostic CU-17tkuw67reb - #3353
hryhorii-chuhuievets wants to merge 1 commit into
Conversation
…engine stays domain-agnostic CU-17tkuw67reb DeliverySpec.admits(Machine, payload) put a device rule (the OS version of the machine) into the delivery engine. It is removed together with the rollout filter, its metric and ToolUpdateDeliverySpec's override. A tool update below an agent's minimum OS version is refused by the client itself (DONE with NOT_SUPPORTED), which every client that reports an OS version already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018CWVXmitg5ndDrJgbb7zwP
🦩 flamingo Code Review / security✅ No findings on the current head. Advisory: findings do not block the merge.
Review again. New commits are not reviewed until you ask:
Or comment Updated 2026-12-04 16:43 UTC · reviewed from Hryhorii Chuhuievets's machine |
🦩 flamingo Code Review✅ Tests and checks passed on this commit (3 lanes). ✅ No findings on the current head. Advisory: findings do not block the merge.
✅ What this change does well
3 possible problems checked and ruled out
🧪 Tests and mutationTests per lane
Checks
Java lane: 4847 tests, 0 failures; the change only removes code, so no new lines to mutate. Mutation testingThis build has no PIT plugin, so each module is mutated from the command line with pit-adhoc.sh, changing nothing in the repository.
Review again. New commits are not reviewed until you ask:
Or comment Updated 2026-12-04 16:38 UTC · reviewed from Hryhorii Chuhuievets's machine |
ClickUp task: CU-17tkuw67reb Stop installing Fleet on Macs below macOS 13 and report it as unsupported
Change-Set: refactor-delivery-spec-without-admits
What
openframe-oss-lib#3138 added
DeliverySpec.admits(Machine, payload), a per-machine hook the rollout asked before dispatching. It put a device rule (the machine's OS version) into the delivery engine, which is meant to stay domain-agnostic. This PR takes it out again:DeliverySpec: noadmits, noMachineimport.DeliveryRolloutService: noadmittedBySpec; a rollout batch is filtered by the agent-version floor only, as before feat(devices): minimum OS version per integrated agent, keep Fleet off Macs below macOS 13 CU-17tkuw67reb #3138.DeliveryMetrics: noopenframe.delivery.rollout.not_admittedcounter.ToolUpdateDeliverySpec: noadmitsoverride.All four files are back to their state before #3138.
Why nothing is lost
A tool update below an agent's minimum OS version is still refused, by the client:
minOsVersionstays in the tool-update message, and the client from openframe-oss-lib#3151 checks it before anything else and answers the deliveryDONEwithNOT_SUPPORTED, without downloading or touching the tool. The removed filter only ever acted on machines with a known OS version, and only that client reports one.Unchanged and outside the engine: the install gate (
ToolInstallationService), the single-machine force update (ForceToolAgentUpdateService),TOOL_UNINSTALL, the withheld agents and the sweep.The only difference: a Mac below the minimum with a current client receives the update message and closes it as
DONE.Tests
DeliveryRolloutServiceTestandToolUpdateDeliverySpecTestare back to their state before feat(devices): minimum OS version per integrated agent, keep Fleet off Macs below macOS 13 CU-17tkuw67reb #3138; theadmitstest ofToolUninstallDeliverySpecTestis removed.🤖 Generated with Claude Code
https://claude.ai/code/session_018CWVXmitg5ndDrJgbb7zwP
Change set
flamingo-stack/refactor-delivery-spec-without-admits: this pull request is the only one in it so far. Another pull request joins by naming this one in aDepends-Online, or by carrying the sameChange-Setline.Linked work
Linked by the
Depends-On/Change-Setlines in these descriptions; this block is maintained by the hub.