test: speed up small unit fast cases #34
ci.yml
on: push
preflight
16s
Matrix: check-additional-shard
Matrix: check-shard
Matrix: checks-fast-channel-contracts-shard
Matrix: checks-node-core-test-nondist-shard
Matrix: checks-node-extensions-shard
checks-fast-protocol
37s
checks-node-compat-node22
0s
check-docs
0s
skills-python
16s
macos-swift
0s
Matrix: android
Matrix: checks-fast-core
Matrix: checks-windows
Matrix: macos-node
security-fast
3s
Matrix: checks-node-core-test-dist-shard
build-smoke
3s
Matrix: checks
check-additional
2s
check
4s
checks-fast-contracts-channels
3s
checks-node-extensions
3s
checks-node-core
4s
Annotations
6 errors and 19 warnings
|
checks-node-core-runtime-infra
Process completed with exit code 1.
|
|
[logging] src/logging/subsystem.test.ts > createSubsystemLogger().isEnabled > redacts before colorizing subsystem console messages so ANSI reset codes survive:
src/logging/subsystem.test.ts#L250
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/logging/subsystem.test.ts:250:44
|
|
[tooling] ../scripts/npm-telegram-live.test.ts > package Telegram live Docker E2E > keeps private QA harness imports local while using the installed package dist:
test/scripts/npm-telegram-live.test.ts#L73
AssertionError: expected '#!/usr/bin/env bash\n# Installs an Op…' to contain 'pkg.exports["./plugin-sdk/qa-channel"]'
- Expected
+ Received
- pkg.exports["./plugin-sdk/qa-channel"]
+ #!/usr/bin/env bash
+ # Installs an OpenClaw package candidate in Docker, performs Telegram
+ # onboarding/doctor recovery, then runs the Telegram QA live harness.
+ set -euo pipefail
+
+ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
+ source "$ROOT_DIR/scripts/lib/docker-e2e-image.sh"
+
+ IMAGE_NAME="$(docker_e2e_resolve_image "openclaw-npm-telegram-live-e2e" OPENCLAW_NPM_TELEGRAM_LIVE_E2E_IMAGE)"
+ DOCKER_TARGET="${OPENCLAW_NPM_TELEGRAM_DOCKER_TARGET:-build}"
+ PACKAGE_SPEC="${OPENCLAW_NPM_TELEGRAM_PACKAGE_SPEC:-openclaw@beta}"
+ PACKAGE_TGZ="${OPENCLAW_NPM_TELEGRAM_PACKAGE_TGZ:-${OPENCLAW_CURRENT_PACKAGE_TGZ:-}}"
+ PACKAGE_LABEL="${OPENCLAW_NPM_TELEGRAM_PACKAGE_LABEL:-}"
+ OUTPUT_DIR="${OPENCLAW_NPM_TELEGRAM_OUTPUT_DIR:-.artifacts/qa-e2e/npm-telegram-live}"
+
+ resolve_credential_source() {
+ if [ -n "${OPENCLAW_NPM_TELEGRAM_CREDENTIAL_SOURCE:-}" ]; then
+ printf "%s" "$OPENCLAW_NPM_TELEGRAM_CREDENTIAL_SOURCE"
+ return 0
+ fi
+ if [ -n "${OPENCLAW_QA_CREDENTIAL_SOURCE:-}" ]; then
+ printf "%s" "$OPENCLAW_QA_CREDENTIAL_SOURCE"
+ return 0
+ fi
+ if [ -n "${CI:-}" ] && [ -n "${OPENCLAW_QA_CONVEX_SITE_URL:-}" ]; then
+ if [ -n "${OPENCLAW_QA_CONVEX_SECRET_CI:-}" ] || [ -n "${OPENCLAW_QA_CONVEX_SECRET_MAINTAINER:-}" ]; then
+ printf "convex"
+ fi
+ fi
+ }
+
+ resolve_credential_role() {
+ if [ -n "${OPENCLAW_NPM_TELEGRAM_CREDENTIAL_ROLE:-}" ]; then
+ printf "%s" "$OPENCLAW_NPM_TELEGRAM_CREDENTIAL_ROLE"
+ return 0
+ fi
+ if [ -n "${OPENCLAW_QA_CREDENTIAL_ROLE:-}" ]; then
+ printf "%s" "$OPENCLAW_QA_CREDENTIAL_ROLE"
+ fi
+ }
+
+ validate_openclaw_package_spec() {
+ local spec="$1"
+ if [[ "$spec" =~ ^openclaw@(beta|latest|[0-9]{4}\.[1-9][0-9]*\.[1-9][0-9]*(-[1-9][0-9]*|-beta\.[1-9][0-9]*)?)$ ]]; then
+ return 0
+ fi
+ echo "OPENCLAW_NPM_TELEGRAM_PACKAGE_SPEC must be openclaw@beta, openclaw@latest, or an exact OpenClaw release version; got: $spec" >&2
+ exit 1
+ }
+
+ resolve_package_tgz() {
+ local candidate="$1"
+ if [ -z "$candidate" ]; then
+ return 0
+ fi
+ if [ ! -f "$candidate" ]; then
+ echo "OPENCLAW_NPM_TELEGRAM_PACKAGE_TGZ must point to an existing .tgz file; got: $candidate" >&2
+ exit 1
+ fi
+ case "$candidate" in
+ *.tgz) ;;
+ *)
+ echo "OPENCLAW_NPM_TELEGRAM_PACKAGE_TGZ must point to a .tgz file; got: $candidate" >&2
+ exit 1
+ ;;
+ esac
+ local dir
+ local base
+ dir="$(cd "$(dirname "$candidate")" && pwd)"
+ base="$(basename "$candidate")"
+ printf "%s/%s" "$dir" "$base"
+ }
+
+ package_mount_args=()
+ package_install_source="$PACKAGE_SPEC"
+ resolved_package_tgz="$(resolve_package_tgz "$PACKAGE_TGZ")"
+ if [ -n "$resolved_package_tgz" ]; then
+ package_install_source="/package-under-test/$(basename "$resolved_package_tgz")"
+ package_mount_args=(-v "$resolved_package_tgz:$package_install_source:ro")
+ else
+ validate_openclaw_package_spec "$PACKAGE_SPEC"
+ fi
+ if [ -z "$PACKAGE_LABEL" ]; then
+ if [ -n "$resolved_package_tgz" ]; then
+ PACKAGE_LABEL="$(basename "$resolved_package_tgz")"
+ else
+ PACKAGE_LABEL="$PACKAGE_SPEC"
+ fi
+ fi
+
+ docker_e2e_build_or_reuse "$IMAGE_NAME" npm-telegram-live "$ROOT_DIR/scripts/e2e/Dockerfile" "$ROOT_DIR" "$DOCKER_TARGET"
+ docker_e2e_harness_mount_args
+
+ mkdir -p "$ROOT_DIR/.artifacts/qa-e2e"
+ run_log="$(mktemp "${TMPDIR:-/tmp}/openclaw-npm-telegram-live.XXXXXX")"
+ npm_prefix_host="$(mktemp -d "$ROOT_DIR/.artifacts/qa-e2e/npm-telegram-live-prefix.XXXXXX")"
+ trap 'rm -f "$run_log"; rm -rf "$npm_prefix_host"' EXIT
+ credential_source="$(resolve_credential_source)"
+ credential_role="$(resolve_credential_role)"
+ if [ -z "$credential_role" ] && [ -n "${CI:-}" ] && [ "$credential_source" = "convex" ]; then
+ credential_role="ci"
+ fi
+
+ docker_env=(
+ -e COREPACK_ENABLE_DOWNLOAD_PROMPT=0
+ -e OPENCLAW_NPM_T
|
|
[tooling] ../vitest-scoped-config.test.ts > resolveVitestIsolation > aliases private QA plugin SDK subpaths for source tests only:
test/vitest-scoped-config.test.ts#L92
AssertionError: expected [ Array(585) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- ObjectContaining {
- "find": "openclaw/plugin-sdk/qa-channel",
- "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/qa-channel.ts",
+ [
+ {
+ "find": "openclaw/extension-api",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/extensionAPI.ts",
+ },
+ {
+ "find": "@openclaw/qa-channel/api.js",
+ "replacement": "/home/runner/work/openclaw/openclaw/extensions/qa-channel/api.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/account-core",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/account-core.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/account-helpers",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/account-helpers.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/account-id",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/account-id.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/account-resolution",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/account-resolution.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/account-resolution-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/account-resolution-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/acp-binding-resolve-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/acp-binding-resolve-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/acp-binding-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/acp-binding-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/acp-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/acp-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/acp-runtime-backend",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/acp-runtime-backend.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/agent-config-primitives",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/agent-config-primitives.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/agent-harness",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/agent-harness.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/agent-harness-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/agent-harness-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/agent-media-payload",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/agent-media-payload.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/agent-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/agent-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/agent-runtime-test-contracts",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/agent-runtime-test-contracts.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/allow-from",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/allow-from.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/allowlist-config-edit",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/allowlist-config-edit.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/approval-auth-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/approval-auth-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/approval-client-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/approval-client-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/approval-delivery-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/approval-delivery-runtime.ts",
+ },
+ {
+ "find": "openclaw/plugin-sdk/approval-gateway-runtime",
+ "replacement": "/home/runner/work/openclaw/openclaw/src/plugin-sdk/approval-gateway-runtime.ts",
+ },
+ {
|
|
checks-node-core-support-boundary
Process completed with exit code 1.
|
|
checks-node-core
Process completed with exit code 1.
|
|
checks-fast-protocol
Cache save failed.
|
|
checks-node-agentic-agents
Cache save failed.
|
|
checks-node-core-ui
Cache save failed.
|
|
checks-node-core-src-security
Cache save failed.
|
|
checks-node-auto-reply-reply-agent-runner
Cache save failed.
|
|
check-additional-boundaries
Cache save failed.
|
|
checks-fast-contracts-channels-b
Cache save failed.
|
|
checks-node-core-runtime-shared
Cache save failed.
|
|
checks-fast-contracts-channels-c
Cache save failed.
|
|
checks-node-agentic-control-plane
Cache save failed.
|
|
check-additional-extension-bundled
Cache save failed.
|
|
checks-node-agentic-commands
Cache save failed.
|
|
checks-fast-bundled
Cache save failed.
|
|
checks-node-core-fast-support
Cache save failed.
|
|
checks-node-core-runtime-media-ui
Cache save failed.
|
|
checks-node-agentic-plugin-sdk
Cache save failed.
|
|
checks-node-core-runtime-infra
Cache save failed.
|
|
build-artifacts
Cache save failed.
|
|
checks-fast-contracts-plugins
Cache save failed.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
canvas-a2ui-bundle
Expired
|
116 KB |
sha256:e682afbee38ba2027a7e313eefa2f4ca47997459ed91210dbcee2e49371b9d95
|
|
|
dist-runtime-build
Expired
|
313 MB |
sha256:de33bb95ee8e60627e76b7bd6a16161c48d0b8cd8f2d1dd64ef47a6f5a8a05a0
|
|
|
gateway-watch-regression
Expired
|
1.12 MB |
sha256:e6ee197ad6c3841b2841ab6deb48bcd2de6b49e943bffdd1f5861f0bfc6e9a54
|
|