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

Pairing expiry reduction #1401

Merged
merged 18 commits into from
Aug 19, 2024
Merged

Pairing expiry reduction #1401

merged 18 commits into from
Aug 19, 2024

Conversation

llbartekll
Copy link
Contributor

@llbartekll llbartekll commented Aug 14, 2024

Description

  • removes Auth package
  • pairing expiry reduction

Resolves # (issue)

How Has This Been Tested?

Due Dilligence

  • Breaking change
  • Requires a documentation update

@llbartekll llbartekll marked this pull request as draft August 14, 2024 11:13
@llbartekll llbartekll marked this pull request as ready for review August 16, 2024 13:53
Copy link
Contributor

@jackpooleywc jackpooleywc left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Comment on lines +3268 to +3269
branch = "pairing-expiry";
kind = branch;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to merge this?

Copy link
Contributor Author

@llbartekll llbartekll Aug 19, 2024

Choose a reason for hiding this comment

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

yes, until we don't have a monorepo I need to reference to updated appkit

Comment on lines +149 to +153
Task {
if let pairingTopic = pairingTopic {
removePairing(pairingTopic: pairingTopic)
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe:

Suggested change
Task {
if let pairingTopic = pairingTopic {
removePairing(pairingTopic: pairingTopic)
}
}
if let pairingTopic = pairingTopic {
Task {
removePairing(pairingTopic: pairingTopic)
}
}

let pairing = pairingStore.getPairing(forTopic: pairingTopic),
!pairing.active {
pairingStore.delete(topic: pairingTopic)
// todo - delete and unsubscribe
Copy link
Contributor

Choose a reason for hiding this comment

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

?

Copy link

sonarcloud bot commented Aug 19, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
8.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@llbartekll llbartekll merged commit 2ef270b into develop Aug 19, 2024
5 of 6 checks passed
@llbartekll llbartekll deleted the pairing-expiry-reduction branch August 19, 2024 06:08
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.

2 participants