Skip to content

fix: use plain boolean for ECS control-flow flags - #231

Merged
droguljic merged 1 commit into
masterfrom
fix/ecs-plain-boolean
Jun 2, 2026
Merged

fix: use plain boolean for ECS control-flow flags#231
droguljic merged 1 commit into
masterfrom
fix/ecs-plain-boolean

Conversation

@droguljic

Copy link
Copy Markdown
Contributor

Previously, EcsService wrapped boolean flags that control branching logic in pulumi.Input<boolean>. This caused a subtle bug where a dynamic false value would be treated as truthy (a resolved Output object), incorrectly enabling a feature instead of disabling it.

All control-flow flags are now plain boolean types to ensure values are evaluated directly and predictably.

Depends on: #229

@droguljic droguljic added this to the v2 milestone May 29, 2026
@droguljic
droguljic requested a review from bornast May 29, 2026 11:22
@droguljic droguljic added the Don't merge Do not merge this PR label May 29, 2026
@droguljic
droguljic force-pushed the fix/ecs-plain-boolean branch from 78ce36a to 351836d Compare May 31, 2026 07:13
Base automatically changed from feat/explicit-args-over-config to master June 2, 2026 10:16
Previously, EcsService wrapped boolean flags that control branching
logic in `pulumi.Input<boolean>`. This caused a subtle bug where a
dynamic `false` value would be treated as truthy (a resolved Output
object), incorrectly enabling a feature instead of disabling it.

All control-flow flags are now plain `boolean` types to ensure
values are evaluated directly and predictably.
@droguljic
droguljic force-pushed the fix/ecs-plain-boolean branch from 351836d to e94580f Compare June 2, 2026 11:22
@droguljic droguljic removed the Don't merge Do not merge this PR label Jun 2, 2026
@droguljic
droguljic merged commit 28c9ea4 into master Jun 2, 2026
2 checks passed
@droguljic
droguljic deleted the fix/ecs-plain-boolean branch June 2, 2026 13:55
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.

2 participants