Skip to content

feat: GitHub 云沙箱调研与报告 PR demo - #98

Open
hifizz wants to merge 2 commits into
mainfrom
codex/github-cloud-research-demo
Open

hifizz wants to merge 2 commits into
mainfrom
codex/github-cloud-research-demo

Conversation

@hifizz

@hifizz hifizz commented Sep 6, 2026

Copy link
Copy Markdown
Owner

从 ThreadChat 对话验证代码调研任务:@github 指定仓库,启动 E2B 沙箱、读取冻结版本源码、生成 Markdown Artifact,并按 /publish-pr 指令创建报告草稿 PR。

实现使用 ComputeSDK Direct Provider Mode,复用现有 AI SDK 7 工具循环、消息流和 Artifact 保存。前端展示真实阶段状态与读取结果。默认关闭,通过服务端账号与仓库允许列表开放;GitHub Token 不进入沙箱;仅新增报告文件,不修改目标代码、不自动合并。未改数据库结构。

新增无数据库真实联调入口:pnpm cloud-research:smoke。--check 只检查配置,--publish 执行真实模型/E2B/GitHub 调用。开发 harness 增加云调研 UI 场景,明确标注模拟服务。

验证:最新代码 TypeScript 和定向 ESLint 通过;核心实现通过 Next.js 生产构建。真实 SDK 多轮调用和消息流测试、Python 读取器边界测试、现有消息流回归通过。新增客户端测试覆盖实际 SSE 解析、Store 阶段更新、终态 Artifact 和 React 任务卡渲染。外部模型/E2B/GitHub 在测试中模拟。构建环境未配置 better-auth,日志包含对应提示。

真实云端端到端仍待验证:当前环境没有 E2B、模型、数据库或应用 GitHub Token;连接器不能读取示例 hifizz/coding(404);未找到可用云沙箱/Coolify 插件或本地 Coolify CLI。Cloud Browser 访问 localhost 返回 ERR_BLOCKED_BY_CLIENT,浏览器视觉验收未完成。PR 保持草稿,不能将模拟测试称为真实云任务已跑通。

运行与限制:docs/sandbox/github-cloud-research-demo.md。短任务 demo 暂不提供持久队列或进程重启后的恢复。

@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
thread-chatbot Error Error Sep 6, 2026 8:45pm UTC

@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: b8ef395b-a50b-4be6-b38f-f6e9e5333015


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hifizz
hifizz marked this pull request as ready for review September 15, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant