Repository navigation
Conversation
The integration job only runs tests/verify_demo.py, which uses //:fake_pyrefly. CI never executes a downloaded Pyrefly binary, so a Pyrefly release that breaks the bazel-check action path keeps CI green. Run tests/verify_toolchain_resolution.py --output-group=pyrefly in the integration matrix. This script already exists and the README lists it as a manual check. It resolves the registered toolchain, downloads the real release binary, and runs the bazel-check action.
Contributor
Author
|
Replaced by #5. |
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.
Summary
python tests/verify_toolchain_resolution.py --output-group=pyrefly.tests/verify_demo.py, and that test uses//:fake_pyrefly. CI never executes a downloaded Pyrefly binary. If a Pyrefly release breaks thebazel-checkaction path, or a checksum change inversions.bzlis wrong, CI stays green.bazel-checkaction on one clean target. It fails if the action fails.This PR is independent of #3. After #3 lands, this step checks Pyrefly 1.5.1, because #3 changes the script default.
Test plan
python tests/verify_toolchain_resolution.py --output-group=pyreflypasses. The Pyrefly action runs indarwin-sandbox, so it executes the real binary, not the fake one.