Skip to content

refactor(test): decouple examples from live test harness - #3

Merged
moonyue-w merged 3 commits into
mainfrom
1789906942-ts-sdk-example-detesting
Sep 22, 2026
Merged

moonyue-w merged 3 commits into
mainfrom
1789906942-ts-sdk-example-detesting

Conversation

@moonyue-w

Copy link
Copy Markdown
Collaborator

Summary

  • move execution-result assertions into tests/ and remove the examples/tests dependency cycle
  • replace the old example harness with independently runnable Forward and Managed topic demos
  • restore the full example topic set to match the Go SDK
  • gate file download assertions on the API downloadable flag
  • create the Forward execution-E2E Identity with a name so mounted memory is materialized

Validation

  • npm ci
  • npm run build
  • npm run typecheck
  • npm test
  • npm pack --dry-run
  • npm run docs:check
  • CN live: Forward/Managed file lifecycle tests passed
  • CN live: Forward execution_e2e passed (4/4 tests)

…ples

TurnResult 迁 tests/execution.mjs 解环;删示例测试哈内斯 + 3 个 examples 测试;examples 改独立瘦身演示。三块示例哈内斯覆盖(批清理 owned-scope/sanitizer/ProjectMemory 反泄漏)按决定丢弃。

Task: 1789906942
18 个瘦身纯演示(forward 9 + managed 9)+ examples 侧共享 helper(examples/lib),镜像 Go 示例集;不 import tests、import-guarded main。取代之前 gut 的 2 个精简脚本。

Task: 1789906942
@moonyue-w
moonyue-w merged commit 4e369e1 into main Sep 22, 2026
4 checks passed
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