Skip to content

Commit 7839e81

Browse files
authored
Merge branch 'main' into users/krid/testcase-continuation-token-fix
2 parents 2a1b1b8 + bd9af0b commit 7839e81

3 files changed

Lines changed: 30 additions & 17 deletions

File tree

.github/acl/access.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,15 @@ configuration:
3030
role: Write
3131
- member: YevheniiKholodkov
3232
role: Write
33+
- member: krid-583
34+
role: Write
35+
- member: akshay9194
36+
role: Write
37+
- member: Deepankshuu
38+
role: Write
39+
- member: dishainwati
40+
role: Write
41+
- member: haddanki-personal
42+
role: Write
43+
- member: ShriHumrudha
44+
role: Write

package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tools/pipelines.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ function configurePipelineTools(server: McpServer, tokenProvider: () => Promise<
387387
pipelines: z.record(
388388
z.string().describe("Name of the pipeline resource."),
389389
z.object({
390-
runId: z.coerce.number().min(1).describe("Id of the source pipeline run that triggered or is referenced by this pipeline run."),
390+
runId: z.coerce.number().min(1).optional().describe("Id of the source pipeline run that triggered or is referenced by this pipeline run."),
391391
version: z.string().optional().describe("Version of the source pipeline run."),
392392
})
393393
),
@@ -439,6 +439,7 @@ function configurePipelineTools(server: McpServer, tokenProvider: () => Promise<
439439
const pipelineRun = await pipelinesApi.runPipeline(runRequest, project, pipelineId, pipelineVersion);
440440
const queuedBuild = { id: pipelineRun.id };
441441
const buildId = queuedBuild.id;
442+
442443
if (buildId === undefined) {
443444
throw new Error("Failed to get build ID from pipeline run");
444445
}

0 commit comments

Comments
 (0)