Skip to content

fix(cli): trace view unable to fetch span warning when using --full/--json - #1577

Merged
betegon merged 1 commit into
mainfrom
lzhao/fix/allow-string-type-trace-item-attr-schema
Oct 21, 2026
Merged

betegon merged 1 commit into
mainfrom
lzhao/fix/allow-string-type-trace-item-attr-schema

Conversation

@lzhao-sentry

@lzhao-sentry lzhao-sentry commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Changes

Noticed that when you pass --full or --json to the trace view command, every span gives a warning "Could not fetch details of ..."

Seems like when fetching int attributes, they can be returned as strings if the number is too large (i.e., project ids). So this PR fixes that by allowing string values in the schema.

@vercel

vercel Bot commented Oct 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Oct 21, 2026 5:39pm UTC

Request Review

@lzhao-sentry
lzhao-sentry marked this pull request as ready for review October 21, 2026 17:50
@github-actions github-actions Bot added the risk: low PR risk score: low label Oct 21, 2026
@betegon
betegon self-requested a review October 21, 2026 17:53

@betegon betegon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot 🙏

@betegon
betegon merged commit ad856ba into main Oct 21, 2026
28 checks passed
@betegon
betegon deleted the lzhao/fix/allow-string-type-trace-item-attr-schema branch October 21, 2026 18:06
@BYK

BYK commented Oct 21, 2026

Copy link
Copy Markdown
Member

@lzhao-sentry thanks so much! @betegon @MathurAditya724 - any idea why we cannot get the proper types from the API spec repo?

@betegon

betegon commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Yes @BYK, this endpoint is not public, that's why we're using our own types. It's private on experimental, so it should be public soon.

We have an option called experimental_public for endpoints that we get into the OpenAPI spec.

This branch was previously deployed

1 inactive deployment
Preview — 92071be3 Deployed Oct 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants