Skip to content

Conversation

@philipphofmann
Copy link
Member

@philipphofmann philipphofmann commented Sep 22, 2022

The UI tests were using caches that stopped the UI tests from recompiling when there were changes in the library code. Instead, we need to recompile the test sample apps with their UI tests when there are changes in the library code to be able to catch bugs. This is fixed now by removing the cache.

Furthermore, @kevinrenskers opened a PR #2184 to enable automatic code signing for development of the iOS-Swift sample app. CI was green, and we merged it. Without caching we would have caught this error.

#skip-changelog

The UI tests were using caches that stopped the UI tests from
recompiling when there were changes in the library code.
Instead, we need to recompile the test sample apps with their
UI tests when there are changes in the library code to be able
to catch bugs. This is fixed now by removing the cache.
scheme: "iOS-Swift",
derived_data_path: "DerivedData",
skip_archive: true,
skip_codesigning: true
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems to undo the fix from my PR

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh it was still a draft PR 😅

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I'm just playing araound.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 22, 2022

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1235.66 ms 1253.90 ms 18.24 ms
Size 20.51 KiB 331.79 KiB 311.28 KiB

Baseline results on branch: master

Startup times

Revision Plain With Sentry Diff
9fc2dd0 1246.14 ms 1275.00 ms 28.86 ms

App size

Revision Plain With Sentry Diff
9fc2dd0 20.50 KiB 331.79 KiB 311.28 KiB

Copy link
Contributor

@brustolin brustolin left a comment

Choose a reason for hiding this comment

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

LGTM

@philipphofmann philipphofmann merged commit 5025d2e into master Sep 22, 2022
@philipphofmann philipphofmann deleted the ci/remove-cache-for-ui-tests branch September 22, 2022 13:32
@kevinrenskers
Copy link
Contributor

So we can't make automatic signing work at all? :(

kevinrenskers added a commit that referenced this pull request Sep 22, 2022
* master:
  ci: Remove caching for UI tests (#2210)
  ci: Fix broken Benchmark test (#2208)
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