[Bug] test_send_email test fails with 404 when testing email from UI works
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with vip/clients/connect.py at send_test_email and the failing test in vip_tests/connect/test_email.py. Compare the client request with the Connect admin UI request described in the issue, then run vip verify with the test_send_email filter against Connect 2026.09.0. Done means the test sends email successfully without a 404.
索引モデルが issue の本文から書いたものです。
説明
VIP version
2026.9.3
Affected area
Connect tests
What happened?
test_send_email fails with a 404 - seemingly because ConnectClient.send_test_email uses
__api__/v1/tasks/send-test-email, which I've been unable to find in Connect 2026.09.0.
Email delivery works: the Connect admin UI's "Send Test Email" button succeeds
on the same server, and the email arrives. The UI test button seems to use GET __api__/server_settings/mail/test
What did you expect to happen?
Email to be sent
Steps to reproduce
> vip verify --config vip.toml --interactive-auth --filter "test_send_email"
>>> Reusing cached auth session from <home>\.vip-auth-cache.json
======================== test session starts ========================
2 workers [1 item] skipped
scheduling tests via LoadGroupScheduling
vip_tests/connect/test_email.py::test_send_email FAILED [100%]
============================= FAILURES ==============================
__________________________ test_send_email __________________________
test_send_email: an unexpected error occurred: httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://connect.example.com/__api__/v1/tasks/send-test-email' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
----------------------- Captured log teardown -----------------------
WARNING vip_tests.conftest:conftest.py:110 end-of-run Connect content sweep could not reach the tag API
Traceback (most recent call last):
File "<site-packages>\vip\clients\connect.py", line 281, in list_vip_content
return resp.json().get("results", [])
^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'get'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<site-packages>\vip_tests\conftest.py", line 108, in _connect_end_of_run_sweep
connect_client.cleanup_vip_content()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "<site-packages>\vip\clients\connect.py", line 292, in cleanup_vip_content
guids = [item.get("guid") for item in self.list_vip_content()]
~~~~~~~~~~~~~~~~~~~~~^^
File "<site-packages>\vip\clients\connect.py", line 283, in list_vip_content
raise ProductUnreachableError(f"could not list VIP-tagged content: {exc}") from exc
vip.errors.ProductUnreachableError: could not list VIP-tagged content: 'list' object has no attribute 'get'
=================== 1 failed, 1 skipped in 6.06s ====================
Relevant logs or output
vip_tests/connect/test_email.py::test_send_email FAILED
test_send_email: an unexpected error occurred: httpx.HTTPStatusError: Client error
'404 Not Found' for url 'https://connect.example.com/__api__/v1/tasks/send-test-email'
vip/clients/connect.py:513: in send_test_email
resp.raise_for_status()
E httpx.HTTPStatusError: Client error '404 Not Found' for url
'https://connect.example.com/__api__/v1/tasks/send-test-email'
Environment
- VIP 2026.9.3
- Python 3.14.3
- Windows 11 (10.0.26200)
- Connect 2026.09.0
- 主要言語
- Python
- スター
- 8
- フォーク
- 1
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 33
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/vip のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
team: workbench
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
posit-dev/vip#274 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
team: connect
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
posit-dev/vip#803 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 1〜2日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
elviskahoro/sdk-python-attio#144 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
RenyiELBO raises TypeError when model has no sample sites対応中かも @alibb007 が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Four evaluation scripts unpack init_memmachine_params's five return values into three namesオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
MemMachine/MemMachine#1911 ·
メンテナーはふだん 3 日以内に返信