Skip to content

Conversation

@bruno-garcia
Copy link
Member

@bruno-garcia bruno-garcia commented Jul 1, 2025

Support for Xbox One is pretty similar to Xbox Series X|S.
So the changes are mostly pulling more stuff from the GDK samples repo, aligning the cmake files to reduce duplication (thanks @jpnurmi for doing that, and more)

Resolves: https://github.com/getsentry/sentry-xbox/issues/9

Depends on:

Testing will be done on this private repo with self-hosted GHA runner:

@github-actions
Copy link

github-actions bot commented Jul 1, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against d2bfb5c

@bruno-garcia bruno-garcia requested a review from supervacuus July 3, 2025 00:32
@bruno-garcia
Copy link
Member Author

@supervacuus before we move this out of draft (just need some real-device testing IMO), could you take a peek and see if it's OK?

Copy link
Collaborator

@supervacuus supervacuus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to see that we can reuse the code paths entirely for both Xboxes. One thing that is apparent from the toolchain files for Scarlett and Xbox One is that they are highly similar, and this similarity can be leveraged to halve the required build-script code by extracting a handful of variables. Not necessarily in this PR, but as a sensible follow-up.

**Features**:

- Add `sentry_clear_attachments()` to allow clearing all previously added attachments in the global scope. ([#1290](https://github.com/getsentry/sentry-native/pull/1290))
- Compiles also on Xbox One ([#1294](https://github.com/getsentry/sentry-native/pull/1294))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR says: "feat: xbox one support" but the changelog only mentions compilation. Do you expect another change before Xbox One can be considered supported? I think it should be made clear from the changelog.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I made it clear that it's about compilation for now since I can't validate at this point the support. But we'll order a devkit and get this tested at some point and add to docs and communicate things better then.
Thank you!

@bruno-garcia bruno-garcia marked this pull request as ready for review July 3, 2025 20:27
@bruno-garcia bruno-garcia changed the title feat: xbox one support compiles on xbox one Jul 3, 2025
@bruno-garcia bruno-garcia merged commit e0b3f8b into master Jul 3, 2025
58 of 60 checks passed
@bruno-garcia bruno-garcia deleted the feat/xbox-one branch July 3, 2025 20:28
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