Skip to content

fix(oidc-http-server-pages): bump compass-components version COMPASS-10980 - #855

Open
esvm wants to merge 5 commits into
mainfrom
COMPASS-10980
Open

fix(oidc-http-server-pages): bump compass-components version COMPASS-10980#855
esvm wants to merge 5 commits into
mainfrom
COMPASS-10980

Conversation

@esvm

@esvm esvm commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Description

https://jira.mongodb.org/browse/COMPASS-10980

Bump the version of the @mongodb-js/compass-components lib as this was referencing a very old instance which was causing the callback from the login page to not render properly.

This issue was introduced when leafgreen-ui/emotion was bumped on this change.

Before image
After image

I have tested this by manually installing a local version of this lib into compass by running:

  1. cd packages/oidc-http-server-pages && npm pack
  2. In compass -> npm install /path/to/devtools-shared/packages/oidc-http-server-pages/mongodb-js-oidc-http-server-pages-*.tgz

Checklist

Copilot AI lite review requested due to automatic review settings August 13, 2026 19:20
@esvm esvm self-assigned this Aug 13, 2026
@esvm esvm changed the title fix(oidc pages rendering): bump compass-components version fix(oidc pages rendering): bump compass-components version COMPASS-10980 Aug 13, 2026

Copilot AI left a comment

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.

Pull request overview

This PR updates the @mongodb-js/oidc-http-server-pages workspace package to use a newer @mongodb-js/compass-components version so the generated OIDC login/callback pages render correctly (per the PR description).

Changes:

  • Bump @mongodb-js/compass-components devDependency from ^1.6.0 to ^1.68.0 in packages/oidc-http-server-pages.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@esvm esvm removed their assignment Aug 13, 2026
"eslint": "^7.25.0 || ^8.0.0",
"gen-esm-wrapper": "^1.1.3",
"mocha": "^8.4.0",
"mongodb-query-parser": "^4.7.16",

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

alright without this the tests failed in the bootstrap due to this dependency being missed. Now that I added the depcheck says this is unused lol

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

image

@nbbeeken nbbeeken Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

you can update the depcheck config to ignore, but there's something odd there, looks like the script that needs it is in mongodb-ts-autocomplete, does that package depend on mongodb-query-parser? maybe it was accidentally getting it transiently. Adding it as an explicit dep of mongodb-ts-autocomplete seems like the way to solve it if that's true 🤔

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

only reference in the code I could find was in the shell-bson-parser. And funnily enough that package doesn't say it depends on mongodb-query-parser, but it also doesn't depend on the oidc-http or compass-components 🤔

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

and running bootstrap locally works just fine 🫠

@nbbeeken nbbeeken changed the title fix(oidc pages rendering): bump compass-components version COMPASS-10980 fix(oidc-http-server-pages): bump compass-components version COMPASS-10980 Aug 14, 2026

@nbbeeken nbbeeken left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lockfile change seems large but I'm reading through it and it does all seem related to leafygreen and react so, must be component upgrade related

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