You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/10/20 12:42:50 UTC

[GitHub] [camel-k] squakez opened a new issue, #3760: Kamelet API test rate limit

squakez opened a new issue, #3760:
URL: https://github.com/apache/camel-k/issues/3760

   ```
   --- FAIL: TestNewRepositoryWithCamelKamelets (0.06s)
       repository_test.go:151: 
           	Error Trace:	repository_test.go:151
           	Error:      	Received unexpected error:
           	            	GET https://api.github.com/repos/apache/camel-kamelets/contents/kamelets: 403 API rate limit exceeded for 20.230.23.20. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 50m05s]
           	Test:       	TestNewRepositoryWithCamelKamelets
       repository_test.go:152: 
           	Error Trace:	repository_test.go:152
           	Error:      	Should be true
           	Test:       	TestNewRepositoryWithCamelKamelets
   ```
   I think we need to review that test to mitigate the number of API hit.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] squakez commented on issue #3760: Kamelet API test rate limit

Posted by GitBox <gi...@apache.org>.
squakez commented on issue #3760:
URL: https://github.com/apache/camel-k/issues/3760#issuecomment-1357773324

   Marking as a bug as this is starting to fail with insistence in our checks. Should be solved with priority.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] tadayosi commented on issue #3760: Kamelet API test rate limit

Posted by GitBox <gi...@apache.org>.
tadayosi commented on issue #3760:
URL: https://github.com/apache/camel-k/issues/3760#issuecomment-1288308108

   Probably the issue is not only for testing, but rather more broadly related to the way how the cli and testing interact with GitHub API.
   https://docs.github.com/en/developers/apps/building-github-apps/rate-limits-for-github-apps
   
   So a cli which interacts with GitHub API should be aware of `GITHUB_TOKEN` and when it's available it should use the token to mitigate the rate limits. For example, we interact with GitHub API through `kamel run` and when we run `kamel run github:...`  many times we'll hit the same rate limit issue.
   
   Likewise GitHub Actions provides a `secret.GITHUB_TOKEN` for each workflow so we can utilise the token for the CI tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] squakez closed issue #3760: Kamelet API test rate limit

Posted by GitBox <gi...@apache.org>.
squakez closed issue #3760: Kamelet API test rate limit
URL: https://github.com/apache/camel-k/issues/3760


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org