From e207f20f6419b9d7d1ff3f6364e6295c6d5a87ae Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Fri, 30 May 2025 11:16:30 -0700 Subject: [PATCH] fix: add extra debugging to GitHub Action (#1173) https://github.com/openai/codex/actions/runs/15352839832/job/43205041563 appeared to fail around `postComment()`, but I don't see the output from `fail()` in the logs. Adding a bit more info. --- .github/actions/codex/src/post-comment.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/codex/src/post-comment.ts b/.github/actions/codex/src/post-comment.ts index 9a3d7528..914fd0d3 100644 --- a/.github/actions/codex/src/post-comment.ts +++ b/.github/actions/codex/src/post-comment.ts @@ -17,6 +17,7 @@ export async function postComment( const bodyWithFooter = footer ? `${commentBody}${footer}` : commentBody; const octokit = ctx.getOctokit(); + console.info("Got Octokit instance for posting comment"); const { owner, repo } = github.context.repo; const issueNumber = github.context.issue.number; @@ -28,6 +29,7 @@ export async function postComment( } try { + console.info("Calling octokit.rest.issues.createComment()"); await octokit.rest.issues.createComment({ owner, repo,