Skip to content

180 cookie errors in the background#186

Open
hoelger wants to merge 1 commit intodevfrom
180-cookie-errors-in-the-background
Open

180 cookie errors in the background#186
hoelger wants to merge 1 commit intodevfrom
180-cookie-errors-in-the-background

Conversation

@hoelger
Copy link
Copy Markdown
Collaborator

@hoelger hoelger commented Sep 30, 2023

No description provided.

@hoelger hoelger self-assigned this Sep 30, 2023
@hoelger hoelger linked an issue Sep 30, 2023 that may be closed by this pull request
@hoelger
Copy link
Copy Markdown
Collaborator Author

hoelger commented Sep 30, 2023

Currently on top of 102-* (so this PR has just one commit for now)

@hoelger
Copy link
Copy Markdown
Collaborator Author

hoelger commented Sep 30, 2023

My commit message is quite extensive and explains it a bit.

Although fixed, it broke down once more, but then ran threw solid several times, so I hope it was just a hiccup.

I don't understand why the error previously kept coming repetitively. Regarding the race condition: Let's say 3 tasks try to click the cookies away, 1 succeeds, 2 fail. So there should be only two errors. But from what I saw previously, once the error was triggered it came again and again and again...

This being said: I don't fully trust my current solution :)

…present

handlePuppetReady() is called very often and in parallel

Removing the sleep(1000) the condition (can I click?) and action (I do click) are closer to each other and we have less chance for a race condition.
@hoelger hoelger force-pushed the 180-cookie-errors-in-the-background branch from 6793411 to 6c42f4c Compare January 18, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cookie errors in the background

1 participant