Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/actions/upload-nemoclaw-traces/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: upload-nemoclaw-traces
description: Upload NemoClaw Chrome trace JSON files generated by NEMOCLAW_TRACE_DIR.

inputs:
name:
description: Artifact name
required: true
path:
description: Trace file or directory path
required: false
default: /tmp/nemoclaw-traces

runs:
using: composite
steps:
- name: Upload NemoClaw profiling traces
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
path: ${{ inputs.path }}
if-no-files-found: ignore
retention-days: 14
26 changes: 26 additions & 0 deletions .github/workflows/e2e-branch-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ jobs:
'set +e
mkdir -p /tmp/nc-debug
cp /tmp/nemoclaw-onboard.log /tmp/nc-debug/ 2>/dev/null || true
cp -a /tmp/nemoclaw-traces /tmp/nc-debug/ 2>/dev/null || true
timeout 15s openshell sandbox list > /tmp/nc-debug/sandbox-list.txt 2>&1
timeout 15s openshell gateway status > /tmp/nc-debug/gateway-status.txt 2>&1
timeout 15s docker ps -a > /tmp/nc-debug/docker-ps.txt 2>&1
Expand All @@ -331,6 +332,31 @@ jobs:
"${INSTANCE}:/tmp/nc-debug.tar.gz" brev-debug-bundle/ 2>/dev/null || true
ls -la brev-debug-bundle/ || true

- name: Collect Brev profiling traces
if: always()
continue-on-error: true
run: |
INSTANCE="e2e-pr-${{ inputs.pr_number || github.run_id }}"
mkdir -p brev-traces
brev refresh >/dev/null 2>&1 || true
ssh -o StrictHostKeyChecking=no -o LogLevel=ERROR \
-o ConnectTimeout=10 "${INSTANCE}" \
'test -d /tmp/nemoclaw-traces && tar -C /tmp -czf /tmp/nemoclaw-traces.tar.gz nemoclaw-traces || true' || true
scp -o StrictHostKeyChecking=no -o LogLevel=ERROR \
"${INSTANCE}:/tmp/nemoclaw-traces.tar.gz" brev-traces/ 2>/dev/null || true
if [ -f brev-traces/nemoclaw-traces.tar.gz ]; then
tar -C brev-traces -xzf brev-traces/nemoclaw-traces.tar.gz
fi

- name: Upload NemoClaw profiling traces
if: always()
uses: actions/upload-artifact@v4
with:
name: nemoclaw-traces-e2e-branch-validation
path: brev-traces/nemoclaw-traces
if-no-files-found: ignore
retention-days: 14

- name: Upload Brev debug bundle on failure
if: failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/macos-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE: "1"
NEMOCLAW_RECREATE_SANDBOX: "1"
NEMOCLAW_SANDBOX_NAME: "e2e-macos"
NEMOCLAW_TRACE_DIR: /tmp/nemoclaw-traces/macos-e2e
run: bash test/e2e/test-full-e2e.sh

- name: Explain skipped full E2E
Expand All @@ -99,6 +100,13 @@ jobs:
echo 'Skipping macOS full E2E because Docker is unavailable on this runner.'
echo 'The workflow still validated the NemoClaw build on macOS (Apple Silicon).'

- name: Upload NemoClaw profiling traces
if: always()
uses: ./.github/actions/upload-nemoclaw-traces
with:
name: nemoclaw-traces-macos-e2e
path: /tmp/nemoclaw-traces/macos-e2e

- name: Upload logs on failure
if: failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
Loading
Loading