Skip to content

chore: sync main into v1 (7.67.1–7.68.0) - #1051

Merged
eli-r-ph merged 9 commits into
v1from
v1-sync-main-7.68
Oct 20, 2026
Merged

eli-r-ph merged 9 commits into
v1from
v1-sync-main-7.68

Conversation

@eli-r-ph

@eli-r-ph eli-r-ph commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

💡 Motivation and Context

Stacked on #1048. This brings what landed on main since #1044 into 8.0, so the release does not drop it.

Changes

Each commit is cherry-picked with -x, in main order, with no conflicts.

One v1-only test change: #1040's test_context_only_enriches_events_without_redirecting_the_client now reads the event in before_send, because v1 adds context properties later than main. Its assertions are unchanged.

Review fixes for #1030 and #1035

One extra commit fixes review comments on the PRs below this one, so the fixes land with this merge:

💚 How did you test it?

  • Each pick changes exactly the lines of its upstream commit.
  • The full suite passes (4663 tests); new redirect tests fail without the fixes; the adapted test fails if the Django middleware stops tagging the request.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Cherry-picked with Claude Code under the direction of the assignee.

🤖 Generated with Claude Code

@eli-r-ph eli-r-ph self-assigned this Oct 12, 2026
@eli-r-ph
eli-r-ph marked this pull request as ready for review October 12, 2026 18:41
@eli-r-ph
eli-r-ph requested a review from a team as a code owner October 12, 2026 18:41
@eli-r-ph
eli-r-ph force-pushed the v1-ai-require-capture-ai branch 2 times, most recently from 5ea139e to 81db481 Compare October 14, 2026 03:48

@dustinbyrne dustinbyrne 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.

Reviewed the request-configuration changes, MCP marker, v1 test adaptation, and release imports against the stack base. No issues found.

AI-assisted review.

@eli-r-ph
eli-r-ph force-pushed the v1-ai-require-capture-ai branch from 81db481 to 8d3eb69 Compare October 20, 2026 17:06
Base automatically changed from v1-ai-require-capture-ai to v1 October 20, 2026 17:06
gesh and others added 9 commits October 20, 2026 10:06
feat(mcp): add interface property to server events

Generated-By: PostHog Desktop
Task-Id: 651bf7d9-01f4-4d75-8583-868e29fdd314
(cherry picked from commit a3bd254)
(cherry picked from commit 4ae3d26)
(cherry picked from commit 492d71b)
* Align ASGI and Flask integration defaults

* feat(integrations): align request middleware configuration

(cherry picked from commit 2f0d67d)
(cherry picked from commit ad553de)
(cherry picked from commit 90f8d69)
…1042)

Bumps the uv group with 1 update in the /examples/example-ai-llamaindex directory: [banks](https://github.com/masci/banks).
Bumps the uv group with 2 updates in the /examples/example-ai-pydantic-ai directory: [pydantic-ai](https://github.com/pydantic/pydantic-ai) and [pydantic-ai-slim](https://github.com/pydantic/pydantic-ai).

Updates `banks` from 2.4.5 to 2.5.1
- [Release notes](https://github.com/masci/banks/releases)
- [Commits](masci/banks@v2.4.5...v2.5.1)

Updates `pydantic-ai` from 1.102.0 to 1.107.7
- [Release notes](https://github.com/pydantic/pydantic-ai/releases)
- [Changelog](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md)
- [Commits](pydantic/pydantic-ai@v1.102.0...v1.107.7)

Updates `pydantic-ai-slim` from 1.102.0 to 1.107.7
- [Release notes](https://github.com/pydantic/pydantic-ai/releases)
- [Changelog](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md)
- [Commits](pydantic/pydantic-ai@v1.102.0...v1.107.7)

---
updated-dependencies:
- dependency-name: banks
  dependency-version: 2.5.1
  dependency-type: indirect
  dependency-group: uv
- dependency-name: pydantic-ai
  dependency-version: 1.107.7
  dependency-type: direct:production
  dependency-group: uv
- dependency-name: pydantic-ai-slim
  dependency-version: 1.107.7
  dependency-type: indirect
  dependency-group: uv
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ee686ff)
… fill

On v1, context properties are filled inside _enqueue, before before_send.
The test patched _enqueue itself, so it saw the event before the fill and
lost $request_path and role. It now records the event in before_send.
The assertions are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…docs

- Compare redirect origins as requests sends them, so a Unicode host
  matches its IDNA form.
- Log a refused or exhausted capture redirect at debug; failed-batch
  reporting owns warnings.
- The migration guide says the OpenTelemetry integration still exports
  to /i/v0/ai/otel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eli-r-ph
eli-r-ph merged commit d5b29f1 into v1 Oct 20, 2026
39 checks passed
@eli-r-ph
eli-r-ph deleted the v1-sync-main-7.68 branch October 20, 2026 17:07
@eli-r-ph eli-r-ph mentioned this pull request Oct 23, 2026
3 of 4 tasks
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.

4 participants