feat: configurable limit to number of traceback entries#2358
Open
dorimedini-starkware wants to merge 1 commit intomainfrom
Open
feat: configurable limit to number of traceback entries#2358dorimedini-starkware wants to merge 1 commit intomainfrom
dorimedini-starkware wants to merge 1 commit intomainfrom
Conversation
a21c1e4 to
ef936b3
Compare
|
2899d91 to
40141d1
Compare
|
Benchmark Results for unmodified programs 🚀
|
6b454d5 to
5032a37
Compare
Signed-off-by: Dori Medini <dori@starkware.co>
5032a37 to
470362a
Compare
Collaborator
Yael-Starkware
left a comment
There was a problem hiding this comment.
Adding this variable to the constructor cairo_runner adds a lot of noise, and it is usually being used with the default value.
I think it should be an optional field in cairo_run_config, and in case it is Some, a separate setter will be called after the constrctor.
@Yael-Starkware made 1 comment.
Reviewable status: 0 of 16 files reviewed, all discussions resolved (waiting on YairVaknin-starkware).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configurable limit to number of traceback entries
Description
Previously, the number of error traceback entries was limited to a hard-coded constant; this PR makes this limit configurable, to allow users of the Runner to run with a different limit.
No behavior change (all current usages use the previous constant), but it does change API of constructors and adds a field to runner configs.
Checklist
This change is