Skip to content

fix(openai): Attach response model with streamed Completions API #6155

fix(openai): Attach response model with streamed Completions API

fix(openai): Attach response model with streamed Completions API #6155

Triggered via pull request February 26, 2026 16:27
Status Success
Total duration 3m 57s
Artifacts 2

test-integrations-flags.yml

on: pull_request
Matrix: Flags
All Flags tests passed
2s
All Flags tests passed
Fit to window
Zoom out
Zoom in

Annotations

29 warnings
Flags (3.7, ubuntu-22.04)
❌ Patch coverage check failed: 0.00% < target 80%
Flags (3.7, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.7, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.10, ubuntu-22.04)
❌ Patch coverage check failed: 0.00% < target 80%
Flags (3.9, ubuntu-22.04)
❌ Patch coverage check failed: 0.00% < target 80%
Flags (3.9, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.9, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Unprotected attribute access on streaming chunk may cause runtime error: sentry_sdk/integrations/openai.py#L616
The `x.model` access on line 616 is placed outside the `capture_internal_exceptions()` block, unlike other model accesses in this file (e.g., lines 761, 810 which are inside the block, or line 472 which uses `hasattr` guard). If a streaming chunk lacks the `model` attribute or it's malformed, an `AttributeError` will propagate to the user's application instead of being silently logged by Sentry's internal error handler.
Flags (3.8, ubuntu-22.04)
❌ Patch coverage check failed: 0.00% < target 80%
Flags (3.8, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.8, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.12, ubuntu-22.04)
❌ Patch coverage check failed: 0.00% < target 80%
Flags (3.12, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.12, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.14t, ubuntu-22.04)
❌ Patch coverage check failed: 0.00% < target 80%
Flags (3.14t, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.14t, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.14, ubuntu-22.04)
❌ Patch coverage check failed: 0.00% < target 80%
Flags (3.14, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.14, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.13, ubuntu-22.04)
Failed to post/update PR comment: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 0C50:69563:A7A7E0:2C86502:69A07568 and timestamp 2026-02-26 16:31:36 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Flags (3.13, ubuntu-22.04)
Failed to report status 'codecov/patch': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 0C51:D13D1:9B0AB8:29433F0:69A07568 and timestamp 2026-02-26 16:31:36 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Flags (3.13, ubuntu-22.04)
Failed to report status 'codecov/project': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 0C50:69563:A7A78D:2C8638A:69A07568 and timestamp 2026-02-26 16:31:36 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Flags (3.13, ubuntu-22.04)
Failed to calculate patch coverage: HttpError: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 0C51:D13D1:9B0A68:294327A:69A07568 and timestamp 2026-02-26 16:31:36 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Flags (3.13, ubuntu-22.04)
Failed to download base coverage artifact: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 0C50:69563:A7A6E1:2C860C6:69A07568 and timestamp 2026-02-26 16:31:36 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Flags (3.13, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.13, ubuntu-22.04)
Failed to download base test artifact: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 0C50:69563:A7A52B:2C8595F:69A07568 and timestamp 2026-02-26 16:31:36 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Flags (3.13, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Flags (3.13, ubuntu-22.04)
Failed to detect default branch, falling back to 'main': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 0C50:69563:A7A44E:2C85595:69A07567 and timestamp 2026-02-26 16:31:36 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting

Artifacts

Produced during runtime
Name Size Digest
codecov-coverage-results-webb-openai-add-response-model-completions-test-flags
106 KB
sha256:9c43e60a13a07ef3ec82dc639076961998b63bec2ed6311ae327b4b98ed2dfea
codecov-test-results-webb-openai-add-response-model-completions-test-flags
230 Bytes
sha256:ddc809f170b2c7d571fccbde884077bd551991fccf829b62271867962e89ad3f