Skip to content

Commit f4a6630

Browse files
Copilotdsyme
andauthored
fix report workflow failure links and prompt test names
Agent-Logs-Url: https://github.com/githubnext/gh-aw-test/sessions/cee199e1-b903-492e-af63-95dcd0180528 Co-authored-by: dsyme <7204669+dsyme@users.noreply.github.com>
1 parent 5dea659 commit f4a6630

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

e2e.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,16 +1904,6 @@ run_report() {
19041904
--json databaseId,conclusion \
19051905
--jq '.[] | select(.conclusion == "failure" or .conclusion == "cancelled" or .conclusion == "timed_out") | .databaseId' 2>/dev/null | head -1 || echo "")
19061906

1907-
# Fall back to most recent run if no conclusively-failed run found
1908-
if [[ -z "$run_id" ]]; then
1909-
run_id=$(gh run list \
1910-
--repo "$repo_full" \
1911-
--workflow="$workflow_file" \
1912-
--limit=1 \
1913-
--json databaseId \
1914-
--jq '.[0].databaseId' 2>/dev/null || echo "")
1915-
fi
1916-
19171907
if [[ -n "$run_id" ]]; then
19181908
run_url="https://github.com/$repo_full/actions/runs/$run_id"
19191909
fi
@@ -1939,7 +1929,7 @@ Debug this workflow failure using your favorite Agent CLI and the agentic-workfl
19391929
19401930
* Start your agent
19411931
* Load the agentic-workflows prompt from \`.github/agents/agentic-workflows.agent.md\` or https://github.com/github/gh-aw/blob/main/.github/agents/agentic-workflows.agent.md
1942-
* Type \`debug the agentic workflow repo-assist failure in $run_ref\`
1932+
* Type \`debug the agentic workflow $test_name failure in $run_ref\`
19431933
ISSUEBODY
19441934
)
19451935

0 commit comments

Comments
 (0)