autobump: report the whole record behind an escalation

A deferred bump said one line and dropped the rest: the engine's output was cut
to its last four lines and the issue comment carried 25 lines of escalations.txt,
so build.log and the tree/surface diffs never reached anyone. Print the engine
output whole, put every evidence file in the comment (cut, never summarised) and
upload the evidence directory as a run artifact.
This commit is contained in:
Zakk committed 2026-09-03 00:48:09 +10:00
1 parent 26093ca081
commit fc7ef73e1e
5 files changed
+115 -14

No files matched your search

+10
View File
@@ -226,6 +226,8 @@ jobs:
# allow a generous per-op ceiling so a heavy from-source build (net-libs/nodejs ~1h)
# finishes instead of timing out and deferring; keep in step with timeout-minutes above.
AUTOBUMP_OP_TIMEOUT: '7200'
# inside the container: ${{ runner.temp }} is a host path the container lacks
AUTOBUMP_EVIDENCE_DIR: /tmp/autobump-evidence
SHARD: ${{ toJSON(fromJSON(needs.plan.outputs.plan).shards[matrix.shard]) }}
SHARD_ID: ${{ matrix.shard }}
LIMIT: ${{ github.event.inputs.limit || 30 }}
@@ -245,6 +247,14 @@ jobs:
name: autobump-delta-${{ matrix.shard }}
path: autobump-delta-${{ matrix.shard }}.json
- name: upload escalation evidence
if: always()
uses: actions/upload-artifact@v7
with:
name: autobump-evidence-${{ matrix.shard }}
path: /tmp/autobump-evidence
if-no-files-found: ignore
collect:
needs: [plan, bump]
if: ${{ always() && needs.plan.result == 'success' }}