Repository navigation
fix(ci): preserve quoted strings in plan conditions - #1050
Merged
LunaStev merged 1 commit intoOct 25, 2026
Merged
Conversation
Signed-off-by: Eren Batı <[email protected]>
LunaStev
approved these changes
Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #998
Summary
!,&&,||,always(),cancelled()and context-looking names.evalor broader expression language.Motivation
The previous unconditional replacements corrupted quoted strings. For example,
inputs.value == 'a!b'evaluated false even when inputs.value was exactlya!b. Tokenizing strings and actual syntax together also avoids reinterpreting values generated by context substitutions.Compatibility impact
Python CI tooling only. No Wave language syntax, ABI, standard-library revision or packaging changes.
Validation
python -m unittest tools.test_ci.TargetTests -q: 10 tests passed, including actual boolean operators, context lookup, literal handling, short-circuiting and unsupported syntax rejection.python -m py_compile tools/ci/common.py tools/test_ci.py: passed (native Windows Python 3.12).git diff --check: passed; onlytools/ci/common.pyandtools/test_ci.pychanged.tools.test_ci.RunnerTestsran 10 tests, 8 passed, 2 failed on Windows: one due to environment-specific Unicode summary matching, another due to hardlink/path-alias behavior. Neither failure concerns the expression evaluator; upstream CI is needed for complete multi-platform coverage.Checklist
AI assistance
AI assistance was used for inspecting the evaluator and preparing tests and changes. The contributor reviewed this submission and accepts responsibility for it.