SpecialX
|
d8dab70406
|
feat(infra): add OTel auto-instrumentations across all services
CI / quality-proto (push) Failing after 2s
CI / deploy (push) Has been skipped
CI / quality-ts (push) Failing after 1m11s
CI / quality-go (push) Failing after 5s
NestJS 6 services use getNodeAutoInstrumentations().
Python 2 services use FastAPIInstrumentor. Go 2 services use otelgin.
|
2026-07-09 13:25:46 +08:00 |
|
SpecialX
|
dfb6d2bfc1
|
feat(push-gateway): 修复WebSocket并发写竞争并添加DEV_MODE鉴权
hub.go 重写用send chan+单写协程模式避免并发写竞争
handler.go 加DEV_MODE dev-token支持+broadcast端点
config.go 加DevMode/RedisURL字段
|
2026-07-09 09:09:13 +08:00 |
|
SpecialX
|
3961a36308
|
fix(push-gateway): 同步 go.sum
|
2026-07-08 12:52:22 +08:00 |
|
SpecialX
|
7474a92e3b
|
feat(p5): messaging, push gateway and AI assistant services
P5 阶段交付物:
- services/msg: 消息通知服务(NestJS)
- notifications: 发送通知 + ES 全文检索 + search
- config/elasticsearch.ts: ES Client 单例
- package.json: 补充 @opentelemetry/sdk-node + exporter-trace-otlp-http
- services/push-gateway: WebSocket 推送网关(Go Gin)
- internal/hub/hub.go: WebSocket 连接池管理(Register/Unregister/SendToUser)
- internal/ws/handler.go: JWT 鉴权 + WebSocket 升级 + 内部推送 API
- services/ai: AI 辅助服务(Python FastAPI)
- /chat + /chat/stream(SSE 流式)
- /generate/question + /optimize/expression
- config.py: OpenAI 兼容 API 配置
- packages/shared-proto/proto/msg.proto: NotificationService 契约(send/search)
- packages/shared-proto/proto/ai.proto: AiService 契约(含 stream 方法)
|
2026-07-08 01:39:02 +08:00 |
|