Skip to content

test: fix the macOS and Windows failures on main - #16

Merged
lejunyang merged 9 commits into
mainfrom
fix/ci-macos-windows-tests
Nov 28, 2026
Merged

lejunyang merged 9 commits into
mainfrom
fix/ci-macos-windows-tests

Conversation

@lejunyang

Copy link
Copy Markdown
Owner

main 的 CI 在 macOS(1 条)和 Windows(3 条)上失败,都是测试的前提或期望路径和平台不符:

  • deps_projects:macOS 运行器上发行方提供的 rustup 入口和系统默认工具链让“没有默认工具链”的前提不成立;改用受控的 rust-toolchain 覆盖。
  • skills_agents:程序打印的是规范化后的项目路径,Windows 临时目录的短名让期望对不上;测试里改用规范化后的路径。

断言失败时现在都带实际输出。

Restoring an unset legacy PATH marker as an empty string made the next activation replace its inherited PATH with an empty snapshot. Check both managed entries and the entire inherited suffix at their actual positions.

Omem-Task: T1
Compare the prompt before, during and after activation and show the expected and actual PATH entries if deactivation fails to restore the inherited value.

Omem-Task: T2
@lejunyang
lejunyang merged commit 69fcd25 into main Nov 28, 2026
19 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