Skip to content

ci: 机器人连通性测试(验证后关闭) - #7

Merged
backrooms-yrc merged 4 commits into
mainfrom
bot-test
Aug 20, 2026
Merged

ci: 机器人连通性测试(验证后关闭)#7
backrooms-yrc merged 4 commits into
mainfrom
bot-test

Conversation

@backrooms-yrc

Copy link
Copy Markdown
Owner

用于验证 PR 自动回复机器人是否正常工作,验证后将关闭。

@github-actions

Copy link
Copy Markdown

👋 感谢贡献 CurrentCortex!

@backrooms-yrc,你好!你的拉取请求 #7 已收到。

本次改动:0 个文件,+0 / -0

接下来会发生什么

  1. 🤖 测试机器人会自动运行测试并反馈结果
  2. 🤖 AI 审查机器人会对改动做一次初步代码审查(仅供参考)
  3. 👀 维护者会在方便时进行人工审查

期间你可以继续推送提交,机器人会自动跟进最新的改动。祝顺利合并! 🎉

@github-actions

Copy link
Copy Markdown

❌ 测试未通过

测试机器人自动运行了仓库测试,结果如下(末尾日志):

  PASS  test_text_close_enough
  PASS  test_segment_by_llm_too_short_returns_none
  PASS  test_segment_by_llm_no_provider_returns_none
  PASS  test_segment_by_llm_call_failure_returns_none
  PASS  test_segment_by_llm_timeout_returns_none
  PASS  test_segment_by_llm_clean_call
  PASS  test_segment_by_llm_success
  PASS  test_segment_by_llm_drift_returns_none
  PASS  test_segment_by_llm_caps_segments
  PASS  test_segment_by_llm_falls_back_provider_id
  PASS  test_density_profiles_exist
  PASS  test_density_auto_max_segments
  PASS  test_density_manual_override_max_segments
  PASS  test_density_prompt_injection
  PASS  test_build_seg_first_chain_with_mention
  PASS  test_build_seg_first_chain_no_message_id
  PASS  test_build_seg_first_chain_no_sender
  PASS  test_promo_group_line
  PASS  test_promo_with_promo
  PASS  test_promo_after_image_probability

==================================================
结果: 37 通过, 0 失败 (共 37 项)
--- exit 0 ---

请根据日志修复后重新推送,机器人会自动重跑。

@github-actions

Copy link
Copy Markdown

❌ 测试未通过

以下 1 个测试脚本失败:

test_music_audio.py

Traceback (most recent call last):
  File "/home/runner/work/astrbot_plugin_currentcortex/astrbot_plugin_currentcortex/test_music_audio.py", line 149, in <module>
    from astrbot_plugin_pixiv import main
ModuleNotFoundError: No module named 'astrbot_plugin_pixiv'

请根据日志修复后重新推送,机器人会自动重跑。

@github-actions

Copy link
Copy Markdown

❌ 测试未通过

以下 1 个测试脚本失败:

test_music_audio.py

Traceback (most recent call last):
  File "/home/runner/work/astrbot_plugin_currentcortex/astrbot_plugin_currentcortex/test_music_audio.py", line 467, in <module>
    main_test()
  File "/home/runner/work/astrbot_plugin_currentcortex/astrbot_plugin_currentcortex/test_music_audio.py", line 449, in main_test
    test_real_mp3_transcodes_to_distinct_path(temp_dir)
  File "/home/runner/work/astrbot_plugin_currentcortex/astrbot_plugin_currentcortex/test_music_audio.py", line 186, in test_real_mp3_transcodes_to_distinct_path
    create_sine_mp3(source)
  File "/home/runner/work/astrbot_plugin_currentcortex/astrbot_plugin_currentcortex/test_music_audio.py", line 173, in create_sine_mp3
    subprocess.run(
  File "/opt/hostedtoolcache/Python/3.10.21/x64/lib/python3.10/subprocess.py", line 503, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/opt/hostedtoolcache/Python/3.10.21/x64/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/opt/hostedtoolcache/Python/3.10.21/x64/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

请根据日志修复后重新推送,机器人会自动重跑。

@backrooms-yrc
backrooms-yrc merged commit d2a3213 into main Aug 20, 2026
2 checks passed
@backrooms-yrc
backrooms-yrc deleted the bot-test branch August 20, 2026 19:22
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