Skip to content

fix: deliver new eSIM profile notifications - #32

Open
Espirak wants to merge 1 commit into
3899:devfrom
Espirak:fix/esim-rsp-notifications
Open

fix: deliver new eSIM profile notifications#32
Espirak wants to merge 1 commit into
3899:devfrom
Espirak:fix/esim-rsp-notifications

Conversation

@Espirak

@Espirak Espirak commented Aug 20, 2026

Copy link
Copy Markdown

Part of #31

变更

  • 增加 lpac RSP notification list/process/remove 后端能力。
  • 下载和启用操作前保存待处理 sequence 集合。
  • 操作成功后只选择本次新增 sequence:
    • 下载:目标 Profile 的 install;
    • 启用:目标 Profile 的 enable,以及切换前活动 Profile 的 disable。
  • 每条通知先 process,成功后再单独 remove;失败项保留在 eUICC。
  • 增加“运营商 Profile 通知提交失败”系统事件。

安全边界

  • 操作前快照失败时完全跳过自动提交。
  • 历史 sequence、无关 ICCID 和 delete 通知不处理。
  • RSP 提交失败不回滚或谎报已经成功的 Profile 操作。
  • 公开日志与测试只使用脱敏标识或固定假值。

验证

  • 新增 lpac 通知解析测试。
  • 新增下载和切换通知差分/匹配测试。
  • 后端 109 个测试通过。
  • 与 AID fallback 合并后 cargo test --workspace:124 个测试通过。
  • 前端 ESLint 与 TypeScript --noEmit 通过。
  • cargo fmt --all -- --checkgit diff --check 通过。

实机复现与脱敏证据见 #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants