Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…but still be resolved to proper user (#1951)
* feat(provider): sandbox switching added to provider console * feat(provider): fixed url and networkId selection * fix(provider): deposit param query fix
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: proxy build script * fix: typo
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* feat(analytics): add amplitude to notifications for emails * fix(notifications): pr fixes * fix: analytics tests * fix: add test amplitude key * fix(analytics): remove fail send amplitude * fix(analytics): don't fail on analytics track * fix: don't throw when undefined * fix: logging
* feat(deployment): add lease list fallback * fix(deployment): pr fixes * fix(deployment): pr test fixes * fix: update snapshot * fix: tests * fix: tests
* fix(billing): remove discounts calculations from ui * fix(billing): remove discount calculations from api * fix(billing): disable coupon button when loading * fix(billing): pr fixes * fix: remove unused function
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
Caution Review failedFailed to post review comments WalkthroughExpands CI triggers to include main-sdk-next; introduces reusable build/deploy inputs. Adds JWT-based managed-wallet auth with provider proxy updates, database-backed fallbacks for deployments/leases, and refactors wallet-scoped deployment flows. Removes Stripe discounts. Adds analytics sampling, payment polling, blockchain-down UI gating, and provider-console network config refactor. Includes indexer multi-version support and assorted SDK/package updates. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant API as API (Console)
participant Repo as ProviderRepository
participant JWT as ProviderJwtTokenService
participant Proxy as ProviderProxyService
participant Prov as Provider
User->>API: Create lease / Get lease status
API->>Repo: find provider by address
Repo-->>API: Provider + identity
alt Auth via mTLS
API->>Proxy: request(url, {auth: mtls})
else Auth via Managed Wallet JWT
API->>JWT: generateJwtToken(walletId, leases)
JWT-->>API: JWT token
API->>Proxy: request(url, {auth: jwt})
end
Proxy->>Prov: POST via provider-proxy URL
Prov-->>Proxy: Response
Proxy-->>API: Data
API-->>User: Result
sequenceDiagram
autonumber
actor Client
participant API as API
participant Chain as Chain RPC/REST
participant DB as DB Fallback
note over API: List/Info with network fallback
Client->>API: GET deployments/leases (fallback endpoints)
API->>Chain: Try RPC/REST
alt Network error/timeout/5xx
API->>DB: Query repositories with pagination
DB-->>API: Rows + count
else Success
Chain-->>API: Data
end
API-->>Client: Normalized response (with pagination)
sequenceDiagram
autonumber
actor User
participant Web as deploy-web
participant Pay as Stripe
participant API as Console API
User->>Web: Submit payment / apply coupon
Web->>Pay: Create/confirm PaymentIntent
Pay-->>API: Webhook (amount_received)
API->>API: Top up wallet
Web->>Web: PaymentPollingProvider.start()
loop until balance increases or timeout
Web->>API: GET wallet balance
API-->>Web: Balance
end
Web-->>User: Success snackbar and updated balance
Estimated code review effort🎯 5 (Critical) | ⏱️ ~150 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
| @@ -35,14 +35,15 @@ | |||
| }, | |||
There was a problem hiding this comment.
🔄 Carefully review the package-lock.json diff
Resolve the comment if everything is ok
* node_modules/call-bind 1.0.7 -> 1.0.8
* node_modules/json-stable-stringify 1.1.1 -> 1.3.0
* node_modules/long 5.3.1 -> 5.3.2
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/crypto 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/encoding 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/json-rpc 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/math 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/proto-signing 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/socket 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/stargate 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/stream 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/tendermint-rpc 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/@cosmjs/utils 0.33.1
+ node_modules/@akashnetwork/chain-sdk/node_modules/ws 7.5.10
+ node_modules/@akashnetwork/chain-sdk 1.0.0-alpha.3
+ node_modules/@bufbuild/protobuf 2.9.0
+ node_modules/@connectrpc/connect-node 2.1.0
+ node_modules/@connectrpc/connect 2.1.0 |
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary by CodeRabbit
New Features
UX Improvements
Changes
Chores