hhyo / hhyo/Archery

使用api发起工单时填写的engineer字段与实际工单信息中的engineer字段不一致

Open
#3,045 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7k
Forks
1.9k
Avg merge
2d 11h
Merged PRs (30d)
6

Description

### 重现步骤

## 问题复现

1. 使用`archery_api_user`的`access_token`调用POST /api/v1/workflow/创建一条engineer字段为`user1`的工单并提交
2. 使用GET /api/v1/workflow/查找到这条工单,发现engineer字段仍然为archery_api_user

## 预期结果

查找到的工单engineer字段的值应该为`user1`

### 预期外的结果

查找到的工单engineer字段的值为archery_api_user

### 日志文本

```shell

```

### 版本

1.9.1

### 部署方式

Docker

### 是否还有其他可以辅助定位问题的信息?比如数据库版本等

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing POST /api/v1/workflow/ and GET /api/v1/workflow/ for a request using the archery_api_user access token. Compare how the submitted engineer value is handled with the value returned by the GET endpoint; done means a submitted user1 engineer value is returned as user1 rather than archery_api_user.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.