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

Optionally skip list files step? #210

Closed
andybelltree opened this issue Nov 22, 2022 · 2 comments · Fixed by #216
Closed

Optionally skip list files step? #210

andybelltree opened this issue Nov 22, 2022 · 2 comments · Fixed by #216

Comments

@andybelltree
Copy link

We have quite a large repo, so the listFiles step is using up our API rate limit. We're not really sure that it's required for us.
We were wondering if it would be possible to have an option which could be provided in order to skip this step, and produce reports without any references or links to the actual tracked files.

@dorny
Copy link
Owner

dorny commented Nov 30, 2022

@andybelltree I assume you are processing test results previously uploaded as artifacts right? That should be the only case when files are listed using API calls. Otherwise, it's just a local git command.

There is already a max-annotations option. Setting it to 0 effectively disables the processing of error stack traces. In that case, listing the files is not needed and should be skipped. I'm going to fix this now.

I'm just thinking if the API rate limit is an issue, would checking out the repo work better for you? With a big repo it will probably take more time than API calls, but the API rate limit wouldn't be an issue anymore.

@andybelltree
Copy link
Author

Thanks for that. I will try update and set it to 0, and see if that works for us :)

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