|
|
@@ -4,6 +4,44 @@
|
|
|
|
|
|
---
|
|
|
|
|
|
+## v1.0.2990 (2026-12-03)
|
|
|
+
|
|
|
+### 其他
|
|
|
+- report(dev): 23:20 01分档标准轮收割 — S1 PASS(43.2min/pid死0分钟放行)/S2不触发/S3全量6项(RED2/Y135/G11/D117,pending0,changes 0新键,442WIP)/S4恢复2/S7a backfill净0/S7 --auto 10m9s完整回执:8键YELLOW✓+8次testing部署verified/池空零派发合法②/S8=0建单(SC-A-23/24无设计契约)/SC243-27零漂移
|
|
|
+- report(test): 23:11 标准轮闭环收割 — S0 drift 干净收口(commit 934d6a62b)/S1 PASS/S3 池空 0 新键 SC27 零漂移/S3.5 27carry+38retest 无恢复信号未跑全量/S7 池空合法零派发/零新增代码缺陷;承袭 2 P0 RED 研发阻塞+65 blocker
|
|
|
+- WIP: Local scan artifact update before remote sync
|
|
|
+- R-2010 s51 错峰档收割 2026-12-03 — S1 PASS/S3精简/S2跳过(标准轮)/S5 tick跑通1轮(9m9s只读快照)/S6 fill异常(tasks.json缺失)/S7 --auto零派发(dispatch.py缺失,合法情形②③)/S8=0建单/SC243-27零漂移/🔴R-1856事故:state.json+tasks.json+dispatch.py全丢失
|
|
|
+- userId = users.id (login account)
|
|
|
+- memberId = family_members.id (family member profile)
|
|
|
+- Backend tables (health_status / meal / exercise / sleep / task) all persist by
|
|
|
+- member_id = family_members.id. Front-end resolved memberId with the chain
|
|
|
+- currentChildId || currentMemberId || userId, and the trailing userId fallback
|
|
|
+- fed users.id into a member_id parameter. When the numbers coincide this
|
|
|
+- redirects the record onto another member's profile of the same numeric id.
|
|
|
+- - utils/memberNormalize.js resolveCheckinMemberId: drop the userId fallback.
|
|
|
+- Priority is now options.memberId > currentChildId > currentMemberId > null;
|
|
|
+- unresolvable returns null so callers omit memberId and let the backend
|
|
|
+- JwtInterceptor-provided currentMemberId (family_members.id) take over.
|
|
|
+- - pages/growth-main/index.vue: remove the userId fallback at both memberId
|
|
|
+- assignments (onShow / onLoginSuccess).
|
|
|
+- - growth/{diet,exercise,sleep}-checkin.vue: stop blocking submission when
|
|
|
+- memberId is null ('成员ID无效'), and send memberId only when resolved so the
|
|
|
+- backend JWT fallback governs the account-level self check-in.
|
|
|
+- - __tests__/utils/memberNormalize.resolveCheckin.test.js: assert no userId
|
|
|
+- fallback (returns null) instead of falling back to userId.
|
|
|
+- __tests__/utils 148/148 pass; growth-main 24 pass / 3 pre-existing timeout
|
|
|
+- failures (identical on pristine origin/cfclub, unrelated to this change).
|
|
|
+- Based on origin/cfclub. Not merged into cfclub.
|
|
|
+-
|
|
|
+
|
|
|
+### Bug 修复
|
|
|
+- stop passing userId as memberId in health check-in chain
|
|
|
+- Fix:
|
|
|
+
|
|
|
+### 测试
|
|
|
+- s: jest __tests__/utils/memberNormalize.resolveCheckin.test.js 7/7 pass;
|
|
|
+
|
|
|
+
|
|
|
## v1.0.2989 (2026-12-03)
|
|
|
|
|
|
### 其他
|