GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(anthropic): Stop unpacking output arrays by alexander-alderman-webb · Pull Request #8160 · getsentry/sentry-python

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Oct 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

The specific problem this fixes is text output that is JSON, as returned from

response = client.messages.create(
    model="claude-opus-5-5",
    max_tokens=16000,
    output_config={"format": {
        "type": "json_schema",
        "schema": {
            "type": "object",
            "properties": {"summary": {"type": "string"}},
            "required": ["summary"],
            "additionalProperties": False,
        },
    }},
    messages=[{"role": "user", "content": "Summarize Bill 119."}],
)

Closes AGT-3211

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@alexander-alderman-webb
fix(anthropic): Stop unpacking output arrays
00fafcc
@github-actions

github-actions Bot commented Oct 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 136856 passed | ⏭️ 7456 skipped | Total: 144312 | Pass Rate: 94.83% | Execution Time: 450m 14s

All tests are passing successfully.

✅ Patch coverage is 100.00% (no changed executable lines found; target 80%).
Project statement coverage is 90.31% (down 0.01 percentage points from base (7ad4e1a) to head (00fafcc)).

Files with missing lines (1)
File Coverage % Lines
sentry_sdk/integrations/anthropic.py 89.63% ⚠️ 51 Missing and 42 partials
Coverage diff
@@            Coverage Diff             @@
##        master     #8160       +/-##
==========================================
- Coverage    90.32%    90.31%    -0.01%
==========================================
  Files          203       203         —
  Tracked lines     26872     26872         —
  Branches     10044     10044         —
==========================================
- Hits         24272     24268        -4
- Misses        2600      2604        +4
+ Partials      1520      1517        -3

Generated by Coverage Action

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review October 29, 2026 12:55
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner October 29, 2026 12:55
@linear-code

linear-code Bot commented Oct 29, 2026

Copy link
Copy Markdown

AGT-3211

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

pabloDeputter
pabloDeputter approved these changes Oct 29, 2026
View reviewed changes
sentrivana
sentrivana approved these changes Oct 29, 2026
View reviewed changes
@alexander-alderman-webb
alexander-alderman-webb merged commit 8aacf55 into master Nov 3, 2026
323 of 326 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@alexander-alderman-webb
alexander-alderman-webb deleted the webb/anthropic/unpack-false branch November 3, 2026 11:46
This was referenced Nov 4, 2026
publish: getsentry/[email protected] getsentry/publish#10182
Closed
publish: getsentry/[email protected] getsentry/publish#10240
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sentrivana sentrivana sentrivana approved these changes
+1 more reviewer
@pabloDeputter pabloDeputter pabloDeputter approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@alexander-alderman-webb @pabloDeputter @sentrivana
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.