Skip to content

Add Sentry user feedback API helpers - #57

Merged
tustanivsky merged 3 commits into
mainfrom
feedback-api-helper
Aug 11, 2026
Merged

tustanivsky merged 3 commits into
mainfrom
feedback-api-helper

Conversation

@tustanivsky

@tustanivsky tustanivsky commented Aug 11, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds PowerShell helpers to fetch user feedback from Sentry, used by the Unreal SDK's feedback integration test.

Key Changes

  • Get-SentryFeedback — retrieves user feedback via the issue.category:feedback issues endpoint, with an optional -IncludeAssociatedEvent switch that resolves each feedback's associated event ID from its latest event.
  • Get-SentryTestFeedback — polling wrapper that locates a single feedback by a unique message token and saves it for assertion in integration tests.

Related Items

Add Get-SentryFeedback to query user feedback submissions via the
issue.category:feedback issues endpoint, with optional resolution of the
associated event ID from each feedback issue's latest event. Add a
Get-SentryTestFeedback polling wrapper that locates a single feedback by a
unique message token and saves it for assertion in integration tests.
Invoke-SentryApiRequest parses responses with ConvertFrom-Json -AsHashtable,
so results are hashtables. Wrap the issues response in @() so a single
feedback is still treated as a list, and attach associatedEventId as a real
dictionary key rather than an ETS note property. No behavior change; makes
the intent explicit and robust across PowerShell versions.

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3d3739b. Configure here.

The manifest lists FunctionsToExport explicitly, so Get-SentryFeedback must be
added there to be available when importing via the .psd1.
@tustanivsky
tustanivsky merged commit 9810e63 into main Aug 11, 2026
20 checks passed
@tustanivsky
tustanivsky deleted the feedback-api-helper branch September 9, 2026 11:17
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