Conversation
- 添加 docker/Dockerfile 多阶段构建(前端+后端) - 添加 docker-compose.yml 支持阿里云镜像部署 - 添加 .github/workflows/release.yml 自动发布到阿里云 - 添加 .dockerignore 优化构建 - 添加 VERSION 版本管理文件 - 添加 start.mjs 本地开发启动脚本
- 账号列表支持分页(每页10条,倒序显示) - API 密钥列表支持展开/关闭
- Account 结构加 TestStatus 字段,测试后写入 config.json - listAccounts 接口返回 test_status,前端根据结果显示红/绿/黄状态点 - 分页选择器支持 10/20/50/100/500/1000/2000/5000 - 点击账号名自动复制到剪贴板,hover 显示复制图标,复制后显示绿色对勾
- 后端 GET /admin/accounts 支持 ?q= 参数,大小写不敏感匹配 identifier/email/mobile - 前端搜索框内嵌于标题栏按钮行(测试全部按钮前) - 搜索时重置到第 1 页,分页 total 反映过滤后数量 - 无匹配结果时显示专属提示文案(中英文)
|
Someone is attempting to deploy a commit to the cjack's projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d97b86e0ee
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: . | ||
| file: ./docker/Dockerfile |
There was a problem hiding this comment.
Use the repository Dockerfile path in release build
The release job points docker/build-push-action at ./docker/Dockerfile, but this repository only contains Dockerfile at the root, so the image build step will fail every time the workflow runs. This blocks both release pipelines because the same path is used here and in .github/workflows/release-dockerhub.yml.
Useful? React with 👍 / 👎.
| function waitForProcesses() { | ||
| return new Promise(resolve => { | ||
| const check = setInterval(() => { | ||
| if (processes.filter(p => !p.killed).length === 0) { |
There was a problem hiding this comment.
Detect child-process exit correctly in wait loop
waitForProcesses checks !p.killed to decide whether children are still running, but ChildProcess.killed is only set when kill() is called, not when a process exits on its own. If go run/npm run dev crashes or exits early, this loop never resolves and the script hangs indefinitely instead of returning control.
Useful? React with 👍 / 👎.
测试接口不再仅验证会话创建,改为始终发送「你是谁?」 走完整 completion 路径,确保被封禁账号能被正确识别为失败。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
这动作有点大啊。。 (我来改吧) |
Summary
GET /admin/accounts新增?q=查询参数,大小写不敏感匹配账号的 identifier / email / mobile,total与total_pages均反映过滤后数量Test plan
🤖 Generated with Claude Code