chore: drain active calls before rolling updates (#474)

* chore: drain active calls before rolling updates

* fix: add a devops secret header

* fix: implement PR review
This commit is contained in:
Abhishek 2026-06-29 06:00:31 +05:30 committed by GitHub
parent 327ec561d5
commit b192d4ada7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 572 additions and 17 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -176,6 +176,16 @@ export type AwsBedrockLlmConfiguration = {
aws_region?: string;
};
/**
* ActiveCallsResponse
*/
export type ActiveCallsResponse = {
/**
* Active Calls
*/
active_calls: number;
};
/**
* AmbientNoiseUploadRequest
*/
@ -13844,3 +13854,38 @@ export type HealthApiV1HealthGetResponses = {
};
export type HealthApiV1HealthGetResponse = HealthApiV1HealthGetResponses[keyof HealthApiV1HealthGetResponses];
export type ActiveCallsApiV1HealthActiveCallsGetData = {
body?: never;
headers?: {
/**
* X-Dograh-Devops-Secret
*/
'X-Dograh-Devops-Secret'?: string | null;
};
path?: never;
query?: never;
url: '/api/v1/health/active-calls';
};
export type ActiveCallsApiV1HealthActiveCallsGetErrors = {
/**
* Not found
*/
404: unknown;
/**
* Validation Error
*/
422: HttpValidationError;
};
export type ActiveCallsApiV1HealthActiveCallsGetError = ActiveCallsApiV1HealthActiveCallsGetErrors[keyof ActiveCallsApiV1HealthActiveCallsGetErrors];
export type ActiveCallsApiV1HealthActiveCallsGetResponses = {
/**
* Successful Response
*/
200: ActiveCallsResponse;
};
export type ActiveCallsApiV1HealthActiveCallsGetResponse = ActiveCallsApiV1HealthActiveCallsGetResponses[keyof ActiveCallsApiV1HealthActiveCallsGetResponses];