Repository navigation
Conversation
eli-r-ph
marked this pull request as ready for review
October 13, 2026 05:27
eli-r-ph
force-pushed
the
v1-wire-hygiene
branch
from
October 14, 2026 03:11
51b2482 to
ff2fed1
Compare
An event with a missing, empty or non-string name, or one that cannot be serialized (for example with NaN), is dropped alone instead of failing the whole batch at capture. A property key JSON cannot represent is dropped from its event. The analytics per-event limit is capture's 10 MiB request limit, since capture reports an event over its per-event limit in the response. A personal API key disables the client like an empty key, and logs no longer include event content or invalid timestamp values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t_utils Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eli-r-ph
force-pushed
the
v1-wire-hygiene
branch
from
October 14, 2026 03:48
ff2fed1 to
d205df8
Compare
eli-r-ph
force-pushed
the
v1-sync-main-7.68
branch
from
October 14, 2026 03:48
c475dff to
5ede78a
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
💡 Motivation and Context
Stacked on #1051. Capture v1 rejects the whole request for some invalid events, such as one containing
NaNor a non-string name, so one bad event loses every event sent with it. This PR drops only the bad event, raises the analytics size limit to capture's own, and keeps event content out of logs.Changes
NaNorInfinityis dropped alone instead of breaking the request.phx_...) disables the client with one error log, like an empty key.💚 How did you test it?
before_send, and check that the rest of the batch is still sent.NaNand event-name tests fail with the change reverted.🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Written with Claude Code under the direction of the assignee.
🤖 Generated with Claude Code