Skip to content

v0.12.2#160

Merged
bengl merged 2 commits into
v0.xfrom
bengl/v0.12.2-proposal
Jul 6, 2026
Merged

v0.12.2#160
bengl merged 2 commits into
v0.xfrom
bengl/v0.12.2-proposal

Conversation

@bengl

@bengl bengl commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

v0.12.2

Patch release cherry-picking #159 onto v0.x.

  • fix(pipeline): stage one chunk per trace in a single request (fix(pipeline): stage one chunk per trace in a single request #159) — prepareChunk now accumulates one chunk per trace instead of overwriting; sendPreparedChunk sends them together as one multi-trace request. Fixes trace mis-grouping and dropped sampling tags when the exporter batches multiple traces into one flush under load.
  • Version bump 0.12.1 → 0.12.2.

No API changes. Unblocks the paired dd-trace-js exporter change (group-by-trace).

@bengl bengl requested review from a team as code owners July 6, 2026 16:59

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aa691399b6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

let has_spans = !spans_vec.is_empty();
*self.prepared_spans.borrow_mut() = Some(spans_vec);
if has_spans {
self.prepared_spans.borrow_mut().push(spans_vec);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Clear abandoned chunks before starting a new flush

With the new push, staged chunks survive until sendPreparedChunk takes them, so if the host prepares a flush but intentionally skips the send (for example because another send is still in flight/back-pressure), the next flush appends to those abandoned chunks. A later sendPreparedChunk will send old traces together with the new batch, and sustained skipped sends can grow this Vec without bound; previously each new prepareChunk recycled the unsent chunk before staging the next one. Add an explicit batch reset/start marker or clear abandoned chunks before accumulating a new flush.

Useful? React with 👍 / 👎.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Overall package size

Self size: 30.08 MB
Deduped: 30.08 MB
No deduping: 30.08 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------|

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@bengl bengl merged commit 161b271 into v0.x Jul 6, 2026
46 checks passed
@bengl bengl deleted the bengl/v0.12.2-proposal branch July 6, 2026 17:09
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