Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Score Button Spamming #1733

Closed
mpass99 opened this issue Jun 19, 2023 · 2 comments · Fixed by #1698
Closed

Prevent Score Button Spamming #1733

mpass99 opened this issue Jun 19, 2023 · 2 comments · Fixed by #1698
Assignees

Comments

@mpass99
Copy link
Contributor

mpass99 commented Jun 19, 2023

In the recent POSEIDON-G events it seems like CodeOcean requested a file system update for the same runner 19 times in parallel. All the requests fail in the same second as the runner is stopped.

Significant about the case 29-57f217dc-0ad2-11ee-a4f7-fa163e079f19 is also how it was possible that CodeOcean could start 11 executions in 3 second that all run into the timeout of 30 seconds.


It seems like we are observing a user-triggered behavior in this case. For example, view this transaction that clearly shows the many assess runs triggered by the JavaScript frontend.


We decided to implement a quick fix in the CodeOcean frontend by removing the event listener from the button until a score run completed.

@MrSerth
Copy link
Member

MrSerth commented Jun 22, 2023

We are tackling this issue as part of #1648, and have it implemented already in #1698.

@MrSerth MrSerth linked a pull request Oct 23, 2023 that will close this issue
@MrSerth
Copy link
Member

MrSerth commented Nov 1, 2023

Since we are now blocking runners with #1982, this issue should be resolved, too.

@MrSerth MrSerth closed this as completed Nov 1, 2023
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 a pull request may close this issue.

2 participants