From 405dd1659ed0ba92bbf5753a561a084344b40245 Mon Sep 17 00:00:00 2001 From: Aarushi <50577581+aarushik93@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:02:21 +0100 Subject: [PATCH] fix(infra): Update backend server health check endpoint (#8351) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(platform): List and revoke credentials in user profile (#8207) Display existing credentials (OAuth and API keys) for all current providers: Google, Github, Notion and allow user to remove them. For providers that support it, we also revoke the tokens through the API: of the providers we currently have, Google and GitHub support it; Notion doesn't. - Add credentials list and `Delete` button in `/profile` - Add `revoke_tokens` abstract method to `BaseOAuthHandler` and implement it in each provider - Revoke OAuth tokens for providers on `DELETE` `/{provider}/credentials/{cred_id}`, and return whether tokens could be revoked - Update `autogpt-server-api/baseClient.ts:deleteCredentials` with `CredentialsDeleteResponse` return type Bonus: - Update `autogpt-server-api/baseClient.ts:_request` to properly handle empty server responses * fix(backend): Lower the number of node workers to save DB connections (#8331) Change [graph]×[node] worker limit from 10×5 to 10×3 --------- Co-authored-by: Reinier van der Leer * fix(ci,platform): Add dev branch trigger to all ci (#8339) * update ci for dev * update classic * remove duplicate dev * fix(frontend): Fix styling inconsistencies in input elements (#8337) - Apply consistent border styling to `Input`, `Select`, and `Textarea` - Remove `rounded-xl` from node input elements - Add `whitespace-nowrap` to `CustomNode` header category tags --------- Co-authored-by: Zamil Majdy * feat(builder): Use configmap for builder (#8343) use configmap in builder * fix(platform,infra): Checkin non secret values (#8344) checkin non secrets * security(platform): Add sealed secrets (#8342) * add sealed secrets * add encrypted secrets * remove extra space * Tf public media buckets (#8324) * fix(infra): Fix sealed secret names (#8350) * fix sealed secret names * fix names and add annotation * feat(backend): Introduce executors shared DB connection (#8340) * update health checkendpoint --------- Co-authored-by: Krzysztof Czerwinski <34861343+kcze@users.noreply.github.com> Co-authored-by: Reinier van der Leer Co-authored-by: Zamil Majdy Co-authored-by: Swifty --- autogpt_platform/infra/helm/autogpt-server/values.dev.yaml | 4 ++-- autogpt_platform/infra/helm/autogpt-server/values.prod.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml index 1ee26e6c9..19349017a 100644 --- a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml @@ -58,7 +58,7 @@ resources: livenessProbe: httpGet: - path: /docs + path: /heath port: 8006 initialDelaySeconds: 30 periodSeconds: 10 @@ -66,7 +66,7 @@ livenessProbe: failureThreshold: 6 readinessProbe: httpGet: - path: /docs + path: /health port: 8006 initialDelaySeconds: 30 periodSeconds: 10 diff --git a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml index 46c9cd641..0e73afa33 100644 --- a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml @@ -72,7 +72,7 @@ cors: livenessProbe: httpGet: - path: /docs + path: /heath port: 8006 initialDelaySeconds: 30 periodSeconds: 10 @@ -80,7 +80,7 @@ livenessProbe: failureThreshold: 6 readinessProbe: httpGet: - path: /docs + path: /heath port: 8006 initialDelaySeconds: 30 periodSeconds: 10