whatevertogo
7b731ebda8
test: enhance test framework with comprehensive fixtures and mocks ( #5354 )
...
* test: enhance test framework with comprehensive fixtures and mocks
- Add shared mock builders for aiocqhttp, discord, telegram
- Add test helpers for platform configs and mock objects
- Expand conftest.py with test profile support
- Update coverage test workflow configuration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
* refactor(tests): 移动并重构模拟 LLM 响应和消息组件函数
* fix(tests): 优化 pytest_runtest_setup 中的标记检查逻辑
---------
Co-authored-by: whatevertogo <whatevertogo@users.noreply.github.com >
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-23 23:35:15 +08:00
Soulter
0a517980b7
fix: update feature request template for clarity and consistency in English and Chinese
2026-02-20 12:07:42 +08:00
エイカク
9c691b2266
chore: remove Electron desktop pipeline and switch to tauri repo ( #5226 )
...
* ci: remove Electron desktop build from release pipeline
* chore: remove electron desktop and switch to tauri release trigger
* ci: remove desktop workflow dispatch trigger
* refactor: migrate data paths to astrbot_path helpers
* fix: point desktop update prompt to AstrBot-desktop releases
2026-02-19 23:04:18 +09:00
Soulter
c9cdf47603
chore: ruff format
2026-02-17 14:33:27 +08:00
エイカク
a8dda20a30
fix: 提升打包版桌面端启动稳定性并优化插件依赖处理 ( #5031 )
...
* fix(desktop): rotate electron and backend logs
* refactor(desktop): centralize log rotation defaults and debug fs errors
* fix(desktop): harden rotation fs ops and buffer backend log writes
* refactor(desktop): extract buffered logger and reduce sync stat calls
* refactor(desktop): simplify rotation flow and harden logger config
* fix(desktop): make app logging async and flush-safe
* fix: harden app log path switching and debug-gated rotation errors
* fix: cap buffered log chunk size during path switch
* fix: avoid redundant plugin reinstall and upgrade electron
* fix: stop webchat tasks cleanly and bind packaged backend to localhost
* fix: unify platform shutdown and await webchat listener cleanup
* fix: improve startup logs for dashboard and onebot listeners
* fix: revert extra startup service logs
* fix: harden plugin import recovery and webchat listener cleanup
* fix: pin dashboard ci node version to 24.13.0
* fix: avoid duplicate webchat listener cleanup on terminate
* refactor: clarify platform task lifecycle management
* fix: continue platform shutdown when terminate fails
2026-02-12 01:04:04 +08:00
dependabot[bot]
7a4d20d329
chore(deps): bump the github-actions group with 2 updates ( #5006 )
...
Bumps the github-actions group with 2 updates: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) and [actions/download-artifact](https://github.com/actions/download-artifact ).
Updates `astral-sh/setup-uv` from 6 to 7
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v6...v7 )
Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/download-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-10 11:10:26 +08:00
Soulter
b67adcf481
ci: change ghcr namespace
2026-02-09 11:51:56 +08:00
Soulter
1707d55c02
fix: prepare OpenSSL via vcpkg for Windows ARM64
2026-02-09 11:04:31 +08:00
Soulter
e1b71540c7
chore: bump version to 4.14.8 and bump faiss-cpu version up to date
2026-02-09 00:19:12 +08:00
Soulter
85e1764857
feat: refactor release workflow and add special update handling for electron app ( #4969 )
2026-02-08 23:56:30 +08:00
エイカク
a7e580407c
feat: supports electron app ( #4952 )
...
* feat: add desktop wrapper with frontend-only packaging
* docs: add desktop build docs and track dashboard lockfile
* fix: track desktop lockfile for npm ci
* fix: allow custom install directory for windows installer
* chore: migrate desktop workflow to pnpm
* fix(desktop): build AppImage only on Linux
* fix(desktop): harden packaged startup and backend bundling
* fix(desktop): adapt packaged restart and plugin dependency flow
* fix(desktop): prevent backend respawn race on quit
* fix(desktop): prefer pyproject version for desktop packaging
* fix(desktop): improve startup loading UX and reduce flicker
* ci: add desktop multi-platform release workflow
* ci: fix desktop release build and mac runner labels
* ci: disable electron-builder auto publish in desktop build
* ci: avoid electron-builder publish path in build matrix
* ci: normalize desktop release artifact names
* ci: exclude blockmap files from desktop release assets
* ci: prefix desktop release assets with AstrBot and purge blockmaps
* feat: add electron bridge types and expose backend control methods in preload script
* Update startup screen assets and styles
- Changed the icon from PNG to SVG format for better scalability.
- Updated the border color from #d0d0d0 to #eeeeee for a softer appearance.
- Adjusted the width of the startup screen from 460px to 360px for improved responsiveness.
* Update .gitignore to include package.json
* chore: remove desktop gitkeep ignore exceptions
* docs: update desktop troubleshooting for current runtime behavior
* refactor(desktop): modularize runtime and harden startup flow
---------
Co-authored-by: Soulter <905617992@qq.com >
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2026-02-08 21:49:54 +08:00
Oscar Shaw
f26867c77d
ci(stale): 增加 stale action 每次运行的操作限制 ( #4256 )
2026-01-04 11:20:03 +08:00
Oscar Shaw
a5b9de3695
Update stale.yml
2025-12-30 11:10:21 +08:00
Oscar Shaw
1039a4f864
chore: update stale issue workflow to target only 'bug' labeled issues and adjust inactivity handling ( #4252 )
2025-12-29 23:49:40 +08:00
Soulter
5255388e2d
refactor: move builtin stars to astrbot package ( #4209 )
...
* refactor: move builtin stars to astrbot package
fixes : #4202
* chore: ruff format
* chore: remove print
2025-12-26 22:31:22 +08:00
dependabot[bot]
b486de6a98
chore(deps): bump actions/upload-artifact in the github-actions group ( #4061 )
...
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact ).
Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 08:24:03 +08:00
Soulter
417179a6b9
ci: add smoke test
2025-12-11 10:44:15 +08:00
dependabot[bot]
d32cea9870
chore(deps): bump actions/checkout in the github-actions group ( #3775 )
...
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-26 16:13:42 +08:00
Soulter
4e2154feb7
fix(ci): repository name must be lowercase
2025-11-20 23:46:34 +08:00
Soulter
cd2556ab94
fix: build docker ci failed
2025-11-19 15:40:41 +08:00
magisk317
ae81d70685
ci(docker-build): build nightly image everyday ( #3120 )
...
* ci: build test image on master pushes
* ci: split workflows for master test and release builds
* test ci
* test ci
* Update docker-image.yml
* test ci
Updated README to enhance deployment instructions.
* Make GHCR publishing optional in Docker workflow
* chore: Update DockerHub password secret in workflow
* Update .github/workflows/docker-image.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* chore: rename job to build nightly image in workflow
* feat: schedule the nightly build at 0:00 am everyday, if have new commits
* fix: update build-nightly-image job to trigger only on schedule events
* Update fetch-depth and enable fetch-tag in workflows
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: LIghtJUNction <lightjunction.me@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-11-18 10:47:58 +08:00
Soulter
937e879e5e
chore: revise the issue template
...
Updated the bug report template to include English translations for all fields and improved clarity.
2025-11-17 11:35:24 +08:00
Soulter
1ecf26eead
chore: revice pr template
...
Removed unnecessary comments and streamlined the pull request template.
2025-11-17 11:27:48 +08:00
Soulter
e39d6bae0b
fix: update JSON submission link in plugin publish template
2025-11-09 15:06:40 +08:00
Soulter
3ce577acf9
docs: enhance bug report template with clarity on details
...
Updated bug report template to emphasize the need for detailed logs and information.
2025-10-31 23:18:15 +08:00
dependabot[bot]
20f7129c0b
chore(deps): bump actions/upload-artifact in the github-actions group ( #3178 )
...
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact ).
Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 08:53:28 +08:00
Soulter
0e962e95dd
docs: update plugin information template in YAML
2025-10-27 14:26:59 +08:00
LI SONGSONG 🍂
ace0a7c219
docs: update link and description
2025-10-25 16:07:27 +08:00
Soulter
e1cec42227
chore: add Node.js setup step in CI workflow
2025-10-15 23:32:53 +08:00
Soulter
8d79c50d53
chore: update CI workflow to use pnpm for package management
2025-10-15 23:12:38 +08:00
Soulter
d77830b97f
feat: add markdown-it type definitions as a dev dependency
2025-10-15 23:01:38 +08:00
Soulter
dcebc70f1a
chore: Add new auto-assign users to configuration
2025-10-14 12:16:22 +08:00
dependabot[bot]
259e7bc322
chore(deps): bump github/codeql-action in the github-actions group ( #3032 )
...
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action ).
Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 09:35:57 +08:00
dependabot[bot]
6cbbffc5a9
chore(deps): bump the github-actions group with 2 updates ( #2771 )
...
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [actions/setup-python](https://github.com/actions/setup-python ).
Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-16 08:19:31 +08:00
Soulter
7740e1e131
ci: add ci stage of code format checking ( #2750 )
...
* style: ruff format
* ci(dashboard-ci): ensure GitHub Release action only runs on push events
* ci(code-format): ruff format and ruff check
2025-09-14 18:05:58 +08:00
Soulter
9dce1ed47e
chore(github): revise PR template
...
Updated the pull request template to improve clarity and fix formatting issues.
2025-09-14 14:44:46 +08:00
anka
88a944cb57
chore(github): 优化 PR 模板
2025-09-14 12:58:34 +08:00
Soulter
d3a295a801
ci: add auto_assign.yml for auto PR reviewer assignment
2025-09-10 13:21:34 +08:00
dependabot[bot]
7b72cd87a5
chore(deps): bump the github-actions group with 2 updates ( #2674 )
...
Bumps the github-actions group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python ) and [actions/stale](https://github.com/actions/stale ).
Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
Updates `actions/stale` from 9 to 10
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v9...v10 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/stale
dependency-version: '10'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 08:46:04 +08:00
Soulter
35eda37e83
Merge remote-tracking branch 'origin/releases/v3.5.27'
2025-09-04 15:30:15 +08:00
Soulter
dc0c556f96
ci: build docker image 时同时 build webui,并放入 image 中
2025-09-04 13:42:26 +08:00
Soulter
4e2533d320
feat: add pre-release check for Docker image tagging
2025-09-04 09:30:21 +08:00
Soulter
b1e4bff3ec
feat: 支持升级的同时更新到指定版本的 WebUI
2025-08-31 19:55:46 +08:00
Soulter
c1202cda63
fix: update GitHub release action to use correct commit SHA variable
2025-08-31 11:52:42 +08:00
Soulter
32d6cd7776
fix: update GitHub release action parameters for clarity
2025-08-31 11:50:26 +08:00
Soulter
2f78d30e93
feat: automated release from every commit in master branch
2025-08-31 11:42:28 +08:00
Copilot
c57d75e01a
feat: add comprehensive GitHub Copilot instructions for AstrBot development ( #2426 )
...
* Initial plan
* Initial progress - completed repository exploration and dependency installation
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Complete copilot-instructions.md with comprehensive development guide
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Update copilot-instructions.md
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2025-08-13 23:31:28 +08:00
dependabot[bot]
a85bc510dd
chore(deps): bump actions/checkout in the github-actions group ( #2400 )
...
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 15:15:28 +08:00
Larch-C
9f32c9280f
chore: update and rename PLUGIN_PUBLISH.md to PLUGIN_PUBLISH.yml ( #2289 )
2025-08-02 14:16:19 +08:00
Christian Clauss
d2f7e55bf5
Run the tests on pull requests
2025-07-05 13:57:58 +02:00