|
6 | 6 | - agent-supervisor-validation |
7 | 7 |
|
8 | 8 | permissions: |
9 | | - contents: write |
| 9 | + contents: read |
10 | 10 |
|
11 | 11 | jobs: |
12 | | - apply: |
| 12 | + inspect: |
13 | 13 | runs-on: ubuntu-latest |
14 | 14 | steps: |
15 | 15 | - name: Checkout validation branch |
16 | 16 | uses: actions/checkout@v4 |
17 | 17 | with: |
18 | 18 | ref: agent-supervisor-validation |
19 | | - fetch-depth: 0 |
20 | | - - name: Verify and apply functional batch |
| 19 | + - name: Package transport bytes |
21 | 20 | shell: bash |
22 | 21 | run: | |
23 | 22 | set -euo pipefail |
24 | 23 | cat .github/supervisor-patch/00 .github/supervisor-patch/01 > "$RUNNER_TEMP/supervisor-v2.patch.gz.b64" |
25 | | - echo "4fa3e67e74827967e03c6c742dbcc6e18137959a8a44146133e4e867526c17c4 $RUNNER_TEMP/supervisor-v2.patch.gz.b64" | sha256sum --check |
26 | | - base64 --decode "$RUNNER_TEMP/supervisor-v2.patch.gz.b64" | gzip --decompress > "$RUNNER_TEMP/supervisor-v2.patch" |
27 | | - echo "212972a8fefb9461fca1b0df28b8b3fbe33383aa1d113e10ffa7068cd18068a3 $RUNNER_TEMP/supervisor-v2.patch" | sha256sum --check |
28 | | - git apply --check "$RUNNER_TEMP/supervisor-v2.patch" |
29 | | - git apply --index "$RUNNER_TEMP/supervisor-v2.patch" |
30 | | - git rm -r .github/supervisor-patch .github/workflows/apply-supervisor-patch.yml |
31 | | - git config user.name "github-actions[bot]" |
32 | | - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" |
33 | | - git commit -m "feat(devin): add native process supervisor" |
34 | | - git push origin HEAD:agent-supervisor-validation |
| 24 | + wc -c "$RUNNER_TEMP/supervisor-v2.patch.gz.b64" |
| 25 | + sha256sum "$RUNNER_TEMP/supervisor-v2.patch.gz.b64" |
| 26 | + - name: Upload transport bytes |
| 27 | + uses: actions/upload-artifact@v4 |
| 28 | + with: |
| 29 | + name: supervisor-transport-debug |
| 30 | + path: ${{ runner.temp }}/supervisor-v2.patch.gz.b64 |
| 31 | + if-no-files-found: error |
| 32 | + retention-days: 1 |
0 commit comments