Skip to content

Commit e39a9cf

Browse files
committed
chore(ci): add timestamp logging to integration test steps
1 parent dfbcae7 commit e39a9cf

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/ts-sdk-ci.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,20 @@ jobs:
5656
uses: astral-sh/setup-uv@v6
5757

5858
- name: Install ROCK Python dependencies
59-
run: uv sync --all-extras --python 3.11
59+
run: |
60+
echo "=== Task started at: $(date '+%Y-%m-%d %H:%M:%S') ==="
61+
uv sync --all-extras --python 3.11
6062
6163
- name: Pull sandbox Docker image
62-
run: docker pull python:3.11
64+
run: |
65+
echo "=== Task started at: $(date '+%Y-%m-%d %H:%M:%S') ==="
66+
docker pull python:3.11
6367
6468
- name: Start ROCK Admin service
6569
env:
6670
ROCK_WORKER_ENV_TYPE: uv
6771
run: |
72+
echo "=== Task started at: $(date '+%Y-%m-%d %H:%M:%S') ==="
6873
nohup uv run admin --env ci --role admin --port 8080 > /tmp/rock-admin.log 2>&1 &
6974
echo "Waiting for admin to be ready..."
7075
for i in $(seq 1 60); do
@@ -85,11 +90,15 @@ jobs:
8590
node-version: "20"
8691

8792
- name: Install pnpm
88-
run: npm install -g pnpm
93+
run: |
94+
echo "=== Task started at: $(date '+%Y-%m-%d %H:%M:%S') ==="
95+
npm install -g pnpm
8996
9097
- name: Install TS SDK dependencies
9198
working-directory: rock/ts-sdk
92-
run: pnpm install --frozen-lockfile
99+
run: |
100+
echo "=== Task started at: $(date '+%Y-%m-%d %H:%M:%S') ==="
101+
pnpm install --frozen-lockfile
93102
94103
# --- Integration tests ---
95104
# ubuntu-latest has 4 vCPU / 16GB RAM. SDK default sandbox spec is
@@ -105,11 +114,14 @@ jobs:
105114
ROCK_DEFAULT_MEMORY: "2g"
106115
ROCK_DEFAULT_CPUS: "1"
107116
ROCK_STARTUP_TIMEOUT: "120"
108-
run: pnpm test:integration
117+
run: |
118+
echo "=== Task started at: $(date '+%Y-%m-%d %H:%M:%S') ==="
119+
pnpm test:integration
109120
110121
- name: Print admin logs on failure
111122
if: failure()
112123
run: |
124+
echo "=== Task started at: $(date '+%Y-%m-%d %H:%M:%S') ==="
113125
echo "=== ROCK Admin Logs (last 200 lines) ==="
114126
tail -200 /tmp/rock-admin.log || true
115127
echo "=== Docker Containers ==="

0 commit comments

Comments
 (0)