-
Notifications
You must be signed in to change notification settings - Fork 63
feat(q): builderid "paid tier" flow #1197
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
base: main
Are you sure you want to change the base?
Conversation
return response | ||
throw e | ||
} finally { | ||
this.inflightRequests.delete(controller) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a potential bug? If the service returns an error (which throws), the inflightRequests
would not get updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, indeed I think we were not handling service errors. Thanks for working on the fix.
cab289b
to
939e748
Compare
ef043b3
to
1968d12
Compare
b40cd74
to
027e119
Compare
1. get latest service models: - `client/token/bearer-token-service.json` - from: `<AWSVectorConsolasRuntimeServiceModel>/aws-sdk-external-2022-11-11/c2j/codewhispererruntime-2022-11-11.json` - `client/sigv4/service.json` - from: `<AWSVectorConsolasRuntimeServiceModel>/aws-sdk-external/c2j/codewhisperer-2024-10-25.json` 2. !!NOTE!! remove line `"signatureVersion": "bearer",` from `bearer-token-service.json` 3. restore the script that was mysteriously reverted in aws#161 without any documented alternative... 4. run `./node_modules/.bin/ts-node server/aws-lsp-codewhisperer/script/genclient.ts` service model version: 1.0.20901.0
- control MynahUI from Flare server
Problem
When "free tier" limit is reached, there are no clear next steps.
Solution
Handle "free tier exceeded" throttling/quota service error.
Todo
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.