交互修复:F03/F04 证据弹窗加载状态与载入定义上下文 #2

Open
jianwel wants to merge 7 commits from fix/dialogs-f03-f04 into fix/security-f01-f02-f08
Owner

堆叠于 #1(安全收尾),对应问题清单 F03/F04:

  • F03 证据弹窗同期间重复点击不再停在加载中;补失败重试与空态行
  • F04 载入已保存定义后把原定义写入可见、经同意的对话上下文(修改仍需重新确认);空选项同步清理;消息上限 1000→2000

测试:E2E workspace.spec.ts 覆盖重复点击/快速切换/第二页切期间/失败重试/空列表;formula-export.spec.ts 覆盖载入定义修改后生成;单测覆盖消息长度边界

堆叠于 #1(安全收尾),对应问题清单 F03/F04: - **F03** 证据弹窗同期间重复点击不再停在加载中;补失败重试与空态行 - **F04** 载入已保存定义后把原定义写入可见、经同意的对话上下文(修改仍需重新确认);空选项同步清理;消息上限 1000→2000 测试:E2E workspace.spec.ts 覆盖重复点击/快速切换/第二页切期间/失败重试/空列表;formula-export.spec.ts 覆盖载入定义修改后生成;单测覆盖消息长度边界
jianwel added 2 commits 2026-09-25 23:26:09 +00:00
- 第 0 页重复点击当前已选期间直接返回,不清空列表、不重复请求;
  第二页点击当前期间回到第一页并刷新
- 请求失败显示错误并提供“重试”按钮;空结果显示空态行而不是过期数据
- E2E 覆盖:重复点击、快速本期/基期切换、第二页切期间、失败重试、空列表
fix(dialogs): F04 载入已保存定义后把原定义带入可见对话上下文
Verify / verify (push) Failing after 1s
Verify / verify (pull_request) Failing after 1s
9a5ab26014
- 载入定义时以“用户消息+助手确认”形式把名称、含义、范围、缺失处理和表达式
  写入对话,后续“把刚才公式改成乘以 100”等指代可关联到已载入定义;
  生成前仍需显式确认,不静默沿用旧定义
- 选择空选项时同步清理当前定义与上下文,选择状态与预览保持一致
- 服务端单条消息长度上限 1000→2000 以容纳完整定义上下文,超长仍拒绝
- E2E 覆盖:载入后请求包含原定义、修改后表达式为 (收入−成本)×100、
  空选项清理;单测覆盖 2000/2001 边界
jianwel added 1 commit 2026-09-26 08:20:35 +00:00
test(worker): 适配 PostgreSQL 咨询锁下的立即重认领语义
Verify / verify (push) Failing after 1s
Verify / verify (pull_request) Failing after 0s
dfaecde8a3
PG 上 worker 持咨询锁会立即重认领 processing 任务,第二次 --once 被导入任务
抢占导致导出断言失败(该测试此前从未在 PG 上真正运行过)。第一次调用后把导入
任务置为 ready 模拟完成,两种后端行为一致
jianwel added 1 commit 2026-09-26 09:02:05 +00:00
merge: 同步 main 的 CI 基建(.gitea/workflows 迁移、PG 咨询锁测试适配、artifact 容忍、audit 重试)
Verify / verify (push) Failing after 1s
Verify / verify (pull_request) Failing after 1s
AI Review / review (pull_request) Successful in 14s
e841af67a6
Some required checks failed
Verify / verify (push) Failing after 1s
Verify / verify (pull_request) Failing after 1s
AI Review / review (pull_request) Successful in 14s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/dialogs-f03-f04:fix/dialogs-f03-f04
git checkout fix/dialogs-f03-f04
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jianwel/fa-agent#2