Skip to content

test: make Steam fixture interpreter explicit - #4

Merged
kachofugetsu09 merged 2 commits into
codex/steam-context-v3from
codex/steam-fixture-python
Aug 24, 2026
Merged

test: make Steam fixture interpreter explicit#4
kachofugetsu09 merged 2 commits into
codex/steam-context-v3from
codex/steam-fixture-python

Conversation

@kachofugetsu09

Copy link
Copy Markdown
Member

目标

把 Steam manager integration fixture 的 Python 运行时改为调用方显式交付的 artifact,避免测试进程解释器与被测插件 artifact 偶然耦合。

Stacked on #3,base exact: 4ba37db56e1ae8e1f5aa284a734a90d6298a9c4c

改动

  • _stage_plugin 必须读取 AKASHIC_PLUGIN_FIXTURE_PYTHON,以 Path(value).parent.parent 定位 artifact runtime;缺失时直接 KeyError,无 fallback。
  • fixture symlink 明确指向声明的 runtime,并验证缺少环境变量时不会留下半成品 staging 目录。
  • GitHub workflow 在创建 mcp/.venv 后,使用绝对 ${{ github.workspace }}/mcp/.venv/bin/python 交付 fixture interpreter。

Head exact: 982fcb4bc34a9c06aa4c7998e58070d9eab5bae6

验证

  • workflow YAML / step order / absolute env contract: PASS
  • python -m pytest -q mcp/tests tests: 27 passed(1 条第三方 pydantic warning)
  • pyright: 0 errors, 0 warnings
  • compileall: PASS
  • Plugin API v3 exact contract 4dd69dd621e029e51e99aa428443fa3a4ec1f6cf: PASS
  • git diff --check: PASS
  • Terra xhigh exact review: APPROVE,P0/P1/P2 无

恢复

  • bundle: /mnt/data/coding/backups/steam-fixture-python-20260824/base-4ba37db.bundle
  • bundle SHA-256: 8244265a0b4e8844ecd7445ec573efe92c4d5baf19b3627f5f9d683fe169a8ff

本 PR 不安装插件、不修改 cache、不部署到正式 workspace。

@kachofugetsu09
kachofugetsu09 marked this pull request as ready for review August 24, 2026 12:49
@kachofugetsu09
kachofugetsu09 merged commit e37de81 into codex/steam-context-v3 Aug 24, 2026
2 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