Skip to content

feat(package-vulnerability-scanner): surface account load errors and setup state - #455

Draft
amylin1249 wants to merge 2 commits into
pvs-02-viewer-identityfrom
pvs-03-user-store-and-errordetail
Draft

feat(package-vulnerability-scanner): surface account load errors and setup state#455
amylin1249 wants to merge 2 commits into
pvs-02-viewer-identityfrom
pvs-03-user-store-and-errordetail

Conversation

@amylin1249

@amylin1249 amylin1249 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Split out of #428 into small, reviewable PRs (tracking issue #415). Stacked 3/10 — stacked on #454, merge bottom-up.

Adds errorDetail, a shared helper that prefers the backend's error detail over a generic status message, and uses it in the user store. The store now tracks a distinct error state and a setupRequired flag (set on a 424), replacing a bare fetch with no error handling at all.

@github-actions

Copy link
Copy Markdown
Contributor

Extension release summary

😴 Changed but won't release

The following extensions have code changes but the manifest version hasn't been incremented:

  • package-vulnerability-scanner: manifest version 3.0.6 ≤ released version 3.0.6

If you intended to release these changes, update the version field in each extension's manifest.json.

See the contributing guide for details.

@amylin1249
amylin1249 marked this pull request as draft July 31, 2026 15:43
@amylin1249
amylin1249 force-pushed the pvs-03-user-store-and-errordetail branch from 60ef612 to ae2d6f5 Compare August 1, 2026 01:24
@amylin1249
amylin1249 force-pushed the pvs-03-user-store-and-errordetail branch 4 times, most recently from c09d20d to 847cb98 Compare August 1, 2026 05:46
…setup state

Add errorDetail, a shared helper that prefers the backend's error detail over
a generic status message, and use it in the user store. The store now tracks
a distinct error state and a setupRequired flag (set on a 424, matching the
missing-Visitor-API-Key case from the previous PR), instead of the previous
bare fetch with no error handling at all.

Wires tsconfig.vitest.json into tsconfig.json's references and npm test into
CI now that a real test file exists.
@amylin1249
amylin1249 force-pushed the pvs-03-user-store-and-errordetail branch from 847cb98 to 0e07598 Compare August 1, 2026 15:45
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