gr2m / gr2m/github-project

Ignore "Content already exists in this project" error

未关闭
#89 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
JavaScript
星标
36
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

### Please avoid duplicates

- [X] I checked [all open bugs](https://github.com/gr2m/github-project/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and none of them matched my problem.

### Reproducible test case

_No response_

### Please select the environment(s) that are relevant to your bug report

- [ ] Browsers
- [ ] Node
- [ ] Deno

### Versions

latest

### What happened?

I haven't tried to reproduce it, but I got this error in a production app:

```
GraphqlResponseError: Request failed due to following response errors:
- Content already exists in this project
```

I assume it occurs when trying to add an issue or pull requse to a project that was already added, but I thought that theGraphQL API is already handling that gracefully. Maybe there is some racing condition?

### Would you be interested in contributing a fix?

- [ ] yes

贡献指南

打开贡献指南

调研方向

首先,使用最新版本以及相关的 Node 或 Deno 环境,重现添加项目中已存在的 issue 或 pull request 时报告的 GraphQLResponseError。将完成定义为能够正常处理且不出现“Content already exists in this project”错误;报告没有提供可供开始的测试用例或文件。

由索引模型根据 Issue 内容生成。

评估

技术栈
graphql, javascript
领域
api
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。