unit.log 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. bun test v1.4.0 (34cbb9a40)
  2. src/pages/paas/chat-cache.test.ts:
  3. (pass) research conversation persistence > migrates old drafts and attachments; history bodies load only when selected [3.18ms]
  4. (pass) research conversation persistence > draft edits do not rewrite report bodies and reverted edits discard pending values [0.08ms]
  5. (pass) research conversation persistence > index write failure can be retried without losing existing message bodies [0.82ms]
  6. (pass) research conversation persistence > new window preserves unloaded histories and scopes stay isolated [0.07ms]
  7. (pass) one corrupt message preserves other conversations, drafts and healthy messages [0.09ms]
  8. (pass) chat metadata keeps project ownership across reload [0.23ms]
  9. (pass) a corrupt navigation index can be rebuilt from healthy conversation records [0.16ms]
  10. (pass) authenticated legacy migration copies all report bodies without crossing identity scopes [0.57ms]
  11. src/pages/paas/inbox.test.ts:
  12. (pass) builds approvals, failures and unread completions across projects [0.31ms]
  13. (pass) task rows join through project threads and dedupe runs [0.61ms]
  14. (pass) seen state is evaluated per project [0.02ms]
  15. (pass) archived chats contribute no inbox items, including task-index rows [0.02ms]
  16. (pass) stale task-index reminders do not override a loaded conversation [0.02ms]
  17. (pass) clarification requests remain actionable in both conversations and the task index [0.02ms]
  18. src/pages/paas/progress.test.ts:
  19. (pass) unknown usage is not presented as zero and server research outcomes remain distinct [0.27ms]
  20. (pass) completed messages never show elapsed time from a later refresh timestamp [0.03ms]
  21. (pass) account balance, research budget, network and permissions suggest different recovery paths [0.90ms]
  22. (pass) workspace assistant explains how to unblock a missing project folder
  23. (pass) missing artifacts are not reported as an account permission problem [0.02ms]
  24. (pass) generated output parsing failures are not attributed to uploaded materials [0.04ms]
  25. (pass) partial research retains backend failure reasons without inventing missing ones [0.18ms]
  26. (pass) model credential failures target model settings and unknown state never claims progress [0.04ms]
  27. src/pages/paas/inbox-seen.test.ts:
  28. (pass) seen state is isolated by scope, window and project [0.07ms]
  29. (pass) corrupt seen state falls back to empty and remains writable [0.04ms]
  30. src/pages/paas/artifact-library.test.ts:
  31. (pass) collects archived runs for one project from tasks and loaded messages [0.16ms]
  32. (pass) merges artifact and workspace files without duplicating names [0.85ms]
  33. (pass) tolerates missing lists and empty identifiers [0.03ms]
  34. (pass) hides virtualenv and dependency internals from workspace listings [0.14ms]
  35. (pass) classifies and filters artifacts by type and search text [0.27ms]
  36. (pass) same-named files and artifacts keep distinct identities and never borrow an ambiguous preview path [0.06ms]
  37. (pass) explicit artifact paths pair only the correct workspace copy [0.04ms]
  38. (pass) latest revisions match full paths while unrelated basenames remain visible [0.05ms]
  39. src/pages/paas/run-inspector-data.test.ts:
  40. (pass) normalizes stages and events with honest missing values [0.10ms]
  41. (pass) bad payloads become empty inspector data [0.01ms]
  42. src/pages/paas/projects.test.ts:
  43. (pass) empty storage creates one stable default project [0.06ms]
  44. (pass) projects persist per scope and window [0.25ms]
  45. (pass) rename, bind and archive preserve active project invariants [0.19ms]
  46. (pass) corrupt project data falls back without throwing [0.03ms]
  47. src/pages/paas/file-groups.test.ts:
  48. (pass) folds scripts, configs and logs but keeps research documents visible [0.08ms]
  49. (pass) exposes code as its own artifact category [0.01ms]
  50. src/pages/paas/extensions.test.ts:
  51. (pass) connect, disable, enable and remove retain other capabilities and never store a secret [1.83ms]
  52. (pass) never overwrite unmanaged connections or tools with duplicate names [1.16ms]
  53. (pass) unsupported execution layouts cannot silently receive ineffective configuration [0.04ms]
  54. (pass) reject bad URLs, credentials and empty selections [0.22ms]
  55. (pass) text-only agents enable executable tool calls only with explicit confirmation [0.06ms]
  56. (pass) chain parents never pretend to execute root-level tools [0.01ms]
  57. (pass) router parents never pretend to execute root-level tools
  58. (pass) parallel parents never pretend to execute root-level tools
  59. (pass) stored connections do not claim to be enabled when their executor cannot call tools [0.02ms]
  60. src/pages/paas/agent-profiles.test.ts:
  61. (pass) built-in internal subagents never appear as direct entries [0.06ms]
  62. (pass) agent directory groups all four entry modes [0.05ms]
  63. (pass) platform metadata overrides local transitional profile [0.02ms]
  64. (pass) unknown agents remain directly usable
  65. (pass) workspace assistant is marked as requiring a workspace
  66. src/pages/paas/model-connection.test.ts:
  67. (pass) shares only a matching model and effective endpoint, including custom gateways [0.17ms]
  68. src/pages/paas/layout.test.ts:
  69. (pass) navigation width stays inside its allowed range [0.01ms]
  70. (pass) dragging below the collapse threshold enters the icon rail and keeps the last width [0.02ms]
  71. (pass) stored navigation layout is clamped and malformed values fall back to the default [0.13ms]
  72. (pass) layout storage is separated per desktop window [0.02ms]
  73. (pass) preview width clamps and closes below its collapse threshold [0.05ms]
  74. src/pages/paas/product-review.test.ts:
  75. (pass) package failures survive structured error normalization and take precedence over 404 [0.04ms]
  76. (pass) task origin is agent-scoped and does not assign unknown history to current project [0.04ms]
  77. (pass) same basename and case-sensitive paths retain independent file identities [0.04ms]
  78. (pass) copy diagnostics removes credentials, URL queries, home paths and prompt bodies [1.17ms]
  79. src/pages/paas/tool-label.test.ts:
  80. (pass) external tool progress distinguishes connected, failed and missing credentials [0.07ms]
  81. src/pages/paas/deployment.test.ts:
  82. (pass) personal deployment keeps the existing allow-all fallback [0.02ms]
  83. (pass) managed deployments can deny missing permissions without changing explicit permissions
  84. src/pages/paas/agent-routing.test.ts:
  85. (pass) explicit direct agent wins [0.05ms]
  86. (pass) spreadsheets route to data analysis [0.03ms]
  87. (pass) workspace edits require a bound folder and use workspace assistant [0.05ms]
  88. (pass) default research tasks route to research67
  89. 71 pass
  90. 0 fail
  91. 215 expect() calls
  92. Ran 71 tests across 16 files. [151.00ms]