Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions .github/workflows/live-e2e.yml

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,7 @@ Code-based capabilities belong in the tool system, where Elixir modules implemen
### SkillRuntime E2E testing

- Hermetic end-to-end coverage runs through `Runner.run/3`, temp workspaces, real `Tool.Registry`, stubbed LLM calls, and stubbed GitHub responses. These tests run in the default `mix test` path and are tagged `:e2e`.
- Live end-to-end coverage is tagged `:live_e2e` and is excluded from default test runs. Use `mix test --only live_e2e` when `OPENAI_API_KEY` is set. The GitHub live import path also requires `GH_TOKEN` or `GITHUB_TOKEN`.
- The live GitHub fixture defaults to the repository under test via `SKILL_RUNTIME_LIVE_REPO`, `SKILL_RUNTIME_LIVE_COMMIT_SHA`, and `SKILL_RUNTIME_LIVE_PATH`. In GitHub Actions those default to `${GITHUB_REPOSITORY}`, `${GITHUB_SHA}`, and `test/support/fixtures/skill_runtime/live_packages/live_echo_playbook`.
- Default CI runs the hermetic suite through `mix test`. Live E2E runs only in the dedicated manual/nightly workflow.
- Default CI runs the hermetic suite through `mix test`.

## Memory and Sessions

Expand Down
4 changes: 1 addition & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,7 @@ NexAgent 当前支持以下 provider:
### SkillRuntime 端到端测试

- Hermetic E2E 会通过 `Runner.run/3`、临时 workspace、真实 `Tool.Registry`、stub LLM 和 stub GitHub 响应把整条链路跑通。这组测试会跟随默认 `mix test` 一起跑,并打上 `:e2e` 标签。
- Live E2E 打 `:live_e2e` 标签,默认不进入常规测试。手工运行用 `mix test --only live_e2e`;其中 OpenAI 需要 `OPENAI_API_KEY`,GitHub 导入链路还需要 `GH_TOKEN` 或 `GITHUB_TOKEN`。
- Live GitHub fixture 默认通过 `SKILL_RUNTIME_LIVE_REPO`、`SKILL_RUNTIME_LIVE_COMMIT_SHA` 和 `SKILL_RUNTIME_LIVE_PATH` 指向当前仓库;GitHub Actions 中默认会落到 `${GITHUB_REPOSITORY}`、`${GITHUB_SHA}` 和 `test/support/fixtures/skill_runtime/live_packages/live_echo_playbook`。
- 默认 CI 只跑 hermetic 套件;live E2E 只放在单独的手工/夜间 workflow 里。
- 默认 CI 通过 `mix test` 跑 hermetic 套件。

## Memory and Sessions

Expand Down
222 changes: 0 additions & 222 deletions test/nex/e2e/skill_runtime_live_e2e_test.exs

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ExUnit.start(exclude: [live_e2e: true])
ExUnit.start()
Loading