Skip to content

Test Evidence #61

@snomiao

Description

@snomiao

Currently, when user make PR to

https://github.com/Comfy-Org/ComfyUI_frontend

a github-bot will add comment below if no test-screenshot or video is included.

Now, I want a similar thing on desktop, and

https://github.com/Comfy-Org/desktop
https://github.com/comfyanonymous/ComfyUI

So the Task is:

  1. Add a new taskfile at app/task/gh-test-evidence.ts, in this task:
  2. including repos: [https://github.com/Comfy-Org/desktop, https://github.com/comfyanonymous/ComfyUI]
  3. Scan all opening PRs
  4. for those PRs, read PR body
  5. use zod-chatgpt to generate a json {isTestExplainationIncluded: z.boolean(), isTestScreenshotIncluded: z.boolean(), isTestVideoIncluded: z.boolean()}
  6. and use template-string to generate a warning message mention the missing part, you MUST steal the message format from the workflow of Comfy-Org/ComfyUI_frontend repo

IMPORTANT: use similar code structure with other tasks under app/tasks/*.ts

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions