feat(autopromote): add force_install_allowlist to scope forced-install deadlines (ITCPE-3447)#244
Open
matt-henson-gusto wants to merge 1 commit into
Open
feat(autopromote): add force_install_allowlist to scope forced-install deadlines (ITCPE-3447)#244matt-henson-gusto wants to merge 1 commit into
matt-henson-gusto wants to merge 1 commit into
Conversation
…l deadlines (ITCPE-3447) force_install_after_date stamping is currently all-or-nothing: when enforce_force_install_date is on, every promoted pkginfo (except force_install_denylist) gets a deadline. That makes piloting forced installs on a small set impossible without denylisting everything else. Add force_install_allowlist: when non-empty, only those names receive a deadline; empty/absent preserves prior behavior (all, minus denylist). The denylist still excludes even allowlisted names. Backward-compatible. Lets CPE pilot forced installs on a few apps (aligned with the cpe_msc_nudge graceful-enforce allowlist) before going fleet-wide. Documented in README + sample config. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
matt-henson-gusto
marked this pull request as ready for review
June 23, 2026 17:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an optional
force_install_allowlistto autopromote soforce_install_after_datedeadlines can be scoped to a small set of packages — letting us pilot forced installs before going fleet-wide. Draft for ITCPE-3447 (MSC forced-update project).Why
Today, when
enforce_force_install_dateis on, every promoted pkginfo (minusforce_install_denylist) gets a deadline. There's no way to pilot deadlines on a few apps without denylisting everything else. This is the missing primitive to align the deadline rollout with thecpe_msc_nudgegraceful-enforce allowlist (Chrome first).Change
names get a deadline.force_install_denyliststill excludes even allowlisted names.Documented in
README.md+ the sampleautopromote.json.Validation
py_compileclean; sample config valid JSON.force_install_allowlistis empty/absent (the current production state).GoogleChrome-125.0.0.plistreceivedforce_install_after_date: 2026-07-02 14:30:31; Slack and Zoom promoted clean with no deadline stamped. Allowlist scoping confirmed end-to-end.Paired with
cpe-autopkg-pipeline config PR that turns this on for the Chrome pilot. Merge this first — the config PR enables
enforce_force_install_date, which without this change would stamp deadlines on all apps.Local testing complete. Ready for review.