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

chore: test 2.18.1-canary-ws-2 #3885

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ganchoradkov
Copy link
Member

Description

Please include a brief summary of the change.

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

For Linear issues: Closes APKT-xxx
For GH issues: closes #...

Showcase (Optional)

If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Copy link

changeset-bot bot commented Feb 20, 2025

⚠️ No Changeset found

Latest commit: d27ad8d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Feb 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
appkit-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 10:02am
appkit-ethers5-bera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 10:02am
appkit-laboratory ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 10:02am
next-wagmi-solana-bitcoin-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 10:02am
10 Skipped Deployments
Name Status Preview Comments Updated (UTC)
appkit-basic-ep ⬜️ Ignored (Inspect) Feb 21, 2025 10:02am
appkit-basic-ep-example ⬜️ Ignored (Inspect) Feb 21, 2025 10:02am
appkit-basic-example ⬜️ Ignored (Inspect) Feb 21, 2025 10:02am
appkit-basic-sign-client-example ⬜️ Ignored (Inspect) Feb 21, 2025 10:02am
appkit-basic-up-example ⬜️ Ignored (Inspect) Feb 21, 2025 10:02am
appkit-nansen-demo ⬜️ Ignored (Inspect) Visit Preview Feb 21, 2025 10:02am
appkit-vue-solana ⬜️ Ignored (Inspect) Feb 21, 2025 10:02am
appkit-wagmi-cdn-example ⬜️ Ignored (Inspect) Feb 21, 2025 10:02am
ethereum-provider-wagmi-example ⬜️ Ignored (Inspect) Visit Preview Feb 21, 2025 10:02am
vue-wagmi-example ⬜️ Ignored (Inspect) Feb 21, 2025 10:02am

Copy link
Contributor

github-actions bot commented Feb 20, 2025

Warnings
⚠️ File packages/appkit-utils/package.json contains a KEY or SECRET
⚠️ File packages/siwe/package.json contains a KEY or SECRET

Generated by 🚫 dangerJS against d27ad8d

Copy link
Contributor

github-actions bot commented Feb 20, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 72.28% 23067 / 31911
🔵 Statements 72.28% 23067 / 31911
🔵 Functions 62.18% 1847 / 2970
🔵 Branches 81.04% 3989 / 4922
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/scaffold-ui/src/views/w3m-connecting-wc-view/index.ts 75.35% 66% 72.72% 75.35% 41, 51-52, 80-81, 84-85, 106-107, 121-122, 130-131, 142, 146-149, 154, 158, 175, 179-193
Generated in workflow #9726 for commit d27ad8d by the Vitest Coverage Report Action

Copy link

socket-security bot commented Feb 20, 2025

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@radix-ui/[email protected] None +6 226 kB chancestrickland

View full report↗︎

Comment on lines -39 to -43
this.interval = setInterval(
this.initializeConnection.bind(this),
ConstantsUtil.TEN_SEC_MS
) as unknown as NodeJS.Timeout
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

🫠

@@ -80,13 +67,9 @@ export class W3mConnectingWcView extends LitElement {
properties: { message: (error as BaseError)?.message ?? 'Unknown' }
})
ConnectionController.setWcError(true)
if (CoreHelperUtil.isAllowedRetry(this.lastRetry)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we still need this util? can we remove?

Copy link
Member Author

Choose a reason for hiding this comment

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

seems isAllowedRetry is also used in AccountController

} else {
SnackController.showError((error as BaseError).message ?? 'Connection error')
}
SnackController.showError((error as BaseError).message ?? 'Connection error')
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is no longer looped into reconnecting right? Just triple checking there won't be popups going crazy if a network issue happens and we enter a retry loop

Copy link
Member Author

@ganchoradkov ganchoradkov Feb 21, 2025

Choose a reason for hiding this comment

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

nope, when await ConnectionController.connectWalletConnect() rejects for whatever reason

  • rejected by the user
  • proposal expired

the router redirects back to wallet list and thats all

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