Skip to content
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

ci: Faster and smarter backup/restore tests #3516

Merged
merged 30 commits into from
Jan 11, 2025
Merged

Conversation

BYK
Copy link
Member

@BYK BYK commented Jan 9, 2025

From

================== 11 passed, 4 warnings in 762.35s (0:12:42) ==================

to

================== 11 passed, 4 warnings in 343.58s (0:05:43) ==================

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.45%. Comparing base (b948b10) to head (fbe59f8).
Report is 1 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3516      +/-   ##
==========================================
+ Coverage   93.23%   99.45%   +6.21%     
==========================================
  Files           3        3              
  Lines         207      184      -23     
==========================================
- Hits          193      183      -10     
+ Misses         14        1      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BYK BYK marked this pull request as ready for review January 10, 2025 11:29
@BYK BYK requested a review from hubertdeng123 January 10, 2025 11:29
@BYK BYK enabled auto-merge (squash) January 10, 2025 11:29
@BYK BYK disabled auto-merge January 10, 2025 16:58
@BYK BYK marked this pull request as draft January 10, 2025 16:58
BYK added a commit that referenced this pull request Jan 10, 2025
This is an initial transitionary patch before landing #3516. Once we land this, we will point https://github.com/getsentry/action-self-hosted-e2e-tests/blob/main/action.yml to this repo, land #3516, then update users of the old action to use this one and remove that repo.
BYK added a commit that referenced this pull request Jan 10, 2025
This is an initial transitionary patch before landing #3516. Once we land this, we will update users of the old action to use this one and remove that repo. Then land #3516 safely.

Great thing is, with this patch and the subsequent update to getsentry/action-self-hosted-e2e-tests to use this one, all the repos would be using the Docker Volume caching we introduced in #3488.
_integration-test/test_backup.py Show resolved Hide resolved
_integration-test/conftest.py Outdated Show resolved Hide resolved
@BYK BYK requested a review from hubertdeng123 January 10, 2025 21:23
@BYK
Copy link
Member Author

BYK commented Jan 10, 2025

@hubertdeng123 okay, this looks pretty good but waiting on getsentry/relay#4442 and getsentry/snuba#6746 before merging (otherwise those repos will be broken)

After those, I'll merge this and will also retire https://github.com/getsentry/action-self-hosted-e2e-tests/blob/main/action.yml

@BYK BYK marked this pull request as ready for review January 11, 2025 21:58
@BYK BYK merged commit f97a5e2 into master Jan 11, 2025
10 checks passed
@BYK BYK deleted the byk/ci/snapshot-backup-test branch January 11, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants