rogee
9095920a5b
fix: complete Douyin release remediation
2026-09-16 01:51:14 +08:00
rogee
977e541fef
feat: finish Douyin production readiness flow
2026-09-15 09:20:51 +08:00
rogee
5867aac20f
fix: complete Xiaohongshu read-only flow
2026-09-14 23:19:31 +08:00
rogee
4c37d0c9bf
feat: restore Xiaohongshu read-only collection
2026-09-14 20:05:32 +08:00
rogee
44a28954cf
feat: integrate creator hub douyin workflows
2026-09-14 19:22:07 +08:00
rogee
025fe62c37
docs: add E2E and Douyin integration plans
2026-09-14 11:33:19 +08:00
rogee
4d1dd37438
feat: complete CreatorHub gateway review fixes
2026-09-13 21:52:52 +08:00
rogee
860ecaf7ea
feat: continue CreatorHub plan01 implementation
2026-09-12 20:17:29 +08:00
rogee
1fbf126b21
fix: 列表详情页取消状态检测
2026-09-11 09:35:28 +08:00
rogee
7ce5fbd6d2
fix: 未知代 pending 清理按别名反查自动收敛
...
启动创建结果未知时会登记 runtime-not-found + 空 network_id 的
pending(fail-closed fence)。此前该状态永久卡死:所有操作入口
直接 409 要求人工对账。
removeGatewayRuntime 现在对此状态先按别名反查网关:
- 无容器:该代无实物,直接解除 pending;
- 有同版本容器:采用其实物代继续统一清理;
- 版本不符:别名下已是别的代,维持人工对账。
附回归测试覆盖三分支;真实环境验证卡死状态自动收敛。
2026-09-07 18:54:03 +08:00
rogee
83397927c2
fix: 账号列表与环境解耦;网关清理收敛已消失的旧代
...
- 社媒账号列表页不再拉取运行环境数据:账号是资源池,环境故障
不应阻塞账号展示,409 横幅随之消失;「固定资源」「可调度」
两列移除,绑定状态去运行环境页查看。详情页保持原行为。
- docker-gateway DELETE 清理:容器与登记网络均已不存在时返回
204 而非 409,控制面 runtime_cleanup_pending 可收敛,修复
外部清理过的旧代永久卡死;容器存活而网络消失仍 fail-closed。
2026-09-07 09:44:22 +08:00
rogee
1ce0375414
fix: safely reconcile rejected runtime creates ( #47 )
2026-09-04 16:39:53 +08:00
rogee
62418b1f0d
Merge pull request '网络出口列表改为表格展示' ( #46 ) from feat/network-exit-table into main
2026-09-04 10:34:21 +08:00
rogee
c333d59796
fix: 网络出口列表以 ID 作为主标识展示
2026-09-04 09:54:55 +08:00
rogee
fdbb37ad48
feat: 网络出口列表改为表格展示
2026-09-03 18:39:29 +08:00
rogee
de91d7a882
chore: 前端代码风格统一并清理未使用导入;移除过时的 PR 流程规则
2026-09-03 17:16:08 +08:00
rogee
934d2c1bc5
Merge pull request 'fix: 网络出口明文认证存储与创建 Modal 统一关闭' ( #45 ) from fix/network-exit-credentials-modal-close into main
2026-09-03 17:04:28 +08:00
rogee
ab7499655b
fix: store network exit credentials directly
2026-09-03 15:06:35 +08:00
rogee
331a0a1bc8
Merge pull request 'fix(gateways): 支持编辑名称地址和令牌' ( #44 ) from feat/gateway-edit into main
2026-09-03 13:21:01 +08:00
rogee
a2669620da
fix(gateways): 支持编辑名称地址和令牌
...
- 新增 PUT /api/gateways/:name,支持改名、修改 Endpoint 与令牌
- 网关改名通过 PostgreSQL ON UPDATE CASCADE 原子同步环境引用
- 编辑令牌留空时保留原值,避免只改地址时意外轮换
- 网关列表增加编辑弹窗并覆盖成功、冲突、缺失与失败展示
2026-09-03 13:14:13 +08:00
rogee
66a3b142ba
Merge pull request 'feat(gateways): 网关列表增加连通性与健康状态探测展示' ( #43 ) from feat/gateway-connectivity-health into main
2026-09-03 12:45:49 +08:00
rogee
e5c720e7d5
feat(gateways): 网关列表增加连通性与健康状态探测展示
...
- GET /api/gateways 并发探测 /healthz(连通性)与 /v1/browsers(健康),失败原因随列表返回
- 前端新增连通性/健康两列,失败原因悬浮提示
- 覆盖健康、令牌被拒、离线三类探测路径的单元测试
2026-09-03 12:44:49 +08:00
rogee
a321fd8280
Merge pull request 'feat(network-exits): 表单与详情字段改名(认证/出口IP/出口地区)' ( #42 ) from feat/network-exit-label-rename into main
2026-09-02 19:37:20 +08:00
rogee
93b4b6ba01
feat(network-exits): 表单与详情字段改名(认证/出口IP/出口地区)
2026-09-02 19:36:26 +08:00
rogee
92501bdeae
Merge pull request 'feat(accounts): TAGS 标签输入、账号列表 table、内容区域全宽' ( #41 ) from feat/accounts-tag-input-table into main
2026-09-02 18:29:35 +08:00
rogee
24d2451f0c
feat(accounts): TAGS 改为标签输入、账号列表改 table、内容区域全宽
...
- 创建账号弹窗 TAGS 字段使用 TagInput 胶囊标签输入(回车/逗号确认,退格删除,自动去重)
- 账号列表由卡片栅格改为 Table(账号/平台/授权/账号状态/固定资源/可调度)
- 布局移除 max-w-[1280px] 限制,内容区域全宽
验证:npm run test 66/66 通过,npm run build 成功,go test ./... 全 ok
2026-09-02 18:28:26 +08:00
rogee
61543a4a61
chore: ignore .codegraph index and allow LAN access for vite dev server
...
- .gitignore 增加 .codegraph/(本地代码索引,不进版本库)
- vite dev server 开启 host,便于局域网访问本地前端
2026-09-02 17:11:52 +08:00
rogee
875909bd1e
Merge pull request 'fix(account): 创建账号成功后关闭弹窗并允许无 Cookies 创建' ( #40 ) from fix/account-create-modal-cookie into main
2026-09-02 17:01:42 +08:00
rogee
1e92e16ed3
fix(account): close create modal on success and make cookies optional
...
- AccountList.createAccount 成功后关闭创建弹窗(此前只提示不关闭)
- Cookies 前端改为可选:留空代表扫码登录场景,提交时不携带该字段
- 后端 validAccount 允许空凭据(此前 http.ParseCookie("") 直接拒绝)
- CreateAccount 空凭据时跳过 keyring 写入,不产生空值记录;回滚补偿仅在实际写入过凭据时执行
验证:go test ./... / go vet ./... / 双端构建通过;web vitest 66 用例通过(新增无 cookies 创建+弹窗关闭用例);npm run build 通过
2026-09-02 17:00:19 +08:00
rogee
f921a2e835
Merge pull request 'chore(dev): add pnpm dev hot-reload workflow' ( #39 ) from dev/hot-reload-workflow into main
2026-09-02 14:53:42 +08:00
rogee
208f6766af
chore(dev): add pnpm dev hot-reload workflow for local development
...
Replace full docker compose rebuild during development with:
- pnpm dev / dev:backend (air hot-reload control-plane) / dev:frontend (vite HMR) / dev:deps
- compose.dev.yaml: postgres+docker-gateway only, host port mapping (5432/8081), container control-plane disabled via profile
- scripts/dev-backend.mjs: read .env, fill dev defaults (login admin/admin123, listen :8082, 32-byte dev master key with explicit warning on invalid .env value), ensure dep containers, run air
- vite: fixed port 5173, /api proxy to local control-plane (8082)
- README: document hot-reload dev workflow
Verified: pnpm dev end-to-end (login/API/frontend/proxy 200), Go+JSX edit hot-reload, compose config --quiet, go build ./..., web tests 65 passed, npm --prefix web run build.
2026-09-02 14:38:44 +08:00
rogee
2676df12c2
Merge pull request 'refactor(web): migrate frontend to React 19 + Refine v5 + shadcn/ui stack' ( #38 ) from refactor/web-shadcn-ui into main
2026-09-02 13:41:32 +08:00
rogee
7ecad93821
refactor(web): migrate frontend to React 19 + Refine v5 + shadcn/ui stack
...
技术栈切换(按 AGENTS.md 批准栈):react-admin/MUI → Refine v5 + shadcn/ui
(Tailwind CSS v4),Vite 8 + React 19 + react-router v7 hash 路由。
- 全部 9 个页面重写:AccountsPage/BrowsersPage(BrowserList/CreatePage/Detail)/
BrowserImagesPage/GatewaysPage/NetworkExitsPage/TasksPage/TracePages/
DraftPage/AuditPage;自建 lib/ui.jsx 组件库与 Layout(侧导航 + Outlet)
- 简单创建/编辑改 modal(账号/网关/镜像/出口),环境创建走独立页
/browsers/new;列表按信息密度选表格或移动卡片双形态
- 图标统一 RemixIcon;领域动作保持显式动词(start/stop/upgrade/recycle
等,不伪装成 CRUD update)
- LoginPage:Basic 凭证存 localStorage;401 清凭证并跳 #/login;
AuthGate 改为渲染期读 localStorage(react-router v7 的 pushState 不触发
hashchange,事件订阅会在导航后拿到过期状态导致登录后卡死)
- dataProvider 适配 Refine v5 契约:所有方法收单个参数对象
({resource, pagination, filters, meta, variables}),create/update/
delete/deleteOne 语义对齐
- Modal 关闭时焦点还给触发元素;Select 保持原生 button/combobox 语义
- e2e 补登录前置;账号创建流程同步 modal 交互
验证:npm test 65/65 通过;覆盖率 71.5% stmts / 76.3% lines(门槛 65%);
vite build 成功;playwright e2e 9/9 通过。
2026-09-02 13:40:34 +08:00
rogee
5394b19916
Merge pull request 'docs: merge AGENTS.md.new constraints and update tech stack' ( #37 ) from docs/merge-agents-md into main
2026-09-02 10:16:17 +08:00
rogee
f5f1b9fe88
docs: merge AGENTS.md.new constraints and update tech stack
...
- Merge general engineering constraints from AGENTS.md.new (constitution, communication, reply style, multi-option decisions, sub-agent usage, UI design)
- Update frontend stack: react-admin + MUI -> Refine + shadcn/ui + Tailwind CSS
- Standardize icon library as RemixIcon
- Remove UI replacement boundary section
2026-09-02 10:15:21 +08:00
rogee
f054d04321
HH-912: simplify social account creation ( #36 )
2026-09-02 02:03:36 +08:00
rogee
3729ce910f
feat: support direct network exit for runtimes
2026-09-01 19:12:48 +08:00
rogee
5674cfe8c3
fix: expose configuration menus and relax password length
2026-09-01 17:54:02 +08:00
rogee
2332a94a0a
HH-900: document manual startup and business validation ( #35 )
2026-09-01 13:31:23 +08:00
rogee
ddd92eea89
HH-868: add fail-closed Douyin read-only connector core ( #31 )
2026-09-01 12:02:24 +08:00
rogee
2c2291998f
HH-878: add control-plane route/method matrix coverage ( #32 )
2026-08-31 20:06:11 +08:00
rogee
024bf14448
HH-807: harden runtime coordination ( #21 )
2026-08-31 19:37:17 +08:00
rogee
1d9fd9f0e0
HH-867: 控制面单用户认证与停机通知 ( #30 )
2026-08-31 18:31:11 +08:00
rogee
b117cc738f
HH-846 / HH-799: add task recovery and audit ( #27 )
2026-08-31 13:19:54 +08:00
rogee
0fbfb335c4
HH-805: structure runtime audit and cover phase A HTTP ( #29 )
2026-08-31 12:30:59 +08:00
rogee
c234699ae7
HH-834: tighten gateway lifecycle fences ( #28 )
2026-08-31 12:07:15 +08:00
rogee
cf8fb1db32
HH-859: cover readiness and credential limits in browser E2E ( #26 )
2026-08-31 09:45:27 +08:00
rogee
f6909376e1
HH-849: gate browser starts on readiness ( #25 )
2026-08-31 09:16:07 +08:00
rogee
59c30d887c
HH-847 / HH-799: add draft review and idempotent enqueue ( #24 )
2026-08-31 09:09:47 +08:00
rogee
14789e9401
HH-845 / HH-799: add phase A account resource pages ( #23 )
2026-08-31 00:58:49 +08:00