Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle missing files referenced in build files #159

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

shYkiSto
Copy link
Collaborator

This change addresses a scenario where removed files may still be referenced in build files. Previously, jazelle changes would return an empty set in such cases. The update involves reading the bazel query's stdout to utilize known labels in subsequent queries.

@shYkiSto shYkiSto changed the title Enhance handling of missing files referenced in build files Handle of missing files referenced in build files Jul 17, 2024
@shYkiSto shYkiSto changed the title Handle of missing files referenced in build files Handle missing files referenced in build files Jul 17, 2024
@@ -84,15 +89,16 @@ function removeActiveChild(child) {

// use exec if you need stdout as a string, or if you need to explicitly setup shell in some way (e.g. export an env var)
const exec /*: Exec */ = (cmd, opts = {}, stdio = []) => {
const errorWithSyncStackTrace = new Error(); // grab stack trace outside of promise so errors are easier to narrow down
const errorWithSyncStackTrace /*: ExecException */ = new Error(); // grab stack trace outside of promise so errors are easier to narrow down
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flow 😭

@shYkiSto shYkiSto merged commit eb7fc15 into uber-web:main Jul 18, 2024
4 checks passed
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