Skip to content

refactor(openai): Split token counting by API for easier deprecation #2561

refactor(openai): Split token counting by API for easier deprecation

refactor(openai): Split token counting by API for easier deprecation #2561

Triggered via pull request April 2, 2026 08:53
Status Cancelled
Total duration 4m 53s
Artifacts 2
Matrix: AI Workflow
All AI Workflow tests passed
3s
All AI Workflow tests passed
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 18 warnings
AI Workflow (3.11, ubuntu-22.04)
Process completed with exit code 1.
AI Workflow (3.10, ubuntu-22.04)
Process completed with exit code 1.
AI Workflow (3.9, ubuntu-22.04)
Process completed with exit code 255.
AI Workflow (3.12, ubuntu-22.04)
Process completed with exit code 255.
AI Workflow (3.13, ubuntu-22.04)
Process completed with exit code 255.
AI Workflow (3.14, ubuntu-22.04)
Canceling since a higher priority waiting request for Test AI Workflow-ep/py-2271-refactor-openai-token-counting-8y2 exists
AI Workflow (3.14, ubuntu-22.04)
The operation was canceled.
All AI Workflow tests passed
Process completed with exit code 1.
Test AI Workflow
Canceling since a higher priority waiting request for Test AI Workflow-ep/py-2271-refactor-openai-token-counting-8y2 exists
AI Workflow (3.11, ubuntu-22.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: getsentry/codecov-action@fda17cfc37e16a0cc23f61685813390bfee7daf3. 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/
AI Workflow (3.11, ubuntu-22.04)
❌ Patch coverage check failed: 1.22% < target 80%
AI Workflow (3.10, ubuntu-22.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: getsentry/codecov-action@fda17cfc37e16a0cc23f61685813390bfee7daf3. 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/
AI Workflow (3.10, ubuntu-22.04)
❌ Patch coverage check failed: 1.22% < target 80%
AI Workflow (3.10, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
AI Workflow (3.10, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
AI Workflow (3.9, ubuntu-22.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: getsentry/codecov-action@fda17cfc37e16a0cc23f61685813390bfee7daf3. 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/
AI Workflow (3.9, ubuntu-22.04)
❌ Patch coverage check failed: 1.22% < target 80%
AI Workflow (3.9, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
AI Workflow (3.9, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
AI Workflow (3.12, ubuntu-22.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: getsentry/codecov-action@fda17cfc37e16a0cc23f61685813390bfee7daf3. 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/
AI Workflow (3.12, ubuntu-22.04)
❌ Patch coverage check failed: 1.22% < target 80%
AI Workflow (3.12, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
AI Workflow (3.12, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
AI Workflow (3.13, ubuntu-22.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: getsentry/codecov-action@fda17cfc37e16a0cc23f61685813390bfee7daf3. 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/
AI Workflow (3.13, ubuntu-22.04)
❌ Patch coverage check failed: 1.22% < target 80%
AI Workflow (3.13, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
AI Workflow (3.13, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Artifacts

Produced during runtime
Name Size Digest
codecov-coverage-results-ep-py-2271-refactor-openai-token-counting-8y2-test-ai_workflow
114 KB
sha256:1cb006981e298c498dd86ee47508bfb49b62b95ad9ed1ac7f07b4884e3291af6
codecov-test-results-ep-py-2271-refactor-openai-token-counting-8y2-test-ai_workflow
2.49 KB
sha256:75e02b4dda0d3e09cef03ea86977b7fbb0d3e5dd3d06924e9ddbe564011f9903