Commit Graph

6 Commits

Author SHA1 Message Date
Fusion (runfusion.ai)
cf12704885 feat(FN-4924): apply cache ttl hydration across dashboard hooks
Fusion-Task-Id: FN-4924
Fusion-Task-Lineage: a5f882e1-8348-4f9d-89be-15994adc148c
2026-05-17 11:33:56 -07:00
Fusion (runfusion.ai)
b073f4ab27 feat(FN-4780): complete Step 3 — hydrate useCurrentProject from cache
Fusion-Task-Id: FN-4780
Fusion-Task-Lineage: 7f052539-9d15-4997-8135-21434f065d4a
2026-05-16 13:24:51 -07:00
Fusion (runfusion.ai)
09ee6ccd14 test(FN-4732): complete Step 2 — add hydration regression coverage
Fusion-Task-Id: FN-4732
Fusion-Task-Lineage: 3377a9a1-bb22-42a9-bada-ecd623000b42
2026-05-16 08:37:25 -07:00
Fusion (runfusion.ai)
a3d25ce8c5 test(FN-4693): complete Step 3 — cover transient poll-drop debounce cases
Fusion-Task-Id: FN-4693
Fusion-Task-Lineage: 0525aae3-09af-45ce-8393-8fd1177a92f8
2026-05-15 17:17:03 -07:00
Fusion (runfusion.ai)
5dd75dcf0d test(FN-4677): regression tests for transient poll omission vs real removal
Fusion-Task-Id: FN-4677
Fusion-Task-Lineage: b3b9eb56-a76b-469c-9f7b-79232da29807
2026-05-15 15:42:08 -07:00
gsxdsm
bdcb048e20 chore: consolidate test files into __tests__/ dirs and clean stray engine artifacts
- Move all co-located *.test.* files into sibling __tests__/ directories so the
  layout is consistent across packages (159 renames + content-rewrite moves).
  Updates relative imports, vi.mock specifiers, and __dirname/import.meta.url
  path resolutions where tests read fixtures from disk.
- Drop tracked tsc-emit alongside engine .ts sources (auth-storage/logger/
  skill-resolver/context-limit-detector/pi.{js,d.ts,*.map}). These were
  accidentally committed in a merge and the stale pi.js was masking a real
  test-mock vs source mismatch (tests imported "../pi.js" and vite preferred
  the stale build over pi.ts).
- Add packages/engine/.gitignore to block future src/*.{js,d.ts,map}.
- Refactor plugin pi-module seams (openclaw/paperclip/hermes) to ESM-import
  createFnAgent / promptWithFallback / describeModel from @fusion/engine
  instead of require()-ing packages/engine/src/pi.js. Adds @fusion/engine to
  the two plugin package.jsons that were missing it; exports describeModel
  from the engine public API.
- Fix engine test mocks now that they run against current pi.ts: add
  ModelRegistry.create static to mocks in pi.test.ts and pi-create-fn-agent
  .test.ts; switch three boundary-result toEqual assertions to toMatchObject
  so the new content/isError fields don't trip exact-match comparison.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 19:39:20 -07:00