Skip to content

Fix midair collision#604

Merged
gigabo merged 1 commit intolerna:masterfrom
doug-wade:fix-midair-collision
Feb 16, 2017
Merged

Fix midair collision#604
gigabo merged 1 commit intolerna:masterfrom
doug-wade:fix-midair-collision

Conversation

@doug-wade
Copy link
Copy Markdown
Contributor

I broke the build 😢. This fixes it. Thanks to @gigabo for catching it

Comment thread test/PublishCommand.js
{ args: ["cd " + escapeArgs(path.join(testDir, "packages/package-3")) + " && npm publish --tag lerna-temp", {env: {"npm_config_registry":"https://my-private-registry"}}] },
{ args: ["cd " + escapeArgs(path.join(testDir, "packages/package-4")) + " && npm publish --tag lerna-temp", {env: {"npm_config_registry":"https://my-private-registry"}}] }
{ args: ["cd " + escapeArgs(path.join(testDir, "packages/package-4")) + " && npm publish --tag lerna-temp", {env: {"npm_config_registry":"https://my-private-registry"}}] },
{ args: ["cd " + escapeArgs(path.join(testDir, "packages/package-2")) + " && npm publish --tag lerna-temp", {env: {"npm_config_registry":"https://my-private-registry"}}] }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:squint: [1,3,4,2]?

Is that a consistent order, or are these just all racing against each other?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Whelp, the build passed, so... fixed forever! 😁

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm p sure its a consistent order. 2 and 4 have a dependency on 1, and 1 and 3 have no dependencies, so there are two batches: [[1,3], [2,4]]. As to whether 1 always goes before 3 and 4 always goes before 2, I'm less certain, but in my ten or so runs they are consistent, and all the ci suites passed, so it seems so?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That makes sense. Thanks for checking!

@gigabo gigabo merged commit 2e67ed2 into lerna:master Feb 16, 2017
@lock
Copy link
Copy Markdown

lock Bot commented Dec 27, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants