Skip to content

Fix labelsToWatch to keep workspace files after local-repo labels#823

Open
neyo8826 wants to merge 1 commit into
bazelbuild:mainfrom
neyo8826:bugfix
Open

Fix labelsToWatch to keep workspace files after local-repo labels#823
neyo8826 wants to merge 1 commit into
bazelbuild:mainfrom
neyo8826:bugfix

Conversation

@neyo8826
Copy link
Copy Markdown

this fixes my js_run_devserver from aspect_rules_js

@achew22
Copy link
Copy Markdown
Member

achew22 commented Apr 19, 2026

Hrm... this might well be a necessary change, but I'm not 100% sure. Can you help me understand what isn't working and why you think this will resolve the issue?

@neyo8826
Copy link
Copy Markdown
Author

bazel query deps(...) outputs the list in local->remote order (// -> @...//) but cquery interleaves them, so the loop cannot stop there. it misses a lot of deps that way

@achew22
Copy link
Copy Markdown
Member

achew22 commented Apr 23, 2026

Okay, that seems reasonable. Can you add an e2e test that demonstrates the failure that is resolved by this change?

… add a regression test for mixed label ordering
@neyo8826
Copy link
Copy Markdown
Author

added

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