Skip to content

test: massive coverage boost — 544 tests, 30 files, 48% stmt coverage #58

test: massive coverage boost — 544 tests, 30 files, 48% stmt coverage

test: massive coverage boost — 544 tests, 30 files, 48% stmt coverage #58

Triggered via push April 10, 2026 14:12
Status Failure
Total duration 5m 20s
Artifacts

ci.yml

on: push
Lint & Typecheck
22s
Lint & Typecheck
Unit Tests
37s
Unit Tests
Browser Integration Tests
5m 16s
Browser Integration Tests
Real-World Tests
0s
Real-World Tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
Browser Integration Tests
Process completed with exit code 1.
tests/core/smart/AdaptationEngine.test.ts > AdaptationEngine > emits headedEscalation event for escalate_to_headed strategy: tests/core/smart/AdaptationEngine.test.ts#L196
AssertionError: expected "vi.fn()" to be called at least once ❯ tests/core/smart/AdaptationEngine.test.ts:196:27
tests/core/smart/AdaptationEngine.test.ts > AdaptationEngine > bypasses escalation when bypassEscalation=true and reason is blocker_unresolvable_headless: tests/core/smart/AdaptationEngine.test.ts#L160
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times Received: 1st vi.fn() call: Array [ Object { "from": Object { "adaptiveStealthEnabled": true, "adaptiveStealthRadius": 100, "adaptiveStealthSensitivity": 0.5, "autoHeadedEscalation": true, "automaticThinkingEnabled": true, "fidgetEnabled": true, "headed": false, "humanStealth": 1, "humanTakeoverEnabled": false, "humanTakeoverTimeoutMs": 120000, "idleTimeout": 5000, "mouseSpeed": 0.7, "perceptionDepth": "full", "precisionDecay": 0.1, "safeMode": false, "stealthLevel": "high", "typingDelayMax": 300, "typingDelayMin": 100, "typoProbability": 0.03, "verbosity": 0, }, "reason": "bot_detection_hard", "strategy": "stealth_escalation", "to": Object { "adaptiveStealthEnabled": true, "adaptiveStealthRadius": 100, "adaptiveStealthSensitivity": 0.5, "autoHeadedEscalation": true, "automaticThinkingEnabled": true, "fidgetEnabled": true, "headed": false, "humanStealth": 1, "humanTakeoverEnabled": false, "humanTakeoverTimeoutMs": 120000, "idleTimeout": 5000, "mouseSpeed": 0.3, "perceptionDepth": "full", "precisionDecay": 0.1, "safeMode": false, "stealthLevel": "high", "typingDelayMax": 400, "typingDelayMin": 150, "typoProbability": 0.15, "verbosity": 0, }, }, ] Number of calls: 1 ❯ tests/core/smart/AdaptationEngine.test.ts:160:25
Lint & Typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Browser Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/