Skip to content

fix(auth): honor APIFY_TOKEN env var over stored login token #7755

fix(auth): honor APIFY_TOKEN env var over stored login token

fix(auth): honor APIFY_TOKEN env var over stored login token #7755

Triggered via pull request July 29, 2026 13:39
Status Failure
Total duration 7m 0s
Artifacts 3

check.yaml

on: pull_request
Matrix: Python Support
Matrix: build_bundles
Matrix: Local Tests
Python Support Result
3s
Python Support Result
Fit to window
Zoom out
Zoom in

Annotations

5 errors
API Tests
Process completed with exit code 1.
test/local/commands/run.test.ts > apify run > [api] does not override an inherited APIFY_TOKEN with the stored token: test/local/commands/run.test.ts#L242
AssertionError: expected 'apify_api_rOJIytgOmpawaFxNKFDJXRYl0Gr…' to strictly equal 'apify_api_rOJIytgOmpawaFxNKFDJXRYl0Gr…' Expected: "***_inherited" Received: "***" ❯ test/local/commands/run.test.ts:242:46
test/local/commands/run.test.ts > apify run > [api] does not override an inherited APIFY_TOKEN with the stored token: test/local/commands/run.test.ts#L242
AssertionError: expected 'apify_api_rOJIytgOmpawaFxNKFDJXRYl0Gr…' to strictly equal 'apify_api_rOJIytgOmpawaFxNKFDJXRYl0Gr…' Expected: "***_inherited" Received: "***" ❯ test/local/commands/run.test.ts:242:46
test/local/commands/run.test.ts > apify run > [api] does not override an inherited APIFY_TOKEN with the stored token: test/local/commands/run.test.ts#L242
AssertionError: expected 'apify_api_rOJIytgOmpawaFxNKFDJXRYl0Gr…' to strictly equal 'apify_api_rOJIytgOmpawaFxNKFDJXRYl0Gr…' Expected: "***_inherited" Received: "***" ❯ test/local/commands/run.test.ts:242:46
test/local/commands/run.test.ts > apify run > [api] does not override an inherited APIFY_TOKEN with the stored token: test/local/commands/run.test.ts#L242
AssertionError: expected 'apify_api_rOJIytgOmpawaFxNKFDJXRYl0Gr…' to strictly equal 'apify_api_rOJIytgOmpawaFxNKFDJXRYl0Gr…' Expected: "***_inherited" Received: "***" ❯ test/local/commands/run.test.ts:242:46

Artifacts

Produced during runtime
Name Size Digest
apify-cli-bundles-unix
1.14 GB
sha256:8e7898a98af60085debedf437da980f1a534c3a90112954ce3b58bb640712b96
apify-cli-bundles-windows-arm64
223 MB
sha256:3ba82c6db87ac8daccdebac06472acecbe3b1bf938e4b6f4bd9400e32a10eb09
apify-cli-bundles-windows-x64
223 MB
sha256:24111a54ebac5454d513a96a1e0c2f4fa89f83a5df162715af5f2f9da5d9063a