GitNexus/gitnexus-web/test/unit
Gergő Magyar 54f97c86c7
fix(impact): make File risk comparable via shared axes (#3075) (#3082)
* docs(plans): add impact file risk plan

Capture the evidence, constraints, and verification path for fixing incomparable File and symbol impact risk.

Co-authored-by: Cursor <cursoragent@cursor.com>

* refactor(impact): centralize risk scoring

Keep the existing thresholds in one shared scorer and expose a common-axis comparison for targets with unavailable enrichment axes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(impact): expose incomparable file risk scale

Mark File impact results when process and module axes are unavailable, and provide a common-axis score for honest cross-kind comparisons.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(impact): explain cross-kind risk comparisons

Surface the common-axis score in CLI and agent guidance while reusing the shared threshold ladder in the web impact tool.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(impact): fail closed when enrichment is incomplete

Preserve proved HIGH/CRITICAL process counts, treat failed queries as UNKNOWN, and surface riskScale metadata on MCP, group, CLI, and Graph-RAG File walks.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 11:58:15 +00:00
..
access-token-prompt.test.tsx feat(render): add one-click deploy to render support (#2804) 2026-08-06 00:19:44 +00:00
agent-abort.test.ts feat: refresh MiniMax model and endpoint configuration (#2780) 2026-08-11 18:11:47 +00:00
agent-history.test.ts feat: refresh MiniMax model and endpoint configuration (#2780) 2026-08-11 18:11:47 +00:00
agent-prompt.test.ts fix(web): chat-only mode for large projects to prevent WebUI hang (#2178) (#2185) 2026-06-13 11:07:58 +01:00
backend-client-auth.test.ts feat(render): add one-click deploy to render support (#2804) 2026-08-06 00:19:44 +00:00
backend-client-repo-identity.test.ts fix(web): use repo path identity in switcher (#2420) 2026-07-11 11:43:47 +01:00
backend-client-retry.test.ts fix(ip): Scope write-route origin guard to server's own bound host (#2172) 2026-06-13 09:24:03 +01:00
bug-fixes.test.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
code-references-panel.test.tsx fix(web): use repo path identity in switcher (#2420) 2026-07-11 11:43:47 +01:00
constants.test.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
embedding-auto-start.test.ts feat(i18n): make web and CLI language-aware (#1748) 2026-05-23 06:14:24 +01:00
filter-panel.test.ts feat(web): Introduce Tree View and Circles View in Web Viewer (#1799) 2026-05-26 18:05:50 +01:00
graph-load-decision.test.ts fix(web): chat-only mode for large projects to prevent WebUI hang (#2178) (#2185) 2026-06-13 11:07:58 +01:00
graph.test.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
header.test.tsx fix(web): use repo path identity in switcher (#2420) 2026-07-11 11:43:47 +01:00
heartbeat.test.ts feat(render): add one-click deploy to render support (#2804) 2026-08-06 00:19:44 +00:00
i18n.test.tsx feat(i18n): make web and CLI language-aware (#1748) 2026-05-23 06:14:24 +01:00
impact-tool.test.ts fix(impact): make File risk comparable via shared axes (#3075) (#3082) 2026-08-29 11:58:15 +00:00
initialize-agent-identity.test.tsx fix(web): use repo path identity in switcher (#2420) 2026-07-11 11:43:47 +01:00
load-graph-anyway.test.tsx fix(web): use repo path identity in switcher (#2420) 2026-07-11 11:43:47 +01:00
mermaid-generator.test.ts ci: E2E workflow, web typecheck job, pre-commit hook, test suite (#486) 2026-03-24 06:01:08 +00:00
path-resolution.test.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
perf-optimizations.test.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
repo-analyzer-complete-identity.test.tsx fix(web): show origin-blocked analyze guidance (#2568) 2026-07-20 08:15:16 +01:00
repo-analyzer-upload-race.test.tsx fix(web): show origin-blocked analyze guidance (#2568) 2026-07-20 08:15:16 +01:00
security-guards.test.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
server-connection.test.ts fix(web): chat-only mode for large projects to prevent WebUI hang (#2178) (#2185) 2026-06-13 11:07:58 +01:00
settings-panel-token.test.tsx feat(render): add one-click deploy to render support (#2804) 2026-08-06 00:19:44 +00:00
settings-service.test.ts feat: refresh MiniMax model and endpoint configuration (#2780) 2026-08-11 18:11:47 +00:00
switch-repo-url.test.tsx fix(web): use repo path identity in switcher (#2420) 2026-07-11 11:43:47 +01:00
test-setup-storage.test.ts feat(i18n): make web and CLI language-aware (#1748) 2026-05-23 06:14:24 +01:00
url-restore.test.ts fix(web): use repo path identity in switcher (#2420) 2026-07-11 11:43:47 +01:00
use-auto-scroll.test.tsx fix(extractors): resolve 3 silent contract mis-resolution bugs (#793) (#817) 2026-04-14 08:03:02 +01:00
utils.test.ts ci: E2E workflow, web typecheck job, pre-commit hook, test suite (#486) 2026-03-24 06:01:08 +00:00