Skip to content

perf(users): load other strategies' credentials on expand - #1251

Merged
rolljee merged 1 commit into
4-devfrom
fix/v4-users-credentials-au-depliage
Oct 3, 2026
Merged

rolljee merged 1 commit into
4-devfrom
fix/v4-users-credentials-au-depliage

Conversation

@rolljee

@rolljee rolljee commented Oct 3, 2026

Copy link
Copy Markdown
Member

Backport of #1250 (QA feedback on console-v5, the code comes from v4).

Cause: performSearchUsers called getCredentials for every user × strategy, sequentially (2 + 25 × 2 round trips for 25 users and two strategies) — several seconds on a remote backend, invisible locally.

Fix

  • The list only loads local (the only one shown on a folded row), in parallel, and getStrategies alongside the search.
  • UserItem loads every strategy on first expand (getUserCredentials).
  • users spec: expanding renders the credentials.

Checked against a build on a fresh stack: users 21/21. test:types has the same 6 pre-existing errors as 4-dev, none in the touched files.

🤖 Generated with Claude Code

The users list took several seconds to open on a remote backend: it
called getCredentials for every user and every strategy, sequentially.
It now only loads `local`, the only one shown on a folded row, in
parallel; UserItem loads every strategy when first expanded.

Backport of #1250 (G-132).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for heuristic-goodall-67c4b1 ready!

Name Link
🔨 Latest commit b99d979
🔍 Latest deploy log https://app.netlify.com/projects/heuristic-goodall-67c4b1/deploys/6ac08703ae1eef0008da8faa
😎 Deploy Preview https://deploy-preview-1251--heuristic-goodall-67c4b1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@rolljee
rolljee merged commit 29215bf into 4-dev Oct 3, 2026
26 checks passed
@rolljee
rolljee deleted the fix/v4-users-credentials-au-depliage branch October 3, 2026 05:37
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.

1 participant