-
Notifications
You must be signed in to change notification settings - Fork 68
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
Have you experienced this in Copilot Workspaces? First day. #47
Comments
@bbarclay We see these errors in our log for a handful of users, and are trying to work out what scenario they occur in Could I ask a few details?
|
Here I wonder, I closed a bunch, but perhaps they are still pulling tokens, everytime a change is made from their main repo. Even through the session is not open, it's possible that the app under it, is trying to keep up, so when the session is open. Therefore, the more of these you have open, and the changes you make in the open sessions, causes all of them, and their files to upload logs using the API. You might try opening 30 of these, then making a bunch of changes on an app, doing a push request, and see if the projects that are not considered open sessions, are making github api requests, for all the files to see if they need to adapat their logs. Or something like that. It seems like how I might Engineer it. The reason is, if you open one of those other projects, then go back to a previous one. It's probably a better user experienece if they already know the upstream, or downstream application has changed. Thus in the background you run api requests to all those files (In the background)
Ps. I deleted 5 or 6 of those to see if that would bring my rate limit back. |
I could be off my rocker here, but it's worth sharing. graph TD
A[Start push process] --> B{Check for closed or open sessions}
B --> |Open sessions| C[Notify and check for latest commits]
B --> |Closed sessions| D[Track sessions and notify them]
C --> E{Are related session outdated?/closed but not completed}
D --> E
E --> |Yes| F[Prompt AI to pull latest changes]
E --> |No| G[Proceed with push request]
F --> H[Check for merge conflicts]
H --> |No conflicts| G
H --> |Merge conflicts| I[Resolve conflicts]
I --> G
G --> J[Complete push]
Discussion on API Request Overload: Potential Issues: Unnecessary Requests: These requests would not add much value because closed or outdated sessions may not be active, leading to wasted API calls. In cases where multiple pushes happen in a short time, this could compound the problem. Possible Fixes: Session Timeouts: Implementing session timeouts or garbage collection that clears closed or outdated sessions after a certain period. |
Sorry one more thing. I unzipped in the CLI two repos. I uploaded them as zip files. then told your application to unzip them. I wonder if the application made api requests to pull back and check each one of the files after they were unzipped. I noticed a ton of untracked changes. |
It happened again, but I had accidentally created two new repos. I wonder if it has something to do, with it creating a bunch of files. All those files each sending an api request. |
@bbarclay What is the name of your repo? See this:
|
@bbarclay Off-topic, I am curious how you made the flowchart and also embedded it in Github here? Thx |
Has anybody experienced this?
API rate limit exceeded for user ID 374088. If you reach out to GitHub Support for help, please include the request ID 0CC1:1CDD1B:92C437:9AB567:671A7575 and timestamp 2024-10-24 16:27:33 UTC. - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
The text was updated successfully, but these errors were encountered: