[COMPASS-5420] Include 0.0.0.0 in localhost check and telemetry Created: 13/Jan/22  Updated: 28/Jun/23  Resolved: 06/Jan/23

Status: Closed
Project: Compass
Component/s: Telemetry Data
Affects Version/s: None
Fix Version/s: 1.35.0

Type: Task Priority: Major - P3
Reporter: Maurizio Casimirri Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Quahog, Iteration Ragfish, Iteration Seahorse

 Description   

0.0.0.0 should be detected as localhost in our telemetry. This should apply to all of our products.



 Comments   
Comment by Githook User [ 28/Jun/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): update mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#464)
Branch: dependabot/npm_and_yarn/json5-1.0.2
https://github.com/mongodb-js/vscode/commit/160fe1f3df3cbd8b735da41a6a74d60538be2b41

Comment by Githook User [ 20/Feb/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): update mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#464)
Branch: playgrounds-in-js-language
https://github.com/mongodb-js/vscode/commit/160fe1f3df3cbd8b735da41a6a74d60538be2b41

Comment by Githook User [ 13/Jan/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): bump mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#3947)
Branch: more-darkmode-support-2
https://github.com/mongodb-js/compass/commit/3a6ffe480d9c9243de1408219134c1d58780dcfd

Comment by Githook User [ 12/Jan/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): bump mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#3947)
Branch: regression-test-for-identify
https://github.com/mongodb-js/compass/commit/3a6ffe480d9c9243de1408219134c1d58780dcfd

Comment by Githook User [ 10/Jan/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): bump mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#3947)
Branch: 1.35-releases
https://github.com/mongodb-js/compass/commit/3a6ffe480d9c9243de1408219134c1d58780dcfd

Comment by Githook User [ 09/Jan/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): bump mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#3947)
Branch: COMPASS-6142-react-17-dnd-kit
https://github.com/mongodb-js/compass/commit/3a6ffe480d9c9243de1408219134c1d58780dcfd

Comment by Githook User [ 07/Jan/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): bump mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#3947)
Branch: COMPASS-6142-react-17
https://github.com/mongodb-js/compass/commit/3a6ffe480d9c9243de1408219134c1d58780dcfd

Comment by Githook User [ 06/Jan/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): update mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#1381)
Branch: main
https://github.com/mongodb-js/mongosh/commit/c89139843b1de7c3d98c08b4c2d47637205347a9

Comment by Githook User [ 06/Jan/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): update mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#464)
Branch: main
https://github.com/mongodb-js/vscode/commit/160fe1f3df3cbd8b735da41a6a74d60538be2b41

Comment by Githook User [ 06/Jan/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(telemetry): bump mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#3947)
Branch: main
https://github.com/mongodb-js/compass/commit/3a6ffe480d9c9243de1408219134c1d58780dcfd

Comment by Anna Henningsen [ 24/Jan/22 ]

I saw that we have some logic for this in https://github.com/mongodb-js/mongodb-build-info/blob/master/index.js#L4.

Ideally, when we fix this, we should also:

  • Make sure to include the other 127.x.x.x addresses
  • Make sure to include IPv6 ::1 and its expanded spelling variations
Generated at Wed Feb 07 22:39:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.