Skip to content

chore: upgrade OpenAI client #69224

chore: upgrade OpenAI client

chore: upgrade OpenAI client #69224

Triggered via pull request January 26, 2024 14:38
Status Failure
Total duration 4m 28s
Artifacts

ci-backend.yml

on: pull_request
Determine need to run backend checks
5s
Determine need to run backend checks
Python code quality checks
3m 12s
Python code quality checks
Validate Django migrations
3m 28s
Validate Django migrations
Matrix: async-migrations
Matrix: django
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 24 warnings
Python code quality checks: posthog/hogql/ai.py#L109
Argument "messages" to "create" of "Completions" has incompatible type "list[dict[str, str]]"; expected "list[ChatCompletionSystemMessageParam | ChatCompletionUserMessageParam | ChatCompletionAssistantMessageParam | ChatCompletionToolMessageParam | ChatCompletionFunctionMessageParam]"
Python code quality checks: posthog/hogql/ai.py#L112
Item "None" of "str | None" has no attribute "removesuffix"
Python code quality checks: posthog/hogql/ai.py#L113
Item "None" of "CompletionUsage | None" has no attribute "prompt_tokens"
Python code quality checks: posthog/hogql/ai.py#L114
Item "None" of "CompletionUsage | None" has no attribute "completion_tokens"
Python code quality checks: posthog/session_recordings/session_summary/summarize_session.py#L338
Argument "messages" to "create" of "Completions" has incompatible type "list[dict[str, str]]"; expected "list[ChatCompletionSystemMessageParam | ChatCompletionUserMessageParam | ChatCompletionAssistantMessageParam | ChatCompletionToolMessageParam | ChatCompletionFunctionMessageParam]"
Python code quality checks: posthog/session_recordings/session_summary/summarize_session.py#L342
Item "None" of "CompletionUsage | None" has no attribute "prompt_tokens"
Python code quality checks: posthog/session_recordings/session_summary/summarize_session.py#L346
Incompatible types in assignment (expression has type "str | None", variable has type "str")
Python code quality checks
Process completed with exit code 7.
Async migrations tests - clickhouse/clickhouse-server:23.11.2.11-alpine
Process completed with exit code 2.
Validate Django migrations
Process completed with exit code 1.
Determine need to run backend checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Python code quality checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: n1hility/cancel-previous-runs@v3, actions/checkout@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (4/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (1/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (5/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (3/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (3/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Async migrations tests - clickhouse/clickhouse-server:23.11.2.11-alpine
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (2/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (4/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (5/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (2/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (2/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Validate Django migrations
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (1/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (5/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (4/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (2/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (3/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (3/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (4/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (1/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – EE (persons-on-events on), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (5/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Django tests – FOSS (persons-on-events off), Py 3.10.10, clickhouse/clickhouse-server:23.11.2.11-alpine (1/5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.