Skip to content

Evaluate a parent property used only by a module in that module - #1481

Merged
slachiewicz merged 1 commit into
masterfrom
agent/parent-property-module-rules
Nov 7, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/parent-property-module-rules

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Fixes #1464.

Since 2.23.0, running in a reactor parent also collected the uses of its properties in descendant modules. A property the parent defines but only a module uses was therefore reported by display-property-updates, and rewritten by update-properties, under the parent's rules, so the module's ignore rules had no effect. Module uses now only add to properties the parent itself uses, which is what the excludes check from #1199 needs. A property used only by a module is evaluated when the goal runs in that module, with that module's rules, as in 2.22.0.

A property the parent uses itself is still evaluated under the parent's rules, as before 2.23.0.

Since 2.23.0 the lookup in a reactor parent also collected the uses of its
properties in descendant modules, so a property the parent defines but only a
module uses was reported and updated under the parent's rules, ignoring the
module's. Module uses now only add to properties the parent itself uses, which
is what the #1199 excludes check needs.
@slachiewicz slachiewicz added the bug Something isn't working label Nov 7, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 7, 2026 11:42
@slachiewicz
slachiewicz merged commit ca1662e into master Nov 7, 2026
16 checks passed
@slachiewicz
slachiewicz deleted the agent/parent-property-module-rules branch November 7, 2026 12:39
@github-actions github-actions Bot added this to the 2.24.1 milestone Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

display-property-updates reports ignored versions for version property values in parent project

1 participant