Skip to content

Conversation

@cjh1
Copy link
Contributor

@cjh1 cjh1 commented Mar 5, 2024

@ mention of reviewers

@ihsaan-ullah

A brief description of the purpose of the changes contained in this PR.

If a submission writes a output line larger than the stream buffer size ( default 64k ) a LimitOverrunError will be raise. Rather than using readline(...) use readutil(....) and in the case of a overrun just return the current buffer, the rest of the line will be returned with the next read.

A checklist for hand testing

  • Tested with local worker connected to codabench.org

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

If a submission writes a output line larger than the stream buffer
size ( default 64k ) a LimitOverrunError will be raise. Rather than
using readline(...) use readutil(....) and in the case of a overrun
just return the current buffer, the rest of the line will be returned
with the next read.

Signed-off-by: Chris Harris <cjh@lbl.gov>
@cjh1
Copy link
Contributor Author

cjh1 commented Apr 10, 2024

Any movement on this?

@ihsaan-ullah ihsaan-ullah changed the base branch from develop to limit_over_run_outpu April 11, 2024 11:07
@ihsaan-ullah ihsaan-ullah merged commit df76fd9 into codalab:limit_over_run_outpu Apr 11, 2024
@ihsaan-ullah ihsaan-ullah mentioned this pull request Apr 11, 2024
7 tasks
@ihsaan-ullah
Copy link
Collaborator

Merged in another branch to test it (#1404)

@ihsaan-ullah ihsaan-ullah removed their request for review April 11, 2024 11:09
This was referenced Apr 12, 2024
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.

2 participants