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

syncLabelResolverEx should return after addBatch #1266

Merged
merged 2 commits into from Jul 8, 2021
Merged

Conversation

tsuwandy
Copy link
Contributor

@tsuwandy tsuwandy commented Jul 7, 2021

Fix #1262

Return after addBatch
@tsuwandy tsuwandy requested review from daveta and hcyang July 7, 2021 22:46
@@ -161,6 +161,7 @@ export class OrchestratorBuild {
Utility.debuggingLog('OrchestratorBuild.syncLabelResolverEx(), ready to call LabelResolver.addBatch()');
LabelResolver.addBatch(target);
Utility.debuggingLog('OrchestratorBuild.syncLabelResolverEx(), after calling LabelResolver.addBatch()');
return;
Copy link
Member

Choose a reason for hiding this comment

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

Should we add a test to catch this scenario?

Copy link
Member

@munozemilio munozemilio left a comment

Choose a reason for hiding this comment

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

If this was not caught by the tests, maybe we should add one

@munozemilio munozemilio merged commit f16ca8f into main Jul 8, 2021
@munozemilio munozemilio deleted the tiens-1262 branch July 8, 2021 05:58
tsuwandy added a commit that referenced this pull request Jul 8, 2021
* Update build.ts

Return after addBatch

* Update create.test.ts
tsuwandy added a commit that referenced this pull request Jul 8, 2021
* Update build.ts

Return after addBatch

* Update create.test.ts
munozemilio pushed a commit that referenced this pull request Jul 8, 2021
* Update build.ts

Return after addBatch

* Update create.test.ts
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.

Don't do incremental update to LabelResolver when there is no existing blu file
4 participants