Skip to content

Commit 3b35dd3

Browse files
committed
chore(ci): inspect supervisor transport bytes
1 parent 06be5aa commit 3b35dd3

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/apply-supervisor-patch.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,27 @@ on:
66
- agent-supervisor-validation
77

88
permissions:
9-
contents: write
9+
contents: read
1010

1111
jobs:
12-
apply:
12+
inspect:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout validation branch
1616
uses: actions/checkout@v4
1717
with:
1818
ref: agent-supervisor-validation
19-
fetch-depth: 0
20-
- name: Verify and apply functional batch
19+
- name: Package transport bytes
2120
shell: bash
2221
run: |
2322
set -euo pipefail
2423
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

Comments
 (0)