-
fix: unblock v1.4.0-beta release — Docker build + CI test alignment
发布于
2026-05-21 16:21:41 +00:00 | 1085 次提交 在此版本后已推送到 mainweb/lib/api.ts: defer NEXT_PUBLIC_API_BASE placeholder check from
module-load to first call. Docker bakes the literal placeholder for
runtime sed substitution, but Next.js evaluates this module during
static export of every prerendered page — the old throw failed the
admin/users page export and aborted the entire build.Test alignment with shipped code (no behavior change):
- test_path_service: override _workspace_root alongside _project_root,
since get_memory_dir() reads workspace_root, not _user_data_dir. - test_meta_settings: assertions now match shipped defaults
(l2_budget=20, min_chunk_chars=1000, max_chunk_chars=64000). - test_unified_ws_turn_runtime + test_regenerate: drop emit_calls
assertions; turn_runtime doesn't emit a memory trace after chat
turns (feature was never wired up). - test_turn_runtime_subscribe: 200 polls × 10ms instead of 20 × 0,
Python 3.14's asyncio scheduler doesn't give sleep(0) enough ticks
for the subscriber-append race.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
下载附件
- test_path_service: override _workspace_root alongside _project_root,