[COMPASS-4943] Embedded shell shows wrong version when using version() command Created: 13/Jul/21  Updated: 09/Aug/22

Status: Open
Project: Compass
Component/s: Embedded Shell
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Sergey Petushkov Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3

 Description   

Problem Statement/Rationale

Executing version() command in embedded shell in Compass always prints 0.0.0-dev.0 as a version

Steps to Reproduce

  • Start Compass and connect to anything
  • Open embedded shell
  • Run version() command in the shell

Expected Results

Displayed version matches embedded shell version (visible in shell info modal)

Actual Results

It shows 0.0.0-dev.0

Additional Notes

node-runtime-worker-thread is bundled with webpack before version numbers are updated in the package.json during publishing so it probably bundles package.json of shell-api with default dev version number and this is where the root cause of the issue is


Generated at Wed Feb 07 22:37:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.