Skip to content

[compdev-1364] Make a false value actually false - #547

Merged
dgwatkins merged 1 commit into
masterfrom
chai/compdev-1364
Aug 4, 2026
Merged

[compdev-1364] Make a false value actually false#547
dgwatkins merged 1 commit into
masterfrom
chai/compdev-1364

Conversation

@dgwatkins

@dgwatkins dgwatkins commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

The attribute was cast with (bool), so the documented "false" value was silently truthy and the only working way to disable overriding was to omit the attribute. Parse "true" strictly, reject any value other than "true"/"false" at build time, and report validation failures on STDERR with a non-zero exit code so CI fails (die exits with 0).

https://onthegosystems.myjetbrains.com/youtrack/issue/compdev-1364

@dgwatkins
dgwatkins marked this pull request as draft July 22, 2026 16:34
@dgwatkins
dgwatkins marked this pull request as ready for review August 4, 2026 10:27
…y false

The attribute was cast with (bool), so the documented "false" value was
silently truthy and the only working way to disable overriding was to
omit the attribute. Parse "true" strictly, reject any value other than
"true"/"false" at build time, and report validation failures on STDERR
with a non-zero exit code so CI fails (die("message") exits 0, so the
existing path validation was never enforced either).

The 11 existing override_local="false" entries are normalized to "true"
to preserve their current effective behavior: the regenerated JSON is
identical to the one master produces. Product owners can now make each
of them a real "false" intentionally.

https://onthegosystems.myjetbrains.com/youtrack/issue/compdev-1364

Co-authored-by: Chai <david.g@onthegosystems.com>
@dgwatkins
dgwatkins merged commit 042cd0d into master Aug 4, 2026
1 check passed
@dgwatkins
dgwatkins deleted the chai/compdev-1364 branch August 4, 2026 10:32
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.

1 participant