Skip to content

Fix bug with not passing scheduled node id to the task host task#12639

Merged
AR-May merged 1 commit intodotnet:mainfrom
AR-May:fix-bug-with-schedulled-node-id
Oct 15, 2025
Merged

Fix bug with not passing scheduled node id to the task host task#12639
AR-May merged 1 commit intodotnet:mainfrom
AR-May:fix-bug-with-schedulled-node-id

Conversation

@AR-May
Copy link
Member

@AR-May AR-May commented Oct 14, 2025

Context

There seem to be a merge bug introduced in #12577.
The scheduled node id should be passed to the TaskHostTask in both instances of the task creation.

Changes Made

  1. Passed scheduled node id to the task host task constructor
  2. Removed the default value in constructor to avoid such errors in future.

Testing

None

@AR-May AR-May requested review from JanProvaznik, Copilot and surayya-MS and removed request for JanProvaznik and Copilot October 14, 2025 14:24
@baronfel
Copy link
Member

Is there a test that can prevent regressions here?

@AR-May
Copy link
Member Author

AR-May commented Oct 14, 2025

This part is not quite easy to cover with tests, I think. Will need to have an end-to-end test with multiple projects getting built, I think. Maybe folks have better ideas how to cover this with tests.

@JanProvaznik and I noticed this bug on merge of main into my WIP PRs. This bug appeared mostly because three of us (@AR-May, @JanProvaznik, @surayya-MS) working and modifying the same file and the same function invocations there.

@AR-May
Copy link
Member Author

AR-May commented Oct 14, 2025

We should add more /mt end-to-end tests, they should hopefully cover many problems that may appear. We do not have enough of them. I will create an issue for that.

@AR-May AR-May merged commit 5e273cc into dotnet:main Oct 15, 2025
10 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.

3 participants