[COMPASS-6976] Aggregation builder snippets should apply disregaring the env Created: 26/Jun/23  Updated: 17/Oct/23  Resolved: 02/Oct/23

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.40.3

Type: Bug Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Basit Chonka
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Epic Link: COMPASS-6599
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Lambeosaurus

 Description   

Description: When selecting a stage that is not supported by the server user is connected to, snippet is omitted and the default fallback one (empty object) is used. As we allow users to select the stage, there is no reason to not apply the snippet for that case.

To reproduce, connect to non-Atlas server (like a locally running one) and select $search stage



 Comments   
Comment by Githook User [ 17/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): disregard env in snippets COMPASS-6976 (#4906)
Branch: investigate-update-preview
https://github.com/mongodb-js/compass/commit/da76e43124b2d90c0fce9c7e10cbc987844ba6fd

Comment by Githook User [ 11/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): disregard env in snippets COMPASS-6976 (#4906)
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/da76e43124b2d90c0fce9c7e10cbc987844ba6fd

Comment by Githook User [ 05/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): disregard env in snippets COMPASS-6976 (#4906)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/da76e43124b2d90c0fce9c7e10cbc987844ba6fd

Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): disregard env in snippets COMPASS-6976 (#4906)
Branch: export-to-language-v6
https://github.com/mongodb-js/compass/commit/da76e43124b2d90c0fce9c7e10cbc987844ba6fd

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): disregard env in snippets COMPASS-6976 (#4906)
Branch: ai-accuracy-tests
https://github.com/mongodb-js/compass/commit/da76e43124b2d90c0fce9c7e10cbc987844ba6fd

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): disregard env in snippets COMPASS-6976 (#4906)
Branch: feature/COMPASS-7246
https://github.com/mongodb-js/compass/commit/da76e43124b2d90c0fce9c7e10cbc987844ba6fd

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): disregard env in snippets COMPASS-6976 (#4906)
Branch: search-indexes-autocomplete
https://github.com/mongodb-js/compass/commit/da76e43124b2d90c0fce9c7e10cbc987844ba6fd

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): disregard env in snippets COMPASS-6976 (#4906)
Branch: main
https://github.com/mongodb-js/compass/commit/da76e43124b2d90c0fce9c7e10cbc987844ba6fd

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: Merge branch 'main' into COMPASS-6976-stage-snippet
Branch: COMPASS-6976-stage-snippet
https://github.com/mongodb-js/compass/commit/0b9725721ac6dc4b7fff1ef37fed3fa24bbf1f97

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