Skip to content

Commit 7ec94a5

Browse files
committed
fix(gateway): complete session finalizers before shutdown (#105697)
Preserve the original contributor branch and merge current main. Fence new root work before stopping, drain the canonical work set inside the existing watchdog budget, and verify real packaged gateway, plugin, WebSocket, and operating-system SIGTERM behavior.
2 parents 42586f0 + 1d047ac commit 7ec94a5

672 files changed

Lines changed: 35999 additions & 6533 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2051,10 +2051,11 @@ jobs:
20512051
OPENCLAW_NODE_TEST_INCLUDE_PATTERNS_JSON: ${{ toJson(matrix.includePatterns) }}
20522052
OPENCLAW_NODE_TEST_TARGETS_JSON: ${{ toJson(matrix.targets) }}
20532053
# Frozen targets can carry integration hooks whose cold setup exceeds
2054-
# the current 120-second default on shared release runners.
2055-
OPENCLAW_NODE_TEST_VITEST_ARGS_JSON: ${{ needs.preflight.outputs.compatibility_target == 'true' && '["--hookTimeout=300000"]' || '[]' }}
2054+
# the current defaults on shared release runners. Keep the no-output
2055+
# watchdog above Vitest so it cannot preempt hook diagnostics.
2056+
OPENCLAW_NODE_TEST_VITEST_ARGS_JSON: ${{ needs.preflight.outputs.compatibility_target == 'true' && '["--hookTimeout=600000"]' || '[]' }}
20562057
OPENCLAW_VITEST_SHARD_NAME: ${{ matrix.shard_name }}
2057-
OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS: "300000"
2058+
OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS: ${{ needs.preflight.outputs.compatibility_target == 'true' && '660000' || '300000' }}
20582059
OPENCLAW_VITEST_NO_OUTPUT_RETRY: "1"
20592060
OPENCLAW_NODE_TEST_PLAN_CONCURRENCY: ${{ matrix.plan_concurrency }}
20602061
shell: bash

‎.github/workflows/openclaw-live-and-e2e-checks-reusable.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,12 +974,12 @@ jobs:
974974
shell: bash
975975
run: |
976976
set -euo pipefail
977-
export OPENSHELL_VERSION=v0.0.68
977+
export OPENSHELL_VERSION=v0.0.92
978978
installer_path="$(mktemp "${RUNNER_TEMP}/openshell-install.XXXXXX")"
979979
trap 'rm -f "$installer_path"' EXIT
980980
curl -LsSf --connect-timeout 10 --max-time 120 \
981981
-o "$installer_path" \
982-
https://raw.githubusercontent.com/NVIDIA/OpenShell/d64542f69d06694cbd203b64929d286dd0533bbb/install.sh
982+
https://raw.githubusercontent.com/NVIDIA/OpenShell/2d108818f84be568e63232d5d0aba53775cea4f7/install.sh
983983
sh "$installer_path"
984984
openshell --version
985985

0 commit comments

Comments
 (0)