Automatic flush on exit
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- powershell
- Domain
- backend
Research direction
Start by comparing the current asynchronous send path with the synchronous “background” worker used for webGL in Unity. Investigate trap, Register-EngineEvent -SourceIdentifier Powershell.Exiting, and the Stop-Sentry call, including the linked PowerShell issue. Done means messages are sent asynchronously during execution while the process still attempts to flush them before exit without hanging.
Written by the indexing model from the issue text.
Description
We should find a way to send messages asynchronously while still actually trying to send them before the script exits.
traponly gets triggered for errors so that is not usableRegister-EngineEvent -SourceIdentifier Powershell.Exiting -Action {}gets stuck onStop-Sentrycall indefinitely. Also, it doesn't seem to work reliably
For now, I'm doing what we do in webGL in Unity, i.e. implement a synchronous "background" worker instead of an async one.
- Dominant language
- PowerShell
- Stars
- 16
- Forks
- 5
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-powershell
-
good first issue Improvement PowerShell
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
getsentry/sentry-powershell#136 · 1 comment ·
-
Improvement PowerShell
Difficulty 4/5 3-5 days Newbie friendliness 45/100
getsentry/sentry-powershell#128 · 2 comments ·
-
Improvement PowerShell
Difficulty 5/5 Over a week Newbie friendliness 38/100
getsentry/sentry-powershell#121 · 2 comments ·
All issues in getsentry/sentry-powershell
Similar issues
-
Area: Excel support
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
orbeon/orbeon-forms#7893 ·
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/python-sdk#3566 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
griptape-ai/griptape#2353 ·