Skip to content

Conversation

@gagik
Copy link
Contributor

@gagik gagik commented Feb 4, 2025

mongosh bump would actually end up overriding most auxiliary packages. This was likely not noticable before as the versions were already aligned and the ordering of the auxiliary bump was after the mongosh bump in tests

…tests

mongosh bump would actually end up overriding most auxiliary packages. This was likely not noticable before as the versions were already aligned and the ordering of the auxiliary bump was after the mongosh bump in tests
@gagik gagik added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Feb 4, 2025
)
).deep.equals({
name: '@mongosh/autocomplete',
version: '1.2.3',
Copy link
Collaborator

Choose a reason for hiding this comment

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

We do want to bump these packages, just not with the same version as mongosh, right?

Otherwise the published @mongosh/cli-repl package.json would specify a version that's not actually the same code as the one in the compiled executable?

Copy link
Contributor Author

@gagik gagik Feb 4, 2025

Choose a reason for hiding this comment

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

yeah, this happens at the previous step with bumpAuxiliaryPackages

Copy link
Contributor Author

@gagik gagik Feb 4, 2025

Choose a reason for hiding this comment

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

that said, it'd be good to have a test mixing the two. just a bit harder to do it in a clean way because the monorepo bumping helper isn't too easy to control, something more E2E might work but don't know if we want to do that now.
I tried running bump together locally with some overrides for the mongosh bump and seems to work.

@gagik gagik merged commit 2c76f0d into main Feb 4, 2025
17 of 20 checks passed
@gagik gagik deleted the test-lerna branch February 4, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants