shadowinlife
8c2fd3e127
fix: complete env-var migration — CI gate exit 0, 9 schema fields, noqa mechanism
- Add 9 missing env vars to EnvConfig schema (QVERIS_API_KEY,
VIBE_TRADING_API_URL, OPENAI_MODEL, FUTU_TRADE_PWD_MD5, etc.)
- Migrate 26 os.getenv calls to get_env_config() accessor across 17 files
- Add # noqa: env-gate inline suppression to ci_env_var_gate.py (21 lines)
- Refactor security.py _env_flag_enabled to direct schema access
- Wire CI gate into .github/workflows/test.yml
- Fix api_server.py import of deleted constants
- Restore _legacy.py timeout positive-value validation
- Add reset_env_config() to test_security_auth_api.py for singleton freshness
CI gate: exit 0 (was exit 1 with 54 violations)
Tests: 4953 passed, 4 pre-existing tushare failures, 0 regressions
Co-Authored-By: OpenCode <noreply@opencode.ai>
AI-Model: qwen3.7-max
Co-Authored-By: opencode <noreply@ai-tool.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
AI-Contributed/Feature: 188/188
AI-Contributed/UT: 39/39
2026-07-08 22:42:14 +08:00
..
2026-04-01 18:14:49 +08:00
2026-07-08 15:00:41 +08:00
2026-06-19 18:19:12 +08:00
2026-06-26 22:42:07 +08:00
2026-06-26 22:52:04 +08:00
2026-07-08 19:36:24 +08:00
2026-06-15 16:38:49 +08:00
2026-07-08 22:42:14 +08:00
2026-07-08 22:42:14 +08:00
2026-06-19 18:19:12 +08:00
2026-06-19 18:19:12 +08:00
2026-07-08 19:36:24 +08:00
2026-07-08 19:36:24 +08:00
2026-07-08 15:00:41 +08:00
2026-07-08 19:36:24 +08:00
2026-06-20 18:00:35 +08:00
2026-06-04 23:14:32 +08:00
2026-07-08 19:36:24 +08:00
2026-07-08 22:42:14 +08:00
2026-07-08 13:42:31 +08:00
2026-07-08 22:42:14 +08:00
2026-07-08 19:36:24 +08:00
2026-06-19 18:19:12 +08:00
2026-06-19 18:19:12 +08:00
2026-06-14 06:50:02 +08:00
2026-07-08 19:36:24 +08:00
2026-07-08 19:36:24 +08:00
2026-07-08 19:36:24 +08:00
2026-06-19 18:19:12 +08:00
2026-06-19 18:19:12 +08:00
2026-07-08 19:36:24 +08:00