Skip to content

feat(explore): Add optional index field to AttributeKey for array element access#250

Open
manessaraj wants to merge 4 commits into
mainfrom
sarajmanes/feat/EXP-943/add-proto-change-to-pass-index-information-to-eap_2
Open

feat(explore): Add optional index field to AttributeKey for array element access#250
manessaraj wants to merge 4 commits into
mainfrom
sarajmanes/feat/EXP-943/add-proto-change-to-pass-index-information-to-eap_2

Conversation

@manessaraj
Copy link
Copy Markdown

@manessaraj manessaraj commented May 8, 2026

Adds optional sint32 index on AttributeKey to support indexed access into array-typed attributes (e.g. field[N]:value syntax).

…ment access

Adds `optional sint32 index` on `AttributeKey` to support indexed access into
array-typed attributes (e.g. `field[N]:value` syntax).
Signed to leave room for negative indexing;
@manessaraj manessaraj requested a review from a team as a code owner May 8, 2026 16:19
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 8, 2026

EXP-943

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

The latest Buf updates on your PR. Results from workflow ci / buf-checks (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMay 8, 2026, 5:31 PM

Copy link
Copy Markdown
Contributor

@onewland onewland left a comment

Choose a reason for hiding this comment

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

I don't think we should support negative indexing. I'm actually curious what the use-case is for this overall

@manessaraj manessaraj requested a review from onewland May 8, 2026 17:29
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e1a8c33. Configure here.

Comment thread proto/sentry_protos/snuba/v1/trace_item_attribute.proto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants