Skip to content

Workaround to clean up old reviews on creating a new one (#28554) #13683

Workaround to clean up old reviews on creating a new one (#28554)

Workaround to clean up old reviews on creating a new one (#28554) #13683

Triggered via pull request February 19, 2024 13:53
Status Failure
Total duration 12m 54s
Artifacts

pull-db-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 7 warnings
test-mysql8: tests/integration/api_pull_review_test.go#L329
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql8: tests/integration/api_pull_review_test.go#L339
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql8: tests/integration/api_pull_review_test.go#L350
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql8: tests/integration/api_pull_review_test.go#L365
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql8: tests/integration/api_pull_review_test.go#L384
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql8: tests/integration/api_pull_review_test.go#L395
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql8
Process completed with exit code 2.
test-sqlite: tests/integration/api_pull_review_test.go#L329
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-sqlite: tests/integration/api_pull_review_test.go#L339
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-sqlite: tests/integration/api_pull_review_test.go#L350
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-sqlite: tests/integration/api_pull_review_test.go#L365
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-sqlite: tests/integration/api_pull_review_test.go#L384
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-sqlite: tests/integration/api_pull_review_test.go#L395
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-sqlite
Process completed with exit code 2.
test-mssql: tests/integration/api_pull_review_test.go#L329
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mssql: tests/integration/api_pull_review_test.go#L339
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mssql: tests/integration/api_pull_review_test.go#L350
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mssql: tests/integration/api_pull_review_test.go#L365
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mssql: tests/integration/api_pull_review_test.go#L384
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mssql: tests/integration/api_pull_review_test.go#L395
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mssql
Process completed with exit code 2.
test-pgsql: tests/integration/api_pull_review_test.go#L329
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-pgsql: tests/integration/api_pull_review_test.go#L339
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-pgsql: tests/integration/api_pull_review_test.go#L350
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-pgsql: tests/integration/api_pull_review_test.go#L365
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-pgsql: tests/integration/api_pull_review_test.go#L384
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-pgsql: tests/integration/api_pull_review_test.go#L395
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-pgsql
Process completed with exit code 2.
test-mysql5: tests/integration/api_pull_review_test.go#L329
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql5: tests/integration/api_pull_review_test.go#L339
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql5: tests/integration/api_pull_review_test.go#L350
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql5: tests/integration/api_pull_review_test.go#L365
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql5: tests/integration/api_pull_review_test.go#L384
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql5: tests/integration/api_pull_review_test.go#L395
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
test-mysql5
Process completed with exit code 2.
files-changed / detect
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-mysql8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-sqlite
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-mssql
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-pgsql
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-mysql5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-unit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.