Skip to content

[PoC] feat(ourlogs): add truncate RPC parameter for logs events query#115638

Closed
JoshuaKGoldberg wants to merge 1 commit into
masterfrom
logs-query-truncate
Closed

[PoC] feat(ourlogs): add truncate RPC parameter for logs events query#115638
JoshuaKGoldberg wants to merge 1 commit into
masterfrom
logs-query-truncate

Conversation

@JoshuaKGoldberg
Copy link
Copy Markdown
Member

@JoshuaKGoldberg JoshuaKGoldberg commented May 15, 2026

Putting this up as a draft for reference. Is this a good idea?

If so, I'll split up into backend & frontend PRs.

Fixes LOGS-754

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 15, 2026

LOGS-754

@github-actions github-actions Bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.52%

result_value = anyvalue_to_python(result)
result_value = process_value(result_value)
if max_string_length is not None and isinstance(result_value, str):
result_value = result_value[:max_string_length]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

[Todo] We'd probably want to add a ... or something. Left out to keep this prototype simpler.

@JoshuaKGoldberg JoshuaKGoldberg changed the title feat(ourlogs): add truncate RPC parameter for logs events query [PoC] feat(ourlogs): add truncate RPC parameter for logs events query May 15, 2026
@JoshuaKGoldberg JoshuaKGoldberg changed the title [PoC] feat(ourlogs): add truncate RPC parameter for logs events query feat(ourlogs): add truncate RPC parameter for logs events query May 21, 2026
@JoshuaKGoldberg JoshuaKGoldberg changed the title feat(ourlogs): add truncate RPC parameter for logs events query [PoC] feat(ourlogs): add truncate RPC parameter for logs events query May 21, 2026
@JoshuaKGoldberg
Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant