Skip to content

Commit c95e64e

Browse files
lpcoxCopilot
andcommitted
Upgrade gh-aw to v0.79.2 (pre-release)
- Resolve merge conflict in smoke-claude.md - Recompile all 40 workflows with gh-aw v0.79.2 - Run postprocess-smoke-workflows.ts - Update actions-lock.json to pin gh-aw-actions/setup@v0.79.2 Includes fix for checkout_pr_branch.cjs failing on bot/app actors (Copilot, dependabot). See github/gh-aw#38134, github/gh-aw#38152. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent df1bf64 commit c95e64e

44 files changed

Lines changed: 3386 additions & 1745 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/aw/actions-lock.json

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
"version": "v7.0.1",
6161
"sha": "043fb46d1a93c77aae656e7c1c64a875d1fc6a0a"
6262
},
63+
"astral-sh/setup-uv@v8.2.0": {
64+
"repo": "astral-sh/setup-uv",
65+
"version": "v8.2.0",
66+
"sha": "fac544c07dec837d0ccb6301d7b5580bf5edae39"
67+
},
6368
"docker/build-push-action@v7.2.0": {
6469
"repo": "docker/build-push-action",
6570
"version": "v7.2.0",
@@ -75,16 +80,31 @@
7580
"version": "v4.1.0",
7681
"sha": "d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5"
7782
},
78-
"github/gh-aw-actions/setup@v0.78.3": {
83+
"github/gh-aw-actions/setup-cli@v0.79.2": {
84+
"repo": "github/gh-aw-actions/setup-cli",
85+
"version": "v0.79.2",
86+
"sha": "9b1d730701c16b15673633e5696d01677fad9844"
87+
},
88+
"github/gh-aw-actions/setup@v0.79.2": {
7989
"repo": "github/gh-aw-actions/setup",
80-
"version": "v0.78.3",
81-
"sha": "8cfea5ae9bee18df8e50a96affdb6d666cd7b9a3"
90+
"version": "v0.79.2",
91+
"sha": "9b1d730701c16b15673633e5696d01677fad9844"
8292
},
8393
"github/gh-aw/actions/setup-cli@v0.78.3": {
8494
"repo": "github/gh-aw/actions/setup-cli",
8595
"version": "v0.78.3",
8696
"sha": "544dd7355d846f9a7a1a5817a18148442e9ffe35"
8797
},
98+
"github/gh-aw/actions/setup-cli@v0.79.1": {
99+
"repo": "github/gh-aw/actions/setup-cli",
100+
"version": "v0.79.1",
101+
"sha": "a478150b234d71d663eda1d687f1075fd9818cde"
102+
},
103+
"github/gh-aw/actions/setup-cli@v0.79.2": {
104+
"repo": "github/gh-aw/actions/setup-cli",
105+
"version": "v0.79.2",
106+
"sha": "05fab00ffacfaf079f6007d4309d7e37e56b3fd8"
107+
},
88108
"github/gh-aw/actions/setup@v0.78.3": {
89109
"repo": "github/gh-aw/actions/setup",
90110
"version": "v0.78.3",

.github/dependabot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ updates:
4545
patterns:
4646
- "*"
4747
ignore:
48-
- dependency-name: "github/gh-aw-actions/**" # Managed by gh aw compile. Version-locked to the gh-aw compiler; do not bump.
48+
- dependency-name: "github/gh-aw-actions/**"
49+
- dependency-name: "github/gh-aw-actions" # Managed by gh aw compile. Version-locked to the gh-aw compiler; do not bump.
4950
open-pull-requests-limit: 1
5051
package-ecosystem: github-actions
5152
schedule:

.github/workflows/agentics-maintenance.yml

Lines changed: 46 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1313
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1414
#
15-
# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.77.5). DO NOT EDIT.
15+
# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.79.2). DO NOT EDIT.
1616
#
1717
# To regenerate this workflow, run:
1818
# gh aw compile
@@ -93,7 +93,7 @@ jobs:
9393
pull-requests: write
9494
steps:
9595
- name: Setup Scripts
96-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
96+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
9797
with:
9898
destination: ${{ runner.temp }}/gh-aw/actions
9999

@@ -131,7 +131,7 @@ jobs:
131131
actions: write
132132
steps:
133133
- name: Setup Scripts
134-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
134+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
135135
with:
136136
destination: ${{ runner.temp }}/gh-aw/actions
137137

@@ -155,12 +155,12 @@ jobs:
155155
operation: ${{ steps.record.outputs.operation }}
156156
steps:
157157
- name: Checkout repository
158-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
159159
with:
160160
persist-credentials: false
161161

162162
- name: Setup Scripts
163-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
163+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
164164
with:
165165
destination: ${{ runner.temp }}/gh-aw/actions
166166

@@ -175,9 +175,9 @@ jobs:
175175
await main();
176176
177177
- name: Install gh-aw
178-
uses: github/gh-aw-actions/setup-cli@v0.77.5
178+
uses: github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
179179
with:
180-
version: v0.77.5
180+
version: v0.79.2
181181

182182
- name: Run operation
183183
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -205,7 +205,7 @@ jobs:
205205
pull-requests: write
206206
steps:
207207
- name: Setup Scripts
208-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
208+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
209209
with:
210210
destination: ${{ runner.temp }}/gh-aw/actions
211211

@@ -244,14 +244,14 @@ jobs:
244244
run_url: ${{ steps.record.outputs.run_url }}
245245
steps:
246246
- name: Checkout actions folder
247-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
247+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
248248
with:
249249
sparse-checkout: |
250250
actions
251251
persist-credentials: false
252252

253253
- name: Setup Scripts
254-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
254+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
255255
with:
256256
destination: ${{ runner.temp }}/gh-aw/actions
257257

@@ -290,12 +290,12 @@ jobs:
290290
issues: write
291291
steps:
292292
- name: Checkout repository
293-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
293+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
294294
with:
295295
persist-credentials: false
296296

297297
- name: Setup Scripts
298-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
298+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
299299
with:
300300
destination: ${{ runner.temp }}/gh-aw/actions
301301

@@ -310,9 +310,9 @@ jobs:
310310
await main();
311311
312312
- name: Install gh-aw
313-
uses: github/gh-aw-actions/setup-cli@v0.77.5
313+
uses: github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
314314
with:
315-
version: v0.77.5
315+
version: v0.79.2
316316

317317
- name: Create missing labels
318318
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -336,12 +336,12 @@ jobs:
336336
issues: write
337337
steps:
338338
- name: Checkout repository
339-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
339+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
340340
with:
341341
persist-credentials: false
342342

343343
- name: Setup Scripts
344-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
344+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
345345
with:
346346
destination: ${{ runner.temp }}/gh-aw/actions
347347

@@ -356,9 +356,9 @@ jobs:
356356
await main();
357357
358358
- name: Install gh-aw
359-
uses: github/gh-aw-actions/setup-cli@v0.77.5
359+
uses: github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
360360
with:
361-
version: v0.77.5
361+
version: v0.79.2
362362

363363
- name: Restore activity report logs cache
364364
id: activity_report_logs_cache
@@ -441,12 +441,12 @@ jobs:
441441
issues: write
442442
steps:
443443
- name: Checkout repository
444-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
444+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
445445
with:
446446
persist-credentials: false
447447

448448
- name: Setup Scripts
449-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
449+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
450450
with:
451451
destination: ${{ runner.temp }}/gh-aw/actions
452452

@@ -461,40 +461,37 @@ jobs:
461461
await main();
462462
463463
- name: Install gh-aw
464-
uses: github/gh-aw-actions/setup-cli@v0.77.5
464+
uses: github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
465465
with:
466-
version: v0.77.5
466+
version: v0.79.2
467467

468468
- name: Restore forecast report logs cache
469469
id: forecast_report_logs_cache
470470
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
471471
with:
472-
path: .github/aw/logs
472+
path: ./.github/aw/logs
473473
key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
474474
restore-keys: |
475475
${{ runner.os }}-forecast-report-logs-${{ github.repository }}-
476476
${{ runner.os }}-forecast-report-logs-
477477
478478
- name: Generate forecast report
479479
id: generate_forecast_report
480+
timeout-minutes: 30
480481
shell: bash
481482
env:
482483
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
484+
DEBUG: "*"
483485
GH_AW_CMD_PREFIX: gh aw
484486
run: |
485487
mkdir -p ./.cache/gh-aw/forecast
486-
${GH_AW_CMD_PREFIX} logs --repo "${{ github.repository }}" --start-date -30d --count 1500 > /dev/null
487-
if ! compgen -G ".github/aw/logs/run-*/run_summary.json" > /dev/null; then
488-
echo "::error::Missing run summary cache in .github/aw/logs after gh aw logs warm-up; cannot run forecast."
489-
exit 1
490-
fi
491488
set +e
492-
${GH_AW_CMD_PREFIX} forecast --repo "${{ github.repository }}" --timeout 10 --json 2> >(grep -Fv "forecast is an experimental command and may change without notice" >&2) > ./.cache/gh-aw/forecast/report.json
489+
${GH_AW_CMD_PREFIX} forecast --repo "${{ github.repository }}" --timeout 30 --verbose --json > ./.cache/gh-aw/forecast/report.json
493490
forecast_exit_code=$?
494491
set -e
495492
if [ "${forecast_exit_code}" -eq 124 ]; then
496-
echo '{"outcome":"timeout","message":"Forecast computation timed out after 10 minutes."}' > ./.cache/gh-aw/forecast/error.json
497-
echo "::error::Forecast computation timed out after 10 minutes."
493+
echo '{"outcome":"timeout","message":"Forecast computation timed out after 30 minutes."}' > ./.cache/gh-aw/forecast/error.json
494+
echo "::error::Forecast computation timed out after 30 minutes."
498495
exit 1
499496
fi
500497
if [ "${forecast_exit_code}" -ne 0 ]; then
@@ -503,12 +500,23 @@ jobs:
503500
exit 1
504501
fi
505502
503+
- name: Debug forecast logs folder
504+
if: ${{ always() }}
505+
shell: bash
506+
run: |
507+
if [ ! -d ./.github/aw/logs ]; then
508+
echo "Logs directory not found: ./.github/aw/logs"
509+
exit 0
510+
fi
511+
echo "Files under ./.github/aw/logs:"
512+
find ./.github/aw/logs -type f | sort
513+
506514
- name: Save forecast report logs cache
507515
if: ${{ always() }}
508516
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
509517
with:
510-
path: .github/aw/logs
511-
key: ${{ steps.forecast_report_logs_cache.outputs.cache-primary-key }}
518+
path: ./.github/aw/logs
519+
key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
512520

513521
- name: Generate forecast issue
514522
if: ${{ always() }}
@@ -530,7 +538,7 @@ jobs:
530538
issues: write
531539
steps:
532540
- name: Setup Scripts
533-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
541+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
534542
with:
535543
destination: ${{ runner.temp }}/gh-aw/actions
536544

@@ -562,12 +570,12 @@ jobs:
562570
issues: write
563571
steps:
564572
- name: Checkout repository
565-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
573+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
566574
with:
567575
persist-credentials: false
568576

569577
- name: Setup Scripts
570-
uses: github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
578+
uses: github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
571579
with:
572580
destination: ${{ runner.temp }}/gh-aw/actions
573581

@@ -582,9 +590,9 @@ jobs:
582590
await main();
583591
584592
- name: Install gh-aw
585-
uses: github/gh-aw-actions/setup-cli@v0.77.5
593+
uses: github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
586594
with:
587-
version: v0.77.5
595+
version: v0.79.2
588596

589597
- name: Validate workflows and file issue on findings
590598
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0

0 commit comments

Comments
 (0)