Commit Graph
2 Commits
Author SHA1 Message Date
liwei zhengandzenfun 77da504998 fix: Enable unit test CI on three platforms (Windows, macOS, Linux). (#9954)
* ci: run unit tests on ubuntu, windows, and macos

* ci: promote macos lane to blocking now that it passes

* fix: make the unit test suite pass on Windows

* fix: address Windows CI encoding failures and review findings

- Force UTF-8 stdio for python children on Windows (exec, managed
  sessions, python tool) so non-ASCII output survives ANSI code pages
- Try cp936/gbk before mbcs in the decode fallback so Chinese output is
  not silently mojibake'd on non-Chinese Windows
- Use PowerShell call-operator quoting for space-containing executables
- Narrow the require_symlink skip to WinError 1314 and raise other OSErrors
- Raise managed-shell test yield budget to absorb CI cold starts

* fix: restore POSIX shell quoting in test_computer exec tests

The PowerShell call-operator form is a syntax error in POSIX shells;
generate the command per platform instead.

* fix: support mixed platform path mappings

* fix: preserve Windows shell output encoding

---------

Co-authored-by: zenfun <zenfun510@gmail.com>
2026-09-07 08:38:04 +08:00
LIghtJUNctionandgemini-code-assist[bot] 6067a70803 feat: support local plugin install (#8448)
* feat: support local plugin install

* fix: make editable plugin install symlink

* fix: harden local plugin install

* Update tests/test_cli_plugin.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update astrbot/cli/commands/cmd_plug.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-06-29 01:44:06 +08:00