Skip to content

Commit 2282310

Browse files
Merge remote-tracking branch 'origin/main' into beta-releases
2 parents c7ae4a8 + 656e930 commit 2282310

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/start-beta.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
npm ci
4343
4444
- name: Start Release
45+
env:
46+
GH_TOKEN: ${{ github.token }}
4547
run: |
4648
node scripts/release.js beta \
4749
--merge-branch="${{ github.event.inputs.mergeBranch || 'main' }}" \

.github/workflows/start-ga.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- name: Start Release
4545
env:
4646
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
47+
GH_TOKEN: ${{ github.token }}
4748
run: |
4849
node scripts/release.js ga \
4950
--release-ticket="${{ github.event.inputs.releaseTicket }}" \

packages/data-service/src/data-service.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,8 +1717,12 @@ class DataServiceImpl extends WithLogContext implements DataService {
17171717
return coll.dropSearchIndex(name);
17181718
}
17191719

1720-
@op(mongoLogId(1_001_000_041), ([ns, pipeline]) => {
1721-
return { ns, stages: pipeline.map((stage) => Object.keys(stage)[0]) };
1720+
@op(mongoLogId(1_001_000_041), ([ns, pipeline, options]) => {
1721+
return {
1722+
ns,
1723+
stages: pipeline.map((stage) => Object.keys(stage)[0]),
1724+
maxTimeMS: options?.maxTimeMS,
1725+
};
17221726
})
17231727
aggregateCursor(
17241728
ns: string,

0 commit comments

Comments
 (0)