refactor(e2e): decouple E2E tests into commands layer and shared e2e package #231
ci.yml
on: pull_request
lint + typecheck + test
3m 52s
Annotations
4 errors
|
lint + typecheck + test
Process completed with exit code 1.
|
|
packages/commands/tests/e2e/pipeline.e2e.test.ts > e2e: pipeline > pipeline run --events jsonl 在 dry-run 下输出生命周期事件:
packages/e2e/src/output.ts#L69
Error: No JSON object found in stdout:
❯ parseStdoutJson packages/e2e/src/output.ts:69:25
❯ packages/commands/tests/e2e/pipeline.e2e.test.ts:212:9
❯ packages/commands/tests/e2e/pipeline.e2e.test.ts:211:8
❯ node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.22_@types+node@25.6.0_esbuild@0.28.1_jiti@2.6.1_tsx@4._9891ccbcffe4ee3d6b26ad3f0aec7bb9/node_modules/@voidzero-dev/vite-plus-test/dist/@vitest/runner/chunk-artifact.js:1903:22
|
|
packages/commands/tests/e2e/pipeline.e2e.test.ts > e2e: pipeline > pipeline validate 拒绝非法依赖 workflow:
packages/commands/tests/e2e/pipeline.e2e.test.ts#L124
AssertionError: expected '\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━…' to be '' // Object.is equality
- Expected
+ Received
+
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+ ⚡ Major update detected: 0.0.0-e2e → 1.7.0
+ Auto-updating to keep your CLI up to date...
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+
+ ✓ Update complete: 0.0.0-e2e → 1.7.0
+ Run bl --version to verify.
+
+ Syncing agent skill...
+ ✓ Agent skill updated.
+
+
❯ packages/commands/tests/e2e/pipeline.e2e.test.ts:124:20
❯ node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.22_@types+node@25.6.0_esbuild@0.28.1_jiti@2.6.1_tsx@4._9891ccbcffe4ee3d6b26ad3f0aec7bb9/node_modules/@voidzero-dev/vite-plus-test/dist/@vitest/runner/chunk-artifact.js:1903:22
|
|
packages/commands/tests/e2e/pipeline.e2e.test.ts > e2e: pipeline > pipeline validate 使用 config 输出格式:
packages/commands/tests/e2e/pipeline.e2e.test.ts#L111
AssertionError: expected 'Pipeline definition is valid.\n\nchan…' to be 'Pipeline definition is valid.\n' // Object.is equality
- Expected
+ Received
Pipeline definition is valid.
+ changed 24 packages in 1s
+
+ 13 packages are looking for funding
+ run `npm fund` for details
+
+ ███████╗██╗ ██╗██╗██╗ ██╗ ███████╗
+ ██╔════╝██║ ██╔╝██║██║ ██║ ██╔════╝
+ ███████╗█████╔╝ ██║██║ ██║ ███████╗
+ ╚════██║██╔═██╗ ██║██║ ██║ ╚════██║
+ ███████║██║ ██╗██║███████╗███████╗███████║
+ ╚══════╝╚═╝ ╚═╝╚═╝╚══════╝╚══════╝╚══════╝
+
+ ┌ skills
+ │
+ │ Tip: use the --yes (-y) and --global (-g) flags to install without prompts.
+ │
+ ◇ Source: https://github.com/modelstudioai/cli.git
+ │
+ ◒ Cloning repository...
+ ◇ Repository cloned
+ │
+
+ ◇ Found 1 skill
+ │
+ ● Installing all 1 skills
+ │
+ ● Installing to all 72 agents
+
+ │
+ ◇ Installation Summary ───────────────────────────────────────────────────────────╮
+ │ │
+ │ ~/.agents/skills/bailian-cli │
+ │ universal: Amp, Antigravity, Antigravity CLI, Cline, Codex +14 more │
+ │ symlink → AiderDesk, AstrBot, Autohand Code CLI, Augment, IBM Bob +48 more │
+ │ overwrites: AiderDesk, AstrBot, Autohand Code CLI, Augment, IBM Bob +53 more │
+ │ │
+ ├──────────────────────────────────────────────────────────────────────────────────╯
+ │
+ ◇ Security Risk Assessments ─────────────────────────────────╮
+ │ │
+ │ Gen Socket Snyk │
+ │ bailian-cli Safe 1 alert Low Risk │
+ │ │
+ │ Details: https://skills.sh/modelstudioai/cli │
+ │ │
+ ├─────────────────────────────────────────────────────────────╯
+ │
+
+ ◒ Installing skills...
+ ◇ Installation complete
+
+ │
+ ◇ Installed 1 skill ───────────────────────────────────────────────────────────────╮
+ │ │
+ │ ✓ ~/.agents/skills/bailian-cli │
+ │ universal: Amp, Antigravity, Antigravity CLI, Cline, Codex +14 more │
+ │ symlinked: AstrBot, Autohand Code CLI, Augment, IBM Bob, Claude Code +38 more │
+ │ │
+ ├─────────────────────────────────────────────────────────────────────────────────��
|