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

Kata state cannot be saved if user code is more than 1MB in size #2726

Open
Voileexperiments opened this issue Jun 19, 2022 · 3 comments
Open

Comments

@Voileexperiments
Copy link

Voileexperiments commented Jun 19, 2022

I have a solution to a kata which is 1055067 bytes in length. It passes all the tests. However, then CW fails to save the code or mark the kata as solved because the POST request to /api/v1/code-challenges/projects/:project_id/solutions/:solution_id/notify failed with a nginx 413 Request Entity Too Large error page. Reducing the solution byte size to around 1040000 bytes solves this issue.

If katas allow >1MB solutions to run, they definitely shouldn't fail to save or mark as solved.

┆Issue is synchronized with this Clickup by Unito

@Voileexperiments
Copy link
Author

Voileexperiments commented Oct 28, 2022

As discovered here, this also happens when test fixture exceed 1MB (because something very large is being hard-coded in the tests).

@Voileexperiments
Copy link
Author

Another instance

@Voileexperiments
Copy link
Author

Another instance

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

No branches or pull requests

1 participant