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

Fix beta tester deletion #60

Merged
merged 5 commits into from
Aug 24, 2023
Merged

Fix beta tester deletion #60

merged 5 commits into from
Aug 24, 2023

Conversation

Blackjacx
Copy link
Owner

@Blackjacx Blackjacx commented Aug 24, 2023

Changes

Fix beta tester deletion

Now all testers are deleted that are found (before only the first one
was deleted). An additional check is implemented which determines if
the user is still in any VALID beta groups. If a user is only in
INVALID beta groups he is treated as deleted. See comment on
allValidTesterGroups.

Specifying filters is way more flexible since we can now search beta
testers by email, firstName, lastName, … in one command call. 🚨 Please
use this power with caution though! Specifying just a first name will
delete all testers that share the same first name.

The for loop over all filters (previously over all emails) has been
moved from Assist to ASCKit to keep the command implementation small.

No error is thrown anymore when no testers have been found. The testers
are just not added to allDeletedTesters result anymore.

Upgrade ASCKit to 0.2.0

Increased timeout interval to 30s

Before we often ran into timeouts.

Switch input from emails -> filters

Specifying filters is way more flexible since we can now search beta
testers by email, firstName, lastName, … in one command call.

The for loop has also been moved into ASCKit to simplify the call site
in asc.

Also the command does not end in a failure error code anymore when no
testers have been found.

Fixed a waning

Heterogeneous collection literal could only be inferred to '[String :
Any]'; add explicit type annotation if this is intentional.

Issues

Before we often ran into timeouts.
Specifying filters is way more flexible since we can now search beta
testers by email, firstName, lastName, … in one command call.

The for loop has also been moved into ASCKit to simplify the call site
in `asc`.

Also the command does not end in a failure error code anymore when no
testers have been found.
Heterogeneous collection literal could only be inferred to '[String :
Any]'; add explicit type annotation if this is intentional.
@Blackjacx Blackjacx changed the title Increased timeout interval to 30s Fix beta tester deletion Aug 24, 2023
@Blackjacx Blackjacx merged commit a0ec429 into develop Aug 24, 2023
@Blackjacx Blackjacx deleted the fix-tester-deletion branch August 24, 2023 16:39
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.

[ASC] Implement Paging
1 participant