Skip to content

fix: surface checkpoint retention and channel health - #2832

Merged
seed30 merged 1 commit into
developfrom
fix/2302-channel-health-and-checkpoint-retention
Nov 9, 2026
Merged

seed30 merged 1 commit into
developfrom
fix/2302-channel-health-and-checkpoint-retention

Conversation

@seed30

@seed30 seed30 commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • 注册飞书通道时,把去重库写到数据目录下的 feishu-dedup.sqlite,重启后仍能认出旧消息。
  • /api/health 和通道卡片显示最近收发时间、重连次数、过期丢弃数和重复丢弃数。
  • 记忆库检查页显示检查点保留份数、天数,以及可回收空间过大时的 VACUUM 提示。

Test plan

  • curl /api/health,确认 channels 中有飞书,且包含 last_inbound_at、reconnect_count、dropped_stale、dropped_duplicate。
  • 飞书收到一条新消息后,最近收到时间不再为空。
  • 打开记忆库检查页,能看到保留策略;可回收空间超过 32MB 时出现 VACUUM 提示。
  • pytest tests/unit/gateway/test_gateway_runtime_status.py
  • 重新构建 dashboard 后,通道卡片和记忆库页面能看到新增文案。

@seed30
seed30 changed the base branch from main to develop November 5, 2026 06:07
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

请把这个变更重新提交到 develop。功能修改和问题修复都要指向 develop,不要直接指向 main。

Please open this change against develop instead of main.

@github-actions github-actions Bot closed this Nov 5, 2026
@seed30 seed30 reopened this Nov 5, 2026
@seed30
seed30 requested a review from jubaoliang November 5, 2026 11:35
@Bosheng0422 Bosheng0422 added the Memory Issue about memory plz add this label to help filter label Nov 9, 2026
Register Feishu channels with a durable dedup database. Publish each
channel's inbound, outbound, reconnect, and drop counters on /api/health
and the channel card. Show the checkpoint keep window and a VACUUM hint
on the memory storage page.
@seed30
seed30 force-pushed the fix/2302-channel-health-and-checkpoint-retention branch from e1fa7f1 to 22057cc Compare November 9, 2026 03:45
@seed30
seed30 merged commit 8cbbb32 into develop Nov 9, 2026
3 checks passed
@seed30
seed30 deleted the fix/2302-channel-health-and-checkpoint-retention branch November 9, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Memory Issue about memory plz add this label to help filter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants