| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix : companion auth save supportedBusinessId Signed-off-by: hejiaogirl <hejiao@huawei.com> | 3 天前 | |
fix : companion auth save supportedBusinessId Signed-off-by: hejiaogirl <hejiao@huawei.com> | 3 天前 | |
feat: sync PIN freeze state and abort in-flight auth on lock/user switch Add BlockedStateSyncScheduler to keep companion-auth "blocked" state in sync with the user-auth PIN freezing time. Becoming blocked fans out a lock event that aborts in-flight MixAuth/ObtainToken requests and rejects SUCCESS results that race the lock or an active-user switch, so a locked or switched-away user can no longer complete companion auth. Centralize IssueToken/ObtainToken error replies through CompleteWithError so a failed PRE round unblocks the peer instead of waiting for timeout. Map the softbus peer-session-not-created error to a new PEER_SERVICE_NOT_AVAILABLE result code and treat it as terminal in the device-status and resync retry layers, stopping retry storms against devices without the CDA service. Add tests and a fuzz harness for the new paths. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[61%] 🔧 Human Fixed[0%] 🧑 Human[39%] 👌 AI Adopted[100%] Change-Id: I1d80925f4b0f05f1888540d7846333472776309b | 11 天前 | |
Add defensive checks and boundary validations to improve robustness and security. Signed-off-by: z30078586 <zhaoqichao5@h-partners.com> 🤖 AI[64%] 🔧 Human Fixed[0%] 🧑 Human[36%] 👌 AI Adopted[100%] | 8 天前 | |
!233 merge master into master fix : companion auth save supportedBusinessId Created-by: hejiaogirl Commit-by: hejiaogirl Merged-by: openharmony_ci Description: ### 一、内容说明(相关的Issue) [#186](https://gitcode.com/openharmony/useriam_companion_device_auth/issues/186) ### 二、建议测试周期和提测地址 建议测试完成时间:xxxx.xx.xx 投产上线时间:xxxx.xx.xx 提测地址:CI环境/压测环境 测试账号: ### 三、变更内容 * 3.1 关联PR列表 * 3.2 数据库和部署说明 1. 常规更新 2. 重启unicorn 3. 重启sidekiq 4. 迁移任务:是否有迁移任务,没有写 "无" 5. rake脚本: bundle exec xxx RAILS_ENV = production;没有写 "无" * 3.4 其他技术优化内容(做了什么,变更了什么) - 重构了 xxxx 代码 - xxxx 算法优化 * 3.5 废弃通知(什么字段、方法弃用?) * 3.6 后向不兼容变更(是否有无法向后兼容的变更?) ### 四、研发自测点(自测哪些?冒烟用例全部自测?) 自测测试结论: ### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方) 检查点: | 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 | |------|------------|----------|---------------| | xxx | 否 | 需要 | 不需要 | | | | | | 接口测试: 性能测试: 并发测试: 其他: See merge request: openharmony/useriam_companion_device_auth!233 | 2 天前 | |
feat: add LogTracer file ID definitions for error path tracing Change-Id: Ib4d59ccd17f5a0f64c50cfc88ee577aa8e9146e2 Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> | 3 个月前 | |
fix : companion auth save supportedBusinessId Signed-off-by: hejiaogirl <hejiao@huawei.com> | 3 天前 | |
feat: sync PIN freeze state and abort in-flight auth on lock/user switch Add BlockedStateSyncScheduler to keep companion-auth "blocked" state in sync with the user-auth PIN freezing time. Becoming blocked fans out a lock event that aborts in-flight MixAuth/ObtainToken requests and rejects SUCCESS results that race the lock or an active-user switch, so a locked or switched-away user can no longer complete companion auth. Centralize IssueToken/ObtainToken error replies through CompleteWithError so a failed PRE round unblocks the peer instead of waiting for timeout. Map the softbus peer-session-not-created error to a new PEER_SERVICE_NOT_AVAILABLE result code and treat it as terminal in the device-status and resync retry layers, stopping retry storms against devices without the CDA service. Add tests and a fuzz harness for the new paths. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[61%] 🔧 Human Fixed[0%] 🧑 Human[39%] 👌 AI Adopted[100%] Change-Id: I1d80925f4b0f05f1888540d7846333472776309b | 11 天前 | |
Add defensive checks and boundary validations to improve robustness and security. Signed-off-by: z30078586 <zhaoqichao5@h-partners.com> 🤖 AI[64%] 🔧 Human Fixed[0%] 🧑 Human[36%] 👌 AI Adopted[100%] | 8 天前 | |
refactor: rename passcode prompt IPC type to IpcPasscodePromptParam Align the internal IPC type and its variables with the Param naming convention used by IpcSubscribeContinuousAuthStatusParam and ClientPasscodePromptParams. No functional change. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: claude (glm-5.2) <ai@local> Change-Id: I5ce4f8b31bf32150ee02d8d40de70a3219f8f339 | 2 天前 | |
feat: add companion device resync with unified retry strategy Resync companion devices on active-user-switch, device-name-change, and device newly-online. Unify the sync and resync retry into one semantics: an external trigger resets the backoff delay while preserving the failure budget, retry-fire keeps the growing backoff, and a second trigger during an in-progress request is coalesced instead of self-preempting. Guard sync and resync completions against stale callbacks from rebuilt device entries. On each physical-device-status snapshot, devices newly present are resynced (the service does not distinguish devices already online at SA start). Add tests and a device_resync_scheduler fuzzer. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[95%] 🔧 Human Fixed[0%] 🧑 Human[5%] 👌 AI Adopted[100%] Co-authored-by: claude (deepseek-v4-flash) <ai@local> Co-authored-by: claude (glm-5.2) <ai@local> Co-authored-by: claude (deepseek-v4-flash) <ai@local> Co-authored-by: claude (glm-5.2) <ai@local> Change-Id: Ib6cbd04a87a29a06dc1a07f6df407244edceb54e | 16 天前 | |
refactor: split active user id into pure active and unlocked variants Rename GetActiveUserId/SubscribeActiveUserId to *UnlockedActiveUserId to reflect their verified (unlocked) semantics, and repurpose the original names for the pure active user without unlock verification. Migrate all call sites to the Unlocked variants. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: claude (glm-5.2) <ai@local> Change-Id: I6e5ce1e4b738c9e60107247ba8b1717dcc778470 | 13 天前 | |
Add defensive checks and boundary validations to improve robustness and security. Signed-off-by: z30078586 <zhaoqichao5@h-partners.com> 🤖 AI[64%] 🔧 Human Fixed[0%] 🧑 Human[36%] 👌 AI Adopted[100%] | 8 天前 | |
fix : companion auth save supportedBusinessId Signed-off-by: hejiaogirl <hejiao@huawei.com> | 3 天前 | |
feat: track caller user id/type in interaction telemetry and make death callback one-shot Encode caller user id in InteractionDesc and caller user type in InteractionEventCollector extra info. Guard CallbackDeathRecipient so its cleanup runs only once. Add tests for the new caller user type encoding. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: claude (glm-5.2) <ai@local> Change-Id: Ide11c1687a2dd642c110b9232712ec5c829a051c | 3 天前 | |
all code Signed-off-by: HelloMiracle123 <3299615082@qq.com> | 7 个月前 | |
add header static Signed-off-by: wangxu43 <wangxu43@huawei.com> 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: Ie198297aa00a530aa80da8a098b462588c5b24bd | 2 个月前 | |
feat: sync PIN freeze state and abort in-flight auth on lock/user switch Add BlockedStateSyncScheduler to keep companion-auth "blocked" state in sync with the user-auth PIN freezing time. Becoming blocked fans out a lock event that aborts in-flight MixAuth/ObtainToken requests and rejects SUCCESS results that race the lock or an active-user switch, so a locked or switched-away user can no longer complete companion auth. Centralize IssueToken/ObtainToken error replies through CompleteWithError so a failed PRE round unblocks the peer instead of waiting for timeout. Map the softbus peer-session-not-created error to a new PEER_SERVICE_NOT_AVAILABLE result code and treat it as terminal in the device-status and resync retry layers, stopping retry storms against devices without the CDA service. Add tests and a fuzz harness for the new paths. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[61%] 🔧 Human Fixed[0%] 🧑 Human[39%] 👌 AI Adopted[100%] Change-Id: I1d80925f4b0f05f1888540d7846333472776309b | 11 天前 | |
all code Signed-off-by: HelloMiracle123 <3299615082@qq.com> | 7 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 天前 | ||
| 3 天前 | ||
| 11 天前 | ||
| 8 天前 | ||
| 2 天前 | ||
| 3 个月前 | ||
| 3 天前 | ||
| 11 天前 | ||
| 8 天前 | ||
| 2 天前 | ||
| 16 天前 | ||
| 13 天前 | ||
| 8 天前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 7 个月前 | ||
| 2 个月前 | ||
| 11 天前 | ||
| 7 个月前 |