Skip to content

chore: sync main into v1 (7.65.0–7.67.0) - #1044

Open
eli-r-ph wants to merge 12 commits into
v1-capture-redirectsfrom
v1-sync-main
Open

eli-r-ph wants to merge 12 commits into
v1-capture-redirectsfrom
v1-sync-main

Conversation

@eli-r-ph

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

Copy link
Copy Markdown
Contributor

💡 Motivation and Context

Stacked on #1035. Part of the 8.0 series (checklist in #1016). Note: I was trying to avoid an explicit merge/rebase onto v1 without a PR, but this PR is huge! I can do this another way (or split) if preferable, these changes should merge smoothly

Brings everything that landed on main since v1 forked into the 8.0 series, so 8.0 doesn't drop it:

Each upstream commit is cherry-picked with -x, in main order, so you can review it against its original PR. About 10.7k of the ~14.5k changed lines are the generated references/*.json from the release commits, so reviewing by commit and skipping those files leaves ~3.8k lines.

Only #898 needed hand resolution:

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

If releasing new changes

  • Ran sampo add to generate a changeset file

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

  • Cursor agent (Claude). The author chose a reviewable PR in the series over pushing a merge to v1. Cherry-picks keep the stack linear for restacks. Squash merges don't record merge history, so main still shows as unmerged. A no-content merge to record that history is planned for after the series lands.

@eli-r-ph eli-r-ph self-assigned this Oct 9, 2026
@eli-r-ph
eli-r-ph marked this pull request as ready for review October 9, 2026 18:12
@eli-r-ph
eli-r-ph requested a review from a team as a code owner October 9, 2026 18:12
Comment thread posthog/integrations/flask.py
@veria-ai

veria-ai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

PR overview

All previously flagged issues have been addressed. No open security concerns remain on this pull request.

Security review

No open security issues remain on this pull request.

Fixed/addressed: 1 · PR risk: 0/10

dustinbyrne and others added 12 commits October 9, 2026 20:16
* ci: reuse Python SDK upgrade PRs unless queued

* ci: protect reused upgrade PRs from stale and queued writes

(cherry picked from commit 945bbbc)
* feat(error-tracking): standardize exception metadata

* fix(error-tracking): preserve explicit trace context

* fix(error-tracking): restrict exception group traversal

* fix(error-tracking): deprecate reserved property overrides

* fix(error-tracking): bound exception group traversal

(cherry picked from commit 6d6cc3d)
(cherry picked from commit c4e6bdd)
(cherry picked from commit 50efa65)
* feat(asgi): add error tracking middleware

* chore(asgi): type exception capture metadata

* fix(asgi): make tracing header trust explicit

* refactor(asgi): expose request properties terminology

(cherry picked from commit 1c6a47a)
* feat(mcp): resolve fresh low-level tool ownership

Add resolve_original_tool for raw MCP SDK 1.x and 2.x servers. Prefer ownership learned from a served listing and keep unknown ownership fail-open.

Generated-By: PostHog Desktop
Task-Id: db1a8a08-fe03-43b6-9e49-705e8b1f375e

* fix(mcp): preserve listed argument ownership

Generated-By: PostHog Desktop
Task-Id: db1a8a08-fe03-43b6-9e49-705e8b1f375e

* fix(mcp): preserve arguments for unknown schemas

Generated-By: PostHog Desktop
Task-Id: db1a8a08-fe03-43b6-9e49-705e8b1f375e

* fix(mcp): preserve low-level tool schemas

Generated-By: PostHog Desktop
Task-Id: db1a8a08-fe03-43b6-9e49-705e8b1f375e
(cherry picked from commit 127009d)
* feat(flask): add error tracking integration

* fix(flask): use canonical exception metadata

* chore(flask): type exception capture metadata

* refactor(flask): expose request properties terminology

* fix(flask): preserve exception privacy settings

(cherry picked from commit 292855d)
(cherry picked from commit d23ef68)
(cherry picked from commit c0e05b1)
* feat(drf): add automatic error tracking integration

* fix(drf): align exception metadata with SDK spec

* chore(drf): type exception capture metadata

* fix(drf): honor Django request filtering

* test(drf): describe context data as properties

* feat(drf): support exception capture opt-out

* chore(drf): update public API snapshot

* fix(drf): align exception capture configuration

* test(drf): preserve omitted setting default

(cherry picked from commit 9baf8a5)
(cherry picked from commit a655c8b)
(cherry picked from commit 509c852)

This branch has not been deployed

No deployments
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