Root cause confirmed: CI failure is NOT from our code changes.
The router.py and pytest.ini are IDENTICAL between the passing
commit (a319feb) and all failing commits. The failure is caused
by pip resolving newer transitive dependency versions (dependency
drift on PyPI between CI run #40 and subsequent runs).
Changes:
- Restored pytest.ini exactly as passing commit had it
(with asyncio_default_fixture_loop_scope = function)
- Cleaned up CI YAML: removed debug diagnostic steps
- Restored clean architecture_brief + pytest pipeline
https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
This setting was added in pytest-asyncio 0.24.0 but may cause exit
code 4 (config error) if the installed version doesn't recognize it
or conflicts with the asyncio_mode=auto setting.
Removing it to test if this is the root cause of persistent CI failure.
https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs