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
plugin-profiles: guard and remove always-on optional members (AC24, AC3 of #16428) #18124
The #16428 close-out found two acceptance criteria of its Brief unmet on main, both about a profile's optional members:
AC24 ("no profile can exclude a member of the always-on profile"): excludedAlwaysOn checks only catalog.alwaysOn.plugins (plugins/plugin-profiles/lib/plan.mjs:67-68), so a profile can exclude an always-on optional member such as spelling@melodic-software (plugins/plugin-profiles/profiles/always-on.yaml). resolveCatalog already guards both sets (plugins/plugin-profiles/lib/profile-files.mjs:157), so the two checks disagree.
AC3 ("remove drops inherited ones, in every profile"): extend applies remove to plugins only (plugins/plugin-profiles/lib/profile-files.mjs:108-109) and merges optional as a plain union (:116), so an inherited optional member cannot be removed.
Done when
excludedAlwaysOn in plugins/plugin-profiles/lib/plan.mjs rejects an exclude of an always-on optional member as it does a plugins member
A remove line in a profile file drops an inherited optional member as well as an inherited plugins member (extend in plugins/plugin-profiles/lib/profile-files.mjs)
Tests in plugins/plugin-profiles cover both cases, fail on main and pass with the change
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: two functions in the plugin-profiles plugin (plan.mjs, profile-files.mjs), their tests and a changelog fragment; read by anyone running plugin profiles.
Reversible: yes; revert the change.
Open questions: none
I understood this as two defects left from #16428: a profile can exclude an always-on optional member, and remove does not drop inherited optional members. The done-when items are exact. I found no duplicate or merged fix; #16428 is the parent issue this refers to.
Activity
github-actions commentedon Nov 22, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: two functions in the plugin-profiles plugin (
plan.mjs,profile-files.mjs), their tests and a changelog fragment; read by anyone running plugin profiles.Reversible: yes; revert the change.
Open questions: none
I understood this as two defects left from #16428: a profile can exclude an always-on
optionalmember, andremovedoes not drop inheritedoptionalmembers. The done-when items are exact. I found no duplicate or merged fix; #16428 is the parent issue this refers to.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 22, 2026
{"v":1,"actor_id":337595936,"title_sha256":"0b96c10621dbe26a3e5fc2199ffeefb953579da764683d5e7ae7b7d4b8337f97","body_sha256":"7d607a1c99ba9cd77c444b6d042d9d48d11ced1d4a73d20ebe3225376e97a73e"}
github-actions commentedon Nov 22, 2026