AI员工审查失败后怎么能让他重新审查 #2840
catsmylove opened 1 week ago

AI员工审查PR代码失败后就一直卡在哪里,怎么能触发他重新审查。只能丢弃重新合并吗

  • Robin Shen commented 1 week ago

    直接 at 它,让它重新审查。另外升级到最新16.0.2,skill 更完善了。

  • Robin Shen changed state to 'Closed' 1 week ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 1 week ago

    也可以在review结果(PR 右侧)旁边按刷新按钮,表示要求重新review

  • catsmylove commented 1 week ago

    好的,谢谢。这个审查失败后,右侧没有刷新按钮,评论里@后可以重新审查了。另外麻烦想问下,他这个每次审查都是重新拉取opencode的镜像临时搭建镜像服务完事都删除了吗,我看现在服务器上有很多opencode的镜像,且每次审查都要15-30分钟。然后我选择的opencode shell的模式会给我提示这个报错,不太清楚这个模式是需要我配置什么东西 Error provisioning workspace: No applicable provisioner discovered for current workspace. Please add a shell provisioner in menu 'Administration / Workspace Provisioners' image.png

  • Robin Shen commented 1 week ago

    如果审查失败后,应该会出现refresh按钮的,目前是等待审查结果,所以没有。默认每次都拉取 OpenCode 镜像,一是为了安全,而是为了经常更新 coding agent,毕竟现在 coding agent 更新特别频繁。如果不希望每次都拉取的话,可以在管理菜单里 workspace provisioner 部分自定义一个 provisioner,然后在安全设置里将每次拉取禁用。

    另外 shell provisioner 是默认关闭,因为不在 docker 环境里运行,可能有一定风险。如果需要的话,定义一个 shell provisioner,然后设置信任的项目。

  • catsmylove commented 1 week ago

    好的,多谢。另外那个审查失败后确实没有刷新按钮,审查失败会有一个评论如图image_2.png 然后右侧就是一直是等待审查结果的状态。

  • Robin Shen commented 1 week ago

    奥,这个是 workspace 运行失败,所以审查没有出结果,所以不会有刷新按钮。这种情况下把问题解决然后 comment 里 at 重新审查就可以。

1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2840
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover