From 65f96bc9d781631fcb90bf5d6ca0dff6082ea917 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:00:10 +0000 Subject: [PATCH 1/3] Initial plan From 1b3e041c508efec4596f0dd58996399dd1f2eadf Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:01:13 +0000 Subject: [PATCH 2/3] Fix devin-review workflow TTY error by emulating terminal Co-authored-by: mnm-matin <45293386+mnm-matin@users.noreply.github.com> --- .github/workflows/devin-review.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/devin-review.yml b/.github/workflows/devin-review.yml index 5754ba5..8c5c644 100644 --- a/.github/workflows/devin-review.yml +++ b/.github/workflows/devin-review.yml @@ -20,4 +20,9 @@ jobs: node-version: '20' - name: Run Devin Review - run: npx devin-review ${{ github.event.pull_request.html_url }} + # Use script to emulate a TTY as devin-review requires terminal features + # The -q flag suppresses script output, -e exits with command exit code, + # and -c runs the command. /dev/null discards script's own output. + # CI=true ensures the tool runs in non-interactive CI mode. + run: | + script -q -e -c "CI=true npx devin-review ${{ github.event.pull_request.html_url }}" /dev/null From 4f93ea9b9be4b9521a09668116e67f77389b134f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:02:25 +0000 Subject: [PATCH 3/3] Improve workflow: use env block for CI variable Co-authored-by: mnm-matin <45293386+mnm-matin@users.noreply.github.com> --- .github/workflows/devin-review.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/devin-review.yml b/.github/workflows/devin-review.yml index 8c5c644..ea1410b 100644 --- a/.github/workflows/devin-review.yml +++ b/.github/workflows/devin-review.yml @@ -23,6 +23,7 @@ jobs: # Use script to emulate a TTY as devin-review requires terminal features # The -q flag suppresses script output, -e exits with command exit code, # and -c runs the command. /dev/null discards script's own output. - # CI=true ensures the tool runs in non-interactive CI mode. + env: + CI: true # Ensures the tool runs in non-interactive CI mode run: | - script -q -e -c "CI=true npx devin-review ${{ github.event.pull_request.html_url }}" /dev/null + script -q -e -c "npx devin-review ${{ github.event.pull_request.html_url }}" /dev/null