[Integration Tests] Sub-pipeline scoping — $unionWith, $lookup, and terminal stages

    • Type: Sub-task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Covers document_results_and_metadata_union_with.js (4 scenarios: $$SEARCH_META isolation across \$unionWith boundaries, sharded union), document_results_and_metadata_lookup.js (3 scenarios: post-search lookup, let-binding access, search inside \$lookup), and document_results_and_metadata_terminal_stages.js (3 scenarios: \$out, \$merge, sharded \$out). 10 scenarios total.

      Test plan: [Integration Test Plan|https://docs.google.com/document/d/1PksqinFLT5JZXEPR5sD6BSvzIxMCzE5BdxPweCQpWOk/edit?tab=t.0]

            Assignee:
            Unassigned
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: