Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
696ba61
todo
vaind Aug 17, 2023
4f85144
feat: expose cocoa profiling via method channels
vaind Aug 18, 2023
de6f244
feat: prepare profiler interfaces and hub integration
vaind Aug 22, 2023
7c73348
fix CI
vaind Aug 23, 2023
42af467
integrate dart & cocoa profiling
vaind Aug 24, 2023
162c2ba
fix API breakage
vaind Aug 26, 2023
31a92e5
fix tests
vaind Aug 28, 2023
b12978e
dart format
vaind Aug 28, 2023
3582adf
ci: fix pana
vaind Aug 29, 2023
1d74bac
update tests
vaind Aug 29, 2023
8d23d3f
analysis issues
vaind Aug 29, 2023
c9be10c
update to the latest cocoa SDK API
vaind Sep 5, 2023
32c6e5d
linter issue
vaind Sep 7, 2023
0ae79d4
fix import
vaind Sep 12, 2023
df9fb5b
refactor: SentryNative integration
vaind Sep 12, 2023
0fb649c
update cocoa native binding to use ffi startProfiler()
vaind Sep 12, 2023
dccb853
tmp: findPrimeNumber in example
vaind Sep 12, 2023
6119812
fix: make FFI dependency conditional (web/vm)
vaind Sep 18, 2023
5218efa
exclude generated binding code from code coverage
vaind Sep 18, 2023
4c8f2bf
test: profiler integration test
vaind Sep 18, 2023
e0bb3ab
workaround for the integration test issue
vaind Sep 18, 2023
8a4fed7
chore: formatting
vaind Sep 19, 2023
2d29cb6
Merge branch 'main' into feat/profiling
vaind Sep 19, 2023
4748a00
Merge branch 'main' into feat/profiling
vaind Sep 20, 2023
39d1187
chore: remove obsolete code
vaind Sep 25, 2023
50994d4
Update flutter/example/lib/main.dart
vaind Oct 3, 2023
6e599fb
renames
vaind Oct 3, 2023
e7582d7
Breadcrumbs for file I/O operations (#1649)
denrase Sep 25, 2023
36b052e
ci: don't run CI on markdown updates (#1651)
vaind Sep 25, 2023
813b947
fixup mock names after renames
vaind Oct 3, 2023
ce59509
Merge branch 'main' into feat/profiling
stefanosiano Oct 4, 2023
e13e7de
more renames (Sentry prefix)
vaind Oct 4, 2023
8e6bd13
chore: update changelog
vaind Oct 4, 2023
227b701
Merge branch 'main' into feat/profiling
vaind Oct 26, 2023
defdfa6
don't inline findPrimeNumber profiler-test function
vaind Oct 27, 2023
4074f01
fixup changelog
vaind Oct 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into feat/profiling
  • Loading branch information
vaind committed Oct 26, 2023
commit 227b701c2064d2c16f0175dc85a530141922ac39
2 changes: 1 addition & 1 deletion flutter/example/integration_test/profiling_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void main() {
setUp(() async {
await SentryFlutter.init((options) {
// ignore: invalid_use_of_internal_member
options.devMode = true;
options.automatedTestMode = true;
options.dsn = 'https://[email protected]/1234567';
options.debug = true;
options.transport = transport;
Expand Down
4 changes: 2 additions & 2 deletions flutter/lib/src/native/sentry_native.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class SentryNative {
} catch (error, stackTrace) {
_logError(nativeMethodName, error, stackTrace);
// ignore: invalid_use_of_internal_member
if (_options.devMode) {
if (_options.automatedTestMode) {
rethrow;
}
return null;
Expand All @@ -108,7 +108,7 @@ class SentryNative {
} catch (error, stackTrace) {
_logError(nativeMethodName, error, stackTrace);
// ignore: invalid_use_of_internal_member
if (_options.devMode) {
if (_options.automatedTestMode) {
rethrow;
}
return null;
Expand Down
2 changes: 1 addition & 1 deletion flutter/test/mocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const fakeProguardUuid = '3457d982-65ef-576d-a6ad-65b5f30f49a5';
// TODO use this everywhere in tests so that we don't get exceptions swallowed.
SentryFlutterOptions defaultTestOptions() {
// ignore: invalid_use_of_internal_member
return SentryFlutterOptions(dsn: fakeDsn)..devMode = true;
return SentryFlutterOptions(dsn: fakeDsn)..automatedTestMode = true;
}

// https://github.com/dart-lang/mockito/blob/master/NULL_SAFETY_README.md#fallback-generators
Expand Down
12 changes: 6 additions & 6 deletions flutter/test/sentry_flutter_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void main() {
await SentryFlutter.init(
(options) async {
options.dsn = fakeDsn;
options.devMode = true;
options.automatedTestMode = true;
options.profilesSampleRate = 1.0;
integrations = options.integrations;
transport = options.transport;
Expand Down Expand Up @@ -112,7 +112,7 @@ void main() {
await SentryFlutter.init(
(options) async {
options.dsn = fakeDsn;
options.devMode = true;
options.automatedTestMode = true;
options.profilesSampleRate = 1.0;
integrations = options.integrations;
transport = options.transport;
Expand Down Expand Up @@ -161,7 +161,7 @@ void main() {
await SentryFlutter.init(
(options) async {
options.dsn = fakeDsn;
options.devMode = true;
options.automatedTestMode = true;
options.profilesSampleRate = 1.0;
integrations = options.integrations;
transport = options.transport;
Expand Down Expand Up @@ -210,7 +210,7 @@ void main() {
await SentryFlutter.init(
(options) async {
options.dsn = fakeDsn;
options.devMode = true;
options.automatedTestMode = true;
options.profilesSampleRate = 1.0;
integrations = options.integrations;
transport = options.transport;
Expand Down Expand Up @@ -261,7 +261,7 @@ void main() {
await SentryFlutter.init(
(options) async {
options.dsn = fakeDsn;
options.devMode = true;
options.automatedTestMode = true;
options.profilesSampleRate = 1.0;
integrations = options.integrations;
transport = options.transport;
Expand Down Expand Up @@ -312,7 +312,7 @@ void main() {
await SentryFlutter.init(
(options) async {
options.dsn = fakeDsn;
options.devMode = true;
options.automatedTestMode = true;
options.profilesSampleRate = 1.0;
integrations = options.integrations;
transport = options.transport;
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.