Skip to content

Conversation

@limbonaut
Copy link
Collaborator

@limbonaut limbonaut commented Nov 14, 2025

This PR adds end-to-end integration tests using app-runner submodule, and running on Linux, macOS and Windows.

- Split "Has expected crash tags" test into separate level and mechanism tag tests
- Remove redundant level assertion from "Has optional attributes" test
- Add clarifying comment for shared test cases
- Add level tag test to message capture tests
- Fix comment grammar: "among" to "between"
Add common test cases to reduce duplication across test contexts. Extract shared assertions into parameterized test
blocks that can be reused. Remove unused $TestType parameter from several test blocks. Configure dist attribute for
integration tests.
Add comprehensive test suite for Godot runtime error handling, including stack trace validation and source context
verification. Implement the corresponding CLI command to trigger and capture runtime errors with proper frame
formatting.
@limbonaut limbonaut marked this pull request as ready for review November 19, 2025 11:17
objc::SentryThread *cocoa_thread = [[objc::SentryThread alloc] initWithThreadId:uint64_to_objc(thread_id)];
cocoa_thread.stacktrace = stack_trace;
cocoa_thread.crashed = [NSNumber numberWithBool:NO];
cocoa_thread.crashed = [NSNumber numberWithBool:YES];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Explanation: Aligning to how other platform implementations handle it. crashed attribute helps Sentry understand which thread caused the error.

@limbonaut
Copy link
Collaborator Author

It's ready for review. However, it depends on:

That one needs to be merged first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants