Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 09b54be

Browse files
authored
fix(agent): preserve task run ID for artifact uploads
Generated-By: PostHog Code Task-Id: 577e32f4-830b-4174-a9c4-efa9464652a1
1 parent 113eae9 commit 09b54be

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/agent/src/adapters/codex-app-server/local-tools-mcp-server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if (!ctxEnv) {
3434
let parsed: {
3535
cwd: string;
3636
taskId?: string;
37+
taskRunId?: string;
3738
token?: string;
3839
baseBranch?: string;
3940
};
@@ -51,6 +52,7 @@ const ctx: LocalToolCtx = {
5152
cwd: parsed.cwd,
5253
token: parsed.token ?? readGithubTokenFromEnv(),
5354
taskId: parsed.taskId,
55+
taskRunId: parsed.taskRunId,
5456
baseBranch: parsed.baseBranch,
5557
};
5658

0 commit comments

Comments
 (0)