详情页"刷新"原走 recomputeForPatient→runAllForHost,对整个租户跑召回 SQL 并重写全员 plan(13万规模拖到分钟级 / >120s)。 - ScenarioScope 加可选 patientId;scenario SQL 注入 AND p.id=patientId 收窄 - recomputeForPatient 改真·单患者:只 selectHits 该患者 + 只 upsert 这一个 plan - loadTablesForPatient 6 张源表 Promise.all 并行(跨洋 RTT 6×→1×) 本地验证:刷新 success、单患者 hits 正确、无回归。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| admin | Loading commit data... | |
| agent | Loading commit data... | |
| ai | Loading commit data... | |
| auth | Loading commit data... | |
| facts | Loading commit data... | |
| patient | Loading commit data... | |
| persona | Loading commit data... | |
| plan | Loading commit data... | |
| plan-aggregate | Loading commit data... | |
| sync | Loading commit data... |