Skip to content

[pull] master from apify:master#242

Merged
pull[bot] merged 3 commits into
threatcode:masterfrom
apify:master
Jul 15, 2026
Merged

[pull] master from apify:master#242
pull[bot] merged 3 commits into
threatcode:masterfrom
apify:master

Conversation

@pull

@pull pull Bot commented Jul 15, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

renovate Bot and others added 3 commits July 15, 2026 09:06
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-node](https://redirect.github.com/actions/setup-node) |
action | major | `v6` → `v7` |

---

### Release Notes

<details>
<summary>actions/setup-node (actions/setup-node)</summary>

###
[`v7.0.0`](https://redirect.github.com/actions/setup-node/compare/v6.5.0...v7.0.0)

[Compare
Source](https://redirect.github.com/actions/setup-node/compare/v7.0.0...v7.0.0)

###
[`v7`](https://redirect.github.com/actions/setup-node/compare/v6.5.0...v7.0.0)

[Compare
Source](https://redirect.github.com/actions/setup-node/compare/v6.5.0...v7.0.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "every weekday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/apify/crawlee).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
`mergeCookies()` splits each source cookie string on `; ` and forced the result of `Cookie.parse()` with a non-null assertion. We now check this and throw on invalid cookies.

Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
The scheduled E2E runs have been red since 2 July. Two independent
causes.

## The token

Every failure was `ApifyApiError: User was not found or authentication
token is not valid` (401), which looks like an expired secret but is not
— the login succeeds every run.

The harness read the token out of `~/.apify/auth.json`. Since
[apify-cli#1197](apify/apify-cli#1197) the
bundle distribution (what CI installs) stores the token in the OS
keyring and strips it from that file — intended behaviour, as plaintext
storage was the bug it fixed. The file still exists, so the `existsSync`
guard passed, `getApifyToken()` returned `undefined`, and
`process.env.APIFY_TOKEN ??= undefined` coerced it to the literal string
`"undefined"`. That bogus token is what the API rejected.

It landed within the `1.6.3` beta line (`beta.6` wrote `auth.json`,
`beta.25` wrote the keyring), which is why it broke ~2 weeks before
1.7.0 shipped.

- Pass `APIFY_TOKEN` from the existing secret, so the harness no longer
reaches into the CLI's credential store. The beta CLI is still installed
and exercised as before.
- Throw a clear error when `auth.json` has no token, instead of silently
yielding `"undefined"`.

## The demo store

With the token fixed, PLATFORM actually ran its tests for the first time
since 2 July — and `cheerio-robots-file` then failed on `429`s from
`warehouse-theme-metal.myshopify.com`. The robots.txt behaviour under
test was fine; the crawl never got off the ground, so `requestsFinished`
was 0 and the precondition failed.

The store rate-limits plain-HTTP clients from the platform's shared
egress IP. The browser-driven tests on the same IP get through. The six
tests crawling that store now go through
`Actor.createProxyConfiguration()`.
@pull pull Bot locked and limited conversation to collaborators Jul 15, 2026
@pull pull Bot added the ⤵️ pull label Jul 15, 2026
@pull pull Bot merged commit 3e3dc63 into threatcode:master Jul 15, 2026
@pull pull Bot had a problem deploying to github-pages July 15, 2026 10:19 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants