[raycicmd] Selector syntax for array depends_on#472
Conversation
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly refactors how array step dependencies are specified and resolved within the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new, more expressive bracket syntax for depends_on in array steps, which is a great improvement over the old map-based syntax. The implementation is solid, with good error handling and comprehensive test coverage for the new functionality. I have a few suggestions to further improve the robustness of the parsing logic and the tests.
c75eb0c to
b83b51c
Compare
56bfbd0 to
03cd98f
Compare
|
added |
03cd98f to
7efcbc4
Compare
3bdbf59 to
68277da
Compare
68277da to
3ea8142
Compare
7efcbc4 to
ee66d67
Compare
66c3763 to
91b2dcd
Compare
2ca9c57 to
f649330
Compare
91b2dcd to
f2f670d
Compare
f2f670d to
fb306e4
Compare
fb306e4 to
28bf469
Compare
Replace the map-based depends_on syntax with a unified selector syntax using parentheses (YAML-safe, no quoting needed): - step-key — literal pass-through - step(*) — all variants - step(key=val, key=val) — explicit filter - step($) — reserved for implicit matching (errors for now) Introduce selectorMode enum replacing the old matchAll boolean. Remove parseArraySelectorMap and parseSelectorFilter. Plain string targeting an array step is now an error. Update .buildkite/array-test.rayci.yaml to use new syntax. Topic: bracket-depends-on Relative: array-validation-guards Signed-off-by: andrew <andrew@anyscale.com>
28bf469 to
5528dfc
Compare
Replace the map-based depends_on syntax with a unified selector syntax using parentheses (YAML-safe, no quoting needed):
Introduce selectorMode enum replacing the old matchAll boolean. Remove parseArraySelectorMap and parseSelectorFilter. Plain string targeting an array step is now an error.
Update .buildkite/array-test.rayci.yaml to use new syntax.
Topic: bracket-depends-on
Relative: array-validation-guards
Signed-off-by: andrew andrew@anyscale.com