Skip to content

app/vlinsert/opentelemetry: reject fields with names exceeding 128 bytes#1404

Open
vadimalekseev wants to merge 3 commits into
masterfrom
otel-too-long-keys
Open

app/vlinsert/opentelemetry: reject fields with names exceeding 128 bytes#1404
vadimalekseev wants to merge 3 commits into
masterfrom
otel-too-long-keys

Conversation

@vadimalekseev

@vadimalekseev vadimalekseev commented May 11, 2026

Copy link
Copy Markdown
Member

This should prevent high memory consumption when processing deeply nested structures.

Fixes #1321
Updates #1326

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="app/vlinsert/opentelemetry/pb.go">

<violation number="1" location="app/vlinsert/opentelemetry/pb.go:377">
P2: The field-name length check misses the `.` separator added for nested fields, so over-limit names can still pass.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

Comment thread app/vlinsert/opentelemetry/pb.go Outdated
@vadimalekseev vadimalekseev force-pushed the otel-too-long-keys branch 4 times, most recently from d7fd27e to ca330cb Compare May 12, 2026 09:18
@func25 func25 added the bug Something isn't working label May 14, 2026
Comment thread app/vlinsert/opentelemetry/pb.go Outdated
vadimalekseev and others added 2 commits July 13, 2026 20:52
This should prevent high memory consumption when processing deeply nested structures.

Updates #1321
Updates #1326
Signed-off-by: Phuong Le <39565248+func25@users.noreply.github.com>
@func25 func25 force-pushed the otel-too-long-keys branch from 91afc00 to da9f508 Compare July 13, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenTelemetry Protobuf Recursion — Process Crash (OOM Kill)

2 participants