Skip to content

ONES 集成已经不可用,存在一系列问题

Summary

ONES 集成年久失修,已经不可用了。主要原因是 ONES 平台废弃了之前的接口。

Details

目前发现了三个问题:

  1. 按照文档 ONES 集成 | 极狐GitLab 操作,第二步就会遇到问题:

  2. 后端代码里还在使用被弃用的接口:ones/client.rb#L64

  3. 后端代码调用流程也有问题,很容易触发 500 报错。已影响到客户:https://jihulab.com/jihulab/jh-infra/teamwork/-/issues/1089+

What is the current bug behavior?

What is the expected correct behavior?

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

适配新的 ONES 接口;修复其他流程上的问题。工作量预计 5 人天。

路志远 编辑于