zerosaturation
|
89d5d12450
|
fix(task): backfill id=1/2 trigger_event + cleanup misleading NULL comments
daily_browse_asset (id=2) / daily_login (id=1) 之前永远不触发,根因:
2026_07_21_004 迁移只 backfill 了 id=3/4 的 trigger_event=task_key,
id=1/2 留 NULL。但 ProcessTaskEvent 引擎按 trigger_event = ? 严格匹配
(spec §4 单一隔离单元),NULL 不会命中,前端 reportEvent 后引擎跑空
循环、daily-tasks 任务永远 pending。
修复:
- 新增 2026_07_27_005 迁移:回填 id=1/2 的 trigger_event=task_key(幂等)
- 修订原 004 迁移的错误注释('trigger_event 留 NULL'误导后人)
- model/task_models.go:删除 'NULL 仍走 def.TaskKey 兜底' 不实承诺
- impl plan §37/39:修订错描述('暂不依赖 trigger_event 列')
- docker/init-db.sql:124668/124671:重建 dev DB 时也带 trigger_event
- daily_task_repo_test.go:补 2 个回归测试
- NullTriggerEvent_NotMatched:trigger_event=NULL 时查不到
- TriggerEventEqualsTaskKey_Matches:trigger_event=task_key 时能命中
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
2026-07-27 16:36:40 +08:00 |
|
zerosaturation
|
bdf3abc2bc
|
feat(task): migration + backfill daily_task trigger_event
- task_definitions: add trigger_event varchar(64) + target_count int default 1
- user_daily_task_progress: add progress int default 0
- backfill id=3 (daily_mint) + id=4 (daily_place_asset) trigger_event
- sequence sync per CLAUDE.md (task_definitions_id_seq + user_daily_task_progress_id_seq)
- sync docker/init-db.sql CREATE TABLE + COPY data (id=1,2,5 leave NULL; id=3,4 fill)
spec: docs/superpowers/specs/2026-07-21-daily-task-config-driven-design.md
plan: docs/superpowers/plans/2026-07-21-daily-task-config-driven-impl.md
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
2026-07-27 15:38:46 +08:00 |
|
zerosaturation
|
e1fb138e8e
|
fix(deploy): health probe paths + starbookService deployment removal (config 4.3)
- k8s helm values.yaml: notificationService/moderationService healthPath 改 /health
(原 /healthz 与 pkg/health 实际注册路径不一致);
- 删除 k8s helm starbookservice template (服务已删, 部署已无效);
- docker-compose.{local,prod}.yml: 删 starbookService 服务块 + URL env + depends_on;
- Dockerfile.services: 删 starbookService 构建 Stage;
- build.sh + deploy.sh: 删 starbookService 引用 + ALL_SERVICES_NAME 帮助文本。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-24 14:04:41 +08:00 |
|
zerosaturation
|
cacc686e9a
|
fix:notification/moderation service healthcheck 配置错误
两个服务的 healthcheck 配置都有历史遗留 bug,导致 docker ps
一直显示 unhealthy / health: starting:
1) notificationService
- 现象: docker-compose healthcheck 路径写 /healthz,但 pkg/health
只注册 /health (backend/pkg/health/health.go:29),wget 永远 404
- 修复: compose 路径 /healthz -> /health,Dockerfile HEALTHCHECK
同样改 /health (双保险,rebuild 后不会回退)
2) moderationService
- 现象: main.go 没启 health server (只暴露 Dubbo Triple 协议),
compose 原 healthcheck 端口 20011 永远 timeout,
Dockerfile HEALTHCHECK 也指向 20011 同样错
- 修复: compose 用 healthcheck: test: ["NONE"] 显式覆盖 image
HEALTHCHECK,Dockerfile 改成 HEALTHCHECK NONE (image-level
也禁掉,rebuild 后不会回退)
gateway depends_on moderationservice: service_started (不依赖 healthy),
不影响入口可用性。健康状态靠 gateway 间接覆盖。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-21 12:12:46 +08:00 |
|
zerosaturation
|
7bf4666cdb
|
fix:restart 命令卡死问题
deploy.sh restart 命令原本 down && up --force-recreate + sleep 10,
在以下场景会卡死:
1) docker-compose up 中途异常退出,server-side 进程没回传 EOF,
本地 ssh 客户端没设 ServerAliveInterval,死链检测不到,
ssh 进程挂 25+ 分钟不退出 (2026-07-21 实测)
2) up --wait 等所有服务 healthy 才返回,但本 compose 里有
oss-cors-init (restart: no, exited(0) 永远不 running) +
moderationservice/notificationservice healthcheck 写错,
永远卡住
修改:
- ssh_cmd / ssh_cmd_batch / scp_cmd 加 ServerAliveInterval=30 +
ServerAliveCountMax=3,死链 90s 主动断
- restart 去掉前置 docker-compose down (up --force-recreate 自带 stop+create)
- restart 去掉末尾 sleep 10,改 polling gateway healthy (timeout 180s)
端到端实测 1:19 通过。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-21 12:12:27 +08:00 |
|
zerosaturation
|
d554d7be83
|
feat:修改周边验证
|
2026-07-17 16:53:57 +08:00 |
|
zerosaturation
|
1f7faba9a8
|
feat:先关闭dify的使用
|
2026-07-16 11:35:07 +08:00 |
|
|
|
365f783ea0
|
feat:修改分享url
|
2026-07-15 12:40:39 +08:00 |
|
zerosaturation
|
31eee930ca
|
feat:去掉无用的函数方法
|
2026-07-09 16:08:25 +08:00 |
|
zerosaturation
|
440a7ad7d2
|
feat:增加k8s部署
|
2026-07-06 13:27:24 +08:00 |
|
zerosaturation
|
dcb4e451a1
|
fix:修改合并后bug
|
2026-07-06 10:25:06 +08:00 |
|
|
|
66d226948f
|
Merge pull request 'feat/actvity' (#4) from feat/actvity into dev
Reviewed-on: https://git.liantu.tech/xiaoyu/topfans/pulls/4
合并feat/actvity
|
2026-07-03 16:28:30 +00:00 |
|
zerosaturation
|
d12a84c1f0
|
feat:增加队列修改收益方面把轮询改为MQ队列,修改数据看板的数据问题出错
|
2026-07-03 12:34:55 +08:00 |
|
Lenticular Studio Agent
|
65ce6bba12
|
feat: Dify 部署脚本修复 + AI 搭子 MVP 接入
主要改动:
fix(docker/dify-deploy): 修复脚本核心功能
- heredoc 单引号 bug: 'ENVEOF' 改为 ENVEOF,变量正确展开
- 端口默认值 8083/8084/8085 对齐 .env.prod 生产配置
- 加 dc_cmd() 兼容 docker-compose v1/v2 plugin
- openssl rand 生成强随机密码与 SECRET_KEY(42 字符)
- install 跳过已存在 .env,保护用户配置(管理员密码/SECRET_KEY)
- read -p < /dev/tty 兼容非 tty 环境(CI/CD)
- show-config 改用 DIFY_NGINX_PORT(nginx 入口)而非 APP_WEB_PORT
docs(mvp-design): 修正 §3.2 workflow inputs 描述
- 实际只有 query,删除错误的 user_id input 声明
- 节点序列图同步更新
feat(aiChatService): 新增 Dify 客户端与适配器
- service/dify_client.go: Dify Workflow 调用 + SSE 解析
- service/dify_adapter.go: 与现有 chat_service 桥接
- provider/ai_chat_provider.go: Dubbo 入口简化
- main.go: 装配 ConversationRepository + DifyClient
feat(migrations): 新增 AI 搭子会话表 ai_chat.sql
- ai_conversations / ai_messages 表 + 索引
docs: 新增 Dify 集成设计文档
- 2026-06-29-ai-chat-dify-mvp-design.md (MVP 实施级)
- 2026-06-29-ai-chat-dify-integration-v2-design.md (V2 演进路线图)
- docs/dify/角角.yml (Workflow DSL 导出)
config: 更新 env 模板与 docker 配置
- backend/.env.example: DIFY_* 环境变量声明
- docker/.env.prod: DIFY_API_BASE 对齐 8083
- docker/build.sh: 微调
- CLAUDE.md: 项目规范补充
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-02 12:32:34 +08:00 |
|
|
|
c02e53fc0e
|
feat:修改h5地址
|
2026-06-26 18:10:51 +08:00 |
|
zerosaturation
|
64b501102b
|
feat:修改docekt配置添加ossCROS的配置
|
2026-06-24 16:30:00 +08:00 |
|
Lenticular Studio Agent
|
a96c9cf04f
|
feat:修复路径
|
2026-06-24 02:34:06 +08:00 |
|
Lenticular Studio Agent
|
d59887374b
|
feat:修复部分问题
|
2026-06-24 00:50:53 +08:00 |
|
Lenticular Studio Agent
|
8a9f22babe
|
feat:解决冲突,加入中转站到生产环境
|
2026-06-24 00:33:11 +08:00 |
|
Lenticular Studio Agent
|
fd5e317e05
|
merge: 解决 docker-compose 和 SocketManager 冲突
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 23:06:24 +08:00 |
|
Lenticular Studio Agent
|
67cf3d4177
|
chore: 清理 laserCompositor 微服务残留
- 删除已弃用的 compositor_client.go
- 删除激光合成微服务代码
- 添加 gateway 合成控制器和测试文件
- 添加 Dify prompt 补丁脚本
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 22:44:03 +08:00 |
|
Lenticular Studio Agent
|
af7908e72e
|
feat: 接入微达API中转站,重构镭射卡生图流程
- 替换中转站从 xbcl.link 到 weda.cc
- prompt 模板改为镭射卡全图生成(去掉 6 层合成/抠图依赖)
- 4 路并发调用 + 原图展示 = 5 张 variant
- 前端提示词中译英支持
- 全局 Vue errorHandler
- WebSocket 鉴权失败跳登录
- 删除已弃用的 laserCompositor 微服务
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-23 22:43:49 +08:00 |
|
zerosaturation
|
94457ffa8a
|
feat:修改遗留bug
|
2026-06-23 19:37:18 +08:00 |
|
zerosaturation
|
ef0a4f6afd
|
feat:修改通知系统的消息
|
2026-06-17 11:59:51 +08:00 |
|
zerosaturation
|
9ab54c7640
|
feat:修改websocket的前缀
|
2026-06-16 01:12:12 +08:00 |
|
zerosaturation
|
7734d33697
|
feat:修改ws的配置
|
2026-06-15 22:33:37 +08:00 |
|
zerosaturation
|
83d1bec422
|
feat:修改本地和服务器区分数据库的密码
|
2026-06-14 22:41:16 +08:00 |
|
zerosaturation
|
19890d5908
|
feat:修改数据库配置密码,修改星榜样式
|
2026-06-14 22:19:32 +08:00 |
|
zerosaturation
|
b38174917a
|
feat:修改配置
|
2026-06-14 21:04:05 +08:00 |
|
zerosaturation
|
542b1bd4f0
|
feat:修改docker脚本配置
|
2026-06-11 18:17:33 +08:00 |
|
zerosaturation
|
280b4bbee0
|
feat:docker新增统计的微服务
|
2026-06-11 16:35:56 +08:00 |
|
zerosaturation
|
23a8051e96
|
feat: 修改头像显示不全,修改docker的配置
|
2026-06-04 16:41:20 +08:00 |
|
|
|
f0b650de26
|
feat: 解决合并冲突
|
2026-06-04 00:03:40 +08:00 |
|
liulong
|
b9527bee70
|
feat:合并新
|
2026-06-03 22:41:19 +08:00 |
|
liulong
|
10168f8e6b
|
feat:实现AI生成镭射卡功能
|
2026-06-03 22:19:22 +08:00 |
|
zerosaturation
|
76c4e2cdf8
|
feat: 修改docker配置
|
2026-06-03 18:19:15 +08:00 |
|
zerosaturation
|
64809ea308
|
feat: 修改docker配置添加AI的微服务
|
2026-05-29 21:37:08 +08:00 |
|
zerosaturation
|
dd34def217
|
feat:修改点赞接口bug
|
2026-05-26 21:32:37 +08:00 |
|
zerosaturation
|
a39bb7b60f
|
feat:新增sms短信注册
|
2026-05-26 13:23:04 +08:00 |
|
zerosaturation
|
4d42d9a6d0
|
feat: 新增历史点赞查询和修改点赞规则
|
2026-05-22 18:06:33 +08:00 |
|
zerosaturation
|
602b615dc5
|
docker: 修改配置
|
2026-05-18 20:21:32 +08:00 |
|
zerosaturation
|
5f4a443a93
|
feat: 新增余额不足不能铸造的功能提示,新增详细页面图片正常显示,docker修改配置
|
2026-05-18 18:32:58 +08:00 |
|
zerosaturation
|
02233db0ec
|
1
|
2026-05-18 13:25:14 +08:00 |
|
zerosaturation
|
0814242deb
|
Revert "image: 去掉未使用的图片"
This reverts commit b698f08916.
|
2026-05-18 01:16:24 +08:00 |
|
zerosaturation
|
b698f08916
|
image: 去掉未使用的图片
|
2026-05-18 00:31:10 +08:00 |
|
zerosaturation
|
2450fc1368
|
feat: 修改各种小bug
|
2026-05-17 23:33:45 +08:00 |
|
zerosaturation
|
78c70e14df
|
sql迁移表
|
2026-05-17 20:39:58 +08:00 |
|
zerosaturation
|
3f8a8ba470
|
image:图片压缩,sql迁移表
|
2026-05-17 19:55:22 +08:00 |
|
liulong
|
fe7fbba1fc
|
chore: 归档当前现有代码,准备新建分支开发插件验证
|
2026-05-14 16:42:27 +08:00 |
|
zerosaturation
|
1cbb373a4f
|
feat:增加docker日志清理
|
2026-05-06 10:51:09 +08:00 |
|