Skip to content

ref(grouping): Make Windows multiprocess grouping inputs more realistic#107561

Merged
lobsterkatie merged 2 commits intomasterfrom
kmclb-make-windows-multiprocess-grouping-inputs-more-realistic
Feb 5, 2026
Merged

ref(grouping): Make Windows multiprocess grouping inputs more realistic#107561
lobsterkatie merged 2 commits intomasterfrom
kmclb-make-windows-multiprocess-grouping-inputs-more-realistic

Conversation

@lobsterkatie
Copy link
Member

When we added grouping test inputs for the windows version of hard-coded values in multiprocessing calls, we did so using posix stacktraces, because that's the only examples we had. Each input therefore included the following entry:

"TODO": "The stack here is really a posix stack, not a Windows stack; the only thing Windows-y about this is the arguments passed to 'spawn_main' in the first frame. Admittedly that line is the whole point of having this input - the rest is sort of beside the point - but still, it would be nice to make this more realistic. Once the code for handling python multiprocessing context lines is in prod and we start logging instances of this in projects other than our own internal sentry project, it would be good to find an example which actually is from Windows, and use that to fix this stacktrace.",

We've since seen a few events come in from actual Windows machines, so we can now handle the aforementioned task. (Note: This uses data from a customer event for structure, but all in-app function names, code lines, and filepaths have been changed, as has the error message - only frames from the third-party server framework and from Python itself have been used as is.)

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 3, 2026
@lobsterkatie lobsterkatie marked this pull request as ready for review February 3, 2026 23:50
@lobsterkatie lobsterkatie requested a review from a team as a code owner February 3, 2026 23:50
@lobsterkatie lobsterkatie merged commit a3e9d5d into master Feb 5, 2026
90 checks passed
@lobsterkatie lobsterkatie deleted the kmclb-make-windows-multiprocess-grouping-inputs-more-realistic branch February 5, 2026 23:40
jaydgoss pushed a commit that referenced this pull request Feb 12, 2026
…ic (#107561)

When we added grouping test inputs for the windows version of hard-coded values in multiprocessing calls[1], we did so using posix stacktraces, because that's the only examples we had. Each input therefore included the following entry:

```
"TODO": "The stack here is really a posix stack, not a Windows stack; the only thing Windows-y about this is the arguments passed to 'spawn_main' in the first frame. Admittedly that line is the whole point of having this input - the rest is sort of beside the point - but still, it would be nice to make this more realistic. Once the code for handling python multiprocessing context lines is in prod and we start logging instances of this in projects other than our own internal sentry project, it would be good to find an example which actually is from Windows, and use that to fix this stacktrace.",
```

We've since seen a few events come in from actual Windows machines, so we can now handle the aforementioned task. (Note: This uses data from a customer event for structure, but all in-app function names, code lines, and filepaths have been changed, as has the error message - only frames from the third-party server framework and from Python itself have been used as is.)


[1] #103185
dcramer pushed a commit that referenced this pull request Feb 17, 2026
…ic (#107561)

When we added grouping test inputs for the windows version of hard-coded values in multiprocessing calls[1], we did so using posix stacktraces, because that's the only examples we had. Each input therefore included the following entry:

```
"TODO": "The stack here is really a posix stack, not a Windows stack; the only thing Windows-y about this is the arguments passed to 'spawn_main' in the first frame. Admittedly that line is the whole point of having this input - the rest is sort of beside the point - but still, it would be nice to make this more realistic. Once the code for handling python multiprocessing context lines is in prod and we start logging instances of this in projects other than our own internal sentry project, it would be good to find an example which actually is from Windows, and use that to fix this stacktrace.",
```

We've since seen a few events come in from actual Windows machines, so we can now handle the aforementioned task. (Note: This uses data from a customer event for structure, but all in-app function names, code lines, and filepaths have been changed, as has the error message - only frames from the third-party server framework and from Python itself have been used as is.)


[1] #103185
@github-actions github-actions bot locked and limited conversation to collaborators Feb 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants