-
-
Notifications
You must be signed in to change notification settings - Fork 372
fix: synchronize and copy global profiling data structures #3018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
104d534
ref: extract serialization logic into testable function, with test to…
armcknight 3557f57
copy global data structures in a synchronized context
armcknight a3c542c
changelog
armcknight d8da8a5
Update Tests/SentryProfilerTests/SentryProfilerSwiftTests.swift
armcknight 73c63c1
Update Tests/SentryProfilerTests/SentryProfilerSwiftTests.swift
armcknight 63525ab
ci: Fix skipping codecov2 upload for scheduled (#3015)
philipphofmann 3594ea8
ci: only archive derived data logs if the build step fails (#3011)
armcknight a040e99
release: 8.7.0
getsentry-bot ecf9400
build(deps): bump github/codeql-action from 2.3.2 to 2.3.3 (#3014)
dependabot[bot] 971805f
fix changelog entry and fix test
armcknight a337836
pr feedback
armcknight 1ef06b3
reorganize to colocate queue metadata work
armcknight 96494b4
relocate to common conditionally compiled code sector
armcknight a51cf97
update tests to guard against modifying thread metadata copy after se…
armcknight b3d2d3b
copy the mutable subdictionaries for thread metadata
armcknight c92fc91
fixup! reorganize to colocate queue metadata work
armcknight 85209f0
add headerdoc explaining the test case, and explanation for another a…
armcknight ec9945a
also modify stacks/frames in critical section, with extra test checks
armcknight 363d58b
also update queue metadata in critical section
armcknight f96c567
Merge remote-tracking branch 'origin/main' into armcknight/fix/crashes
armcknight 7254787
fix changelog
armcknight File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -194,6 +194,7 @@ jobs: | |
|
|
||
| # We split building and running tests in two steps so we know how long running the tests takes. | ||
| - name: Build tests | ||
| id: build_tests | ||
| run: ./scripts/xcode-test.sh ${{matrix.platform}} ${{matrix.test-destination-os}} $GITHUB_REF_NAME ci build-for-testing | ||
|
|
||
| - name: Run tests | ||
|
|
@@ -209,7 +210,7 @@ jobs: | |
|
|
||
| - name: Archiving DerivedData Logs | ||
| uses: actions/upload-artifact@v3 | ||
| if: failure() | ||
| if: steps.build_tests.outcome == 'failure' | ||
| with: | ||
| name: derived-data-${{matrix.platform}}-xcode-${{matrix.xcode}}-os-${{matrix.test-destination-os}} | ||
| path: | | ||
|
|
@@ -251,7 +252,7 @@ jobs: | |
| - name: Push code coverage to codecov | ||
| id: codecov_2 | ||
| uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # [email protected] | ||
| if: steps.codecov_1.outcome == 'failure' && ${{ contains(matrix.platform, 'iOS') && !contains(github.ref, 'release') && github.event.schedule == '' }} | ||
| if: ${{ steps.codecov_1.outcome == 'failure' && contains(matrix.platform, 'iOS') && !contains(github.ref, 'release') && github.event.schedule == '' }} | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| fail_ci_if_error: true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| PRODUCT_NAME = SentryPrivate | ||
| MACH_O_TYPE = staticlib | ||
| CURRENT_PROJECT_VERSION = 8.6.0 | ||
| CURRENT_PROJECT_VERSION = 8.7.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.