Skip to content

Conversation

@Aghassi
Copy link
Contributor

@Aghassi Aghassi commented Jul 21, 2025

Fixes a bug introduced by #744 where on bazel run with sharding enabled the process would fail to launch. this also requires the user to use the -- attribute before passing the flag so it gets sorted into args.

If this is not passed, the CLI will not discern between bazelArgs and args that come after --. Once this is landed, you can test a target with sharding so long as you do ibazel run //path/to/target:test -- and then whatever flags you want.

Fixes a bug introduced by bazelbuild#744 where on bazel run with sharding enabled the process would fail to launch. this also requires the user to use the `--` attribute before passing the flag so it gets sorted into args
@Aghassi Aghassi requested a review from achew22 as a code owner July 21, 2025 20:32
@Aghassi
Copy link
Contributor Author

Aghassi commented Jul 21, 2025

@achew22 I found an issue with my prior change and would like to upstream what I believe the fix is. Would you mind taking a look?

add new argument to test
@achew22
Copy link
Member

achew22 commented Jul 22, 2025

Hey @Aghassi,

I'm interested in this change but unsure of how it affects things. Would it be possible to add a test case that demonstrates the old, improper behavior? I'd love to learn what's gone wrong here

@Aghassi
Copy link
Contributor Author

Aghassi commented Jul 22, 2025

Sure I can try and add a test case. The basic gist from the logic I followed is that in this case this arg needs to be passed to bazel run and something about how the separation logic cascades basically filters this out of the run command. I presume because it looks like a test flag

@github-actions
Copy link

Stale pull request message

@Aghassi
Copy link
Contributor Author

Aghassi commented Sep 21, 2025

Not stale, I've just not had a chance to prioritize this relative to other work. This is still and issue that needs fixing. I need to provide a test and have not had a chance

@github-actions
Copy link

Stale pull request message

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