Skip to content

[pull] main from firecrawl:main - #462

Merged
pull[bot] merged 1 commit into
innFactory:mainfrom
firecrawl:main
Sep 24, 2026
Merged

pull[bot] merged 1 commit into
innFactory:mainfrom
firecrawl:main

Conversation

@pull

@pull pull Bot commented Sep 24, 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 : )

…ns (#4753)

* fix(api): make browser session DELETE idempotent for destroyed sessions

DELETE /v2/browser/:id and DELETE /v2/scrape/:jobId/interact always asked
the browser service to release the browser, also when the row was already
destroyed. The browser service no longer knows a released browser, so the
call failed and the API returned 502 "Browser session release was not
confirmed." for a session that was already gone.

Now a destroyed row returns 200 at once. The browser service is not called,
and nothing is billed again.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtTdaBf2tczu67ykS7Aor6

* fix(api): release the live interact session when a scrape has several rows

scrape_id is not unique in browser_sessions. Two concurrent interact calls
on one scrape can each insert a row. getBrowserSessionFromScrape used
LIMIT 1 with no order, so DELETE /v2/scrape/:jobId/interact could pick a
destroyed row, return 200, and leave the active row running.

The helper now reads the rows for the scrape, newest first, and returns
the newest row that is not destroyed. It returns the newest destroyed row
only when no live row exists.

Also run the browser session DELETE unit tests in CI. The self-hosted
suite has no browser service, so snips cannot cover this path.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtTdaBf2tczu67ykS7Aor6

---------

Co-authored-by: Claude <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Sep 24, 2026
@pull pull Bot added the ⤵️ pull label Sep 24, 2026
@pull
pull Bot merged commit ffa7e21 into innFactory:main Sep 24, 2026
1 of 8 checks passed
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.

0 participants