Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix review issues in codegen workflows
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
  • Loading branch information
edburns and Copilot committed Apr 24, 2026
commit d5721ae12430c27c6016857def426f86e20b4309
4 changes: 4 additions & 0 deletions .github/workflows/codegen-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
env:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
run: |
set -o pipefail
mvn verify 2>&1 | tee /tmp/mvn-verify-output.txt
echo "exit_code=$?" >> "$GITHUB_OUTPUT"

Expand Down Expand Up @@ -131,19 +132,22 @@ jobs:
if: steps.trigger-fix.outcome == 'success'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: ${{ github.head_ref }}
run: |
echo "Waiting for agentic fix workflow to start..."
sleep 30

for i in $(seq 1 60); do
RUN_ID=$(gh run list \
--workflow=codegen-agentic-fix.lock.yml \
--branch="$BRANCH" \
--limit=1 \
--json databaseId,status \
--jq '.[0].databaseId')

STATUS=$(gh run list \
--workflow=codegen-agentic-fix.lock.yml \
--branch="$BRANCH" \
--limit=1 \
--json databaseId,status \
--jq '.[0].status')
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/update-copilot-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
> Created by the **Update @github/copilot Dependency** workflow." \
--base main \
--head "$BRANCH" \
| grep -oP '\d+$' || gh pr view "$BRANCH" --json number --jq .number)
| grep -oE '[0-9]+$' || gh pr view "$BRANCH" --json number --jq .number)
fi
echo "pr_number=$PR_NUMBER" >> "$GITHUB_OUTPUT"

Expand All @@ -179,6 +179,7 @@ jobs:
env:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
run: |
set -o pipefail
mvn verify 2>&1 | tee /tmp/mvn-verify-output.txt
echo "exit_code=$?" >> "$GITHUB_OUTPUT"

Expand Down Expand Up @@ -214,20 +215,22 @@ jobs:
if: steps.trigger-fix.outcome == 'success'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: ${{ steps.commit-changes.outputs.branch }}
run: |
echo "Waiting for agentic fix workflow to start..."
sleep 30

# Find the most recent run of codegen-agentic-fix triggered after us
for i in $(seq 1 60); do
RUN_ID=$(gh run list \
--workflow=codegen-agentic-fix.lock.yml \
--branch="$BRANCH" \
--limit=1 \
--json databaseId,status \
--jq '.[0].databaseId')

STATUS=$(gh run list \
--workflow=codegen-agentic-fix.lock.yml \
--branch="$BRANCH" \
--limit=1 \
--json databaseId,status \
--jq '.[0].status')
Expand Down
Loading