[COMPASS-6065] Implement networkTraffic option Created: 30/Aug/22  Updated: 29/Oct/23  Resolved: 22/Sep/22

Status: Closed
Project: Compass
Component/s: Preferences
Affects Version/s: None
Fix Version/s: 1.34.0

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
Related
is related to COMPASS-6099 Remove Feature tour Closed
Epic Link: COMPASS-5816
Story Points: 3
Documentation Changes: Needed
Documentation Changes Summary:

Compass adds a networkTraffic option that can be set in the global config file or on the command line. Setting this option to false will make Compass behave like what is currently its “Isolated” edition, i.e. set all privacy settings so that Compass does not perform outgoing network operations other than those to the database.

Sprint: Iteration Kraken

 Description   

This needs e2e tests.



 Comments   
Comment by Githook User [ 05/Oct/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: implement HADRON_ISOLATED through preferences COMPASS-6065 (#3503)

  • Implement `HADRON_ISOLATED` through the `networkTraffic` preference.
  • Derive the value of other preferences that are shadowed by
    `networkTraffic` through a generic mechanism for doing so
    (we will also need this for `readOnly`/`enableShell`)
  • Add an e2e test that runs on Linux and verifies via `strace` that
    Compass does not actually perform external network I/O when
    `--no-network-traffic` has been specified.
    Branch: 1.34-releases
    https://github.com/mongodb-js/compass/commit/c02c5c15aa2f18c0b0e89efafc4b24afbb6bcc24
Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: implement HADRON_ISOLATED through preferences COMPASS-6065 (#3503)

  • Implement `HADRON_ISOLATED` through the `networkTraffic` preference.
  • Derive the value of other preferences that are shadowed by
    `networkTraffic` through a generic mechanism for doing so
    (we will also need this for `readOnly`/`enableShell`)
  • Add an e2e test that runs on Linux and verifies via `strace` that
    Compass does not actually perform external network I/O when
    `--no-network-traffic` has been specified.
    Branch: update-compass-shell-to-shared-config
    https://github.com/mongodb-js/compass/commit/c02c5c15aa2f18c0b0e89efafc4b24afbb6bcc24
Comment by Githook User [ 23/Sep/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: implement HADRON_ISOLATED through preferences COMPASS-6065 (#3503)

  • Implement `HADRON_ISOLATED` through the `networkTraffic` preference.
  • Derive the value of other preferences that are shadowed by
    `networkTraffic` through a generic mechanism for doing so
    (we will also need this for `readOnly`/`enableShell`)
  • Add an e2e test that runs on Linux and verifies via `strace` that
    Compass does not actually perform external network I/O when
    `--no-network-traffic` has been specified.
    Branch: align-background
    https://github.com/mongodb-js/compass/commit/c02c5c15aa2f18c0b0e89efafc4b24afbb6bcc24
Comment by Githook User [ 22/Sep/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: implement HADRON_ISOLATED through preferences COMPASS-6065 (#3503)

  • Implement `HADRON_ISOLATED` through the `networkTraffic` preference.
  • Derive the value of other preferences that are shadowed by
    `networkTraffic` through a generic mechanism for doing so
    (we will also need this for `readOnly`/`enableShell`)
  • Add an e2e test that runs on Linux and verifies via `strace` that
    Compass does not actually perform external network I/O when
    `--no-network-traffic` has been specified.
    Branch: main
    https://github.com/mongodb-js/compass/commit/c02c5c15aa2f18c0b0e89efafc4b24afbb6bcc24
Comment by Githook User [ 20/Sep/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: implement HADRON_ISOLATED through preferences COMPASS-6065

  • Implement `HADRON_ISOLATED` through the `networkTraffic` preference.
  • Derive the value of other preferences that are shadowed by
    `networkTraffic` through a generic mechanism for doing so
    (we will also need this for `readOnly`/`enableShell`)
  • Add an e2e test that runs on Linux and verifies via `strace` that
    Compass does not actually perform external network I/O when
    `--no-network-traffic` has been specified.
    Branch: 6065-dev
    https://github.com/mongodb-js/compass/commit/f6c650eaf4cc33dc49bd094140337c1c0ef2d114
Generated at Wed Feb 07 22:41:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.