Skip to content

Update HCL#36224

Merged
jbardin merged 3 commits intomainfrom
jbardin/update-hcl
Feb 4, 2025
Merged

Update HCL#36224
jbardin merged 3 commits intomainfrom
jbardin/update-hcl

Conversation

@jbardin
Copy link
Copy Markdown
Member

@jbardin jbardin commented Dec 16, 2024

Update HCL to the latest commit to test new boolean operator logic, allowing for more accurate unknown value handling and logical short-circuiting: hashicorp/hcl#713

The overall evaluation of boolean expressions should now follow roughly the same logic as conditional expressions. This means that as long as the expression itself is valid, if one side of the expression can create a short-circuit path in the logic, the evaluation diagnostics from the inactive side can be dropped.

Closes #24128
Fixes #31078, which was closed but was incomplete.

@jbardin jbardin force-pushed the jbardin/update-hcl branch from cdafe7e to 76b0d9f Compare February 3, 2025 21:53
@jbardin jbardin marked this pull request as ready for review February 3, 2025 22:03
@jbardin jbardin requested review from a team as code owners February 3, 2025 22:03
liamcervante
liamcervante previously approved these changes Feb 4, 2025
@jbardin jbardin merged commit 1ad35c2 into main Feb 4, 2025
@jbardin jbardin deleted the jbardin/update-hcl branch February 4, 2025 12:50
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 7, 2025

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Boolean operators should be capable of converting unknown values to known Logical binary operators don't short-circuit

2 participants