Skip to content

chore(rust): bump posthog-rs to 0.19.1#70107

Merged
cat-ph merged 1 commit into
masterfrom
cat/bump-posthog-rs-0-19-1-on-67600
Jul 13, 2026
Merged

chore(rust): bump posthog-rs to 0.19.1#70107
cat-ph merged 1 commit into
masterfrom
cat/bump-posthog-rs-0-19-1-on-67600

Conversation

@cat-ph

@cat-ph cat-ph commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Problem

posthog-rs 0.19.1 sends error tracking stack frames in canonical wire order (the first SDK flip of PostHog/sdk-specs#11) and carries the demangler-robust SDK-frame stripping fix. Bumping our own services onto it dogfoods the flip end to end: our rust exceptions arrive canonical, pass the cymbal version gate (cutoff 0.19.0), and keep grouping into their existing issues via the legacy fingerprint versions.

Stacked on #67600 (0.18.0 upgrade + on_error metric) — merge that first; this PR is just the 0.18.0 → 0.19.1 delta on top and retargets to master automatically when it lands.

Changes

How did you test this code?

Automated only:

  • cargo build/clippy -D warnings clean for the three consumers (common-posthog, batch-import-worker, cymbal).
  • cargo test: batch-import-worker + common-posthog 687 passed total across the three consumers on top of the stacked branch, 0 failures — including eli's new on_error hook tests and the import worker's failure_reason_maps_every_variant metric-contract test.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Docs update

None — internal dependency bump.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Claude Code did the bump under my direction as part of the wire-order flip rollout: unified the split pins, caught the capture_batch fire-and-forget semantics change (silent drops would have broken the import worker's loss accounting) and switched that call site to the immediate-delivery API introduced in posthog-rs #175.

@cat-ph cat-ph self-assigned this Jul 10, 2026
@cat-ph cat-ph marked this pull request as ready for review July 10, 2026 17:35
@cat-ph cat-ph requested review from a team, ablaszkiewicz, eli-r-ph and hpouillot July 10, 2026 17:36
@greptile-apps

greptile-apps Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "chore(rust): bump posthog-rs to 0.19.1" | Re-trigger Greptile

Comment thread rust/Cargo.toml
mockall = "0.13.0"
moka = { version = "0.12.15", features = ["sync", "future"] }
posthog-rs = { version = "0.18.0", features = ["async-client", "capture-v1"] }
posthog-rs = { version = "0.19.1", features = ["async-client", "capture-v1"] }

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.

P2 Duplicate HTTP Client Stack

posthog-rs 0.19.1 resolves with reqwest 0.13.4 while the workspace still pins reqwest 0.12.x. That makes Rust services using this dependency carry two separate reqwest/TLS stacks, which can increase binary size and connection-pool memory for PostHog delivery paths.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@trunk-io

trunk-io Bot commented Jul 10, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@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: ce41b9cbdb

ℹ️ 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".

Comment thread rust/Cargo.toml
Base automatically changed from eli.r/posthog-rs-0.17-sdk-observability to master July 10, 2026 18:19
Stacked on the 0.18.0 upgrade: 0.19.1 sends error tracking frames in canonical wire order (first SDK flip of the ordering standardization) and makes SDK-frame stripping robust to newer demangler renderings.
@cat-ph cat-ph force-pushed the cat/bump-posthog-rs-0-19-1-on-67600 branch from ce41b9c to ed1a92f Compare July 10, 2026 18:48
@cat-ph cat-ph merged commit cb14bf9 into master Jul 13, 2026
206 checks passed
@cat-ph cat-ph deleted the cat/bump-posthog-rs-0-19-1-on-67600 branch July 13, 2026 15:04
@deployment-status-posthog

deployment-status-posthog Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-07-13 15:31 UTC Run
prod-us ✅ Deployed 2026-07-13 15:54 UTC Run
prod-eu ✅ Deployed 2026-07-13 15:55 UTC Run

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.

3 participants