Skip to content

refactor: refine the code in retrieveWorker to make it more readable #18

refactor: refine the code in retrieveWorker to make it more readable

refactor: refine the code in retrieveWorker to make it more readable #18

Re-run triggered September 17, 2023 13:55
Status Success
Total duration 17s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
7s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

3 errors
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '6213980578', status: 403, response: { url: 'https://api.github.com/repos/panjf2000/ants/issues/295/labels', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Sun, 17 Sep 2023 13:55:17 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'issues=write; pull_requests=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '1CC5:55CB:8CA689:1232035:65070545', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '977', 'x-ratelimit-reset': '1694960602', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '23', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue' } }, request: { method: 'POST', url: 'https://api.github.com/repos/panjf2000/ants/issues/295/labels', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"labels":["enhancement"]}', request: {} }, event: { id: '6213980578', name: 'pull_request', payload: { action: 'synchronize', after: 'a92f6c8421c873b6194d6b7df8aaf454c1beaa24', before: '690300fd24588c0315e3f7c3b9d93e766ea8d1cd', number: 295, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/panjf2000/ants/issues/295/comments' }, commits: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295/commits' }, html: { href: 'https://github.com/panjf2000/ants/pull/295' }, issue: { href: 'https://api.github.com/repos/panjf2000/ants/issues/295' }, review_comment: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295/comments' }, self: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295' }, statuses: { href: 'https://api.github.com/repos/panjf2000/ants/statuses/a92f6c8421c873b6194d6b7df8aaf454c1beaa24' } }, active_lock_reason: null, additions: 52, assignee: null, assignees: [], author_association: 'NONE', auto_merge: null, base: { label: 'panjf2000:dev', ref: 'dev', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/panjf2000/ants/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.githu
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '6213980578', status: 403, response: { url: 'https://api.github.com/repos/panjf2000/ants/releases', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Sun, 17 Sep 2023 13:55:19 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '1CC7:55CB:8CA8A2:123248B:65070547', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '976', 'x-ratelimit-reset': '1694960602', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '24', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release' } }, request: { method: 'POST', url: 'https://api.github.com/repos/panjf2000/ants/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/295/merge","name":"Ants v2.8.1","tag_name":"v2.8.1","body":"## Changelogs\\n\\n- chore: bump up modules (#292)\\n\\n## 🛩 Enhancements\\n\\n- opt: fix the potential goroutine leak after calling `Release()` (#287)\\n\\n## 📚 Documentation\\n\\n- chore: add a new use case (#290)\\n\\n**Full Changelog**: https://github.com/panjf2000/ants/compare/v2.8.0...v2.8.1\\n\\nThanks to all these contributors: @ELchem, @POABOB and @panjf2000 for making this release possible.\\n","draft":true,"prerelease":false}', request: { retryCount: 1 } }, event: { id: '6213980578', name: 'pull_request', payload: { action: 'synchronize', after: 'a92f6c8421c873b6194d6b7df8aaf454c1beaa24', before: '690300fd24588c0315e3f7c3b9d93e766ea8d1cd', number: 295, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/panjf2000/ants/issues/295/comments' }, commits: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295/commits' }, html: { href: 'https://github.com/panjf2000/ants/pull/295' }, issue: { href: 'https://api.github.com/repos/panjf2000/ants/issues/295' }, review_comment: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295/comments' }, self: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295' }, statuses: { href: 'https://api.github.com/repos/panjf2000/ants/statuses/a92f6c8421c873b6194d6b7df8aaf454c1beaa24' } }, active_lock_reason: null, additions: 52, assignee: null, assignees: [], author_association: 'NONE', auto_merge: null,
update_release_draft
HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '6213980578', name: 'pull_request', payload: { action: 'synchronize', after: 'a92f6c8421c873b6194d6b7df8aaf454c1beaa24', before: '690300fd24588c0315e3f7c3b9d93e766ea8d1cd', number: 295, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/panjf2000/ants/issues/295/comments' }, commits: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295/commits' }, html: { href: 'https://github.com/panjf2000/ants/pull/295' }, issue: { href: 'https://api.github.com/repos/panjf2000/ants/issues/295' }, review_comment: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295/comments' }, self: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/295' }, statuses: { href: 'https://api.github.com/repos/panjf2000/ants/statuses/a92f6c8421c873b6194d6b7df8aaf454c1beaa24' } }, active_lock_reason: null, additions: 52, assignee: null, assignees: [], author_association: 'NONE', auto_merge: null, base: { label: 'panjf2000:dev', ref: 'dev', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/panjf2000/ants/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/panjf2000/ants/assignees{/user}', blobs_url: 'https://api.github.com/repos/panjf2000/ants/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/panjf2000/ants/branches{/branch}', clone_url: 'https://github.com/panjf2000/ants.git', collaborators_url: 'https://api.github.com/repos/panjf2000/ants/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/panjf2000/ants/comments{/number}', commits_url: 'https://api.github.com/repos/panjf2000/ants/commits{/sha}', compare_url: 'https://api.github.com/repos/panjf2000/ants/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/panjf2000/ants/contents/{+path}', contributors_url: 'https://api.github.com/repos/panjf2000/ants/contributors', created_at: '2018-05-19T01:13:38Z', default_branch: 'dev', delete_branch_on_merge: false, deployments_url: 'https://api.github.com/repos/panjf2000/ants/deployments', description: '🐜🐜🐜 ants is a high-performance and low-cost goroutine pool in Go./ ants 是一个高性能且低损耗的 goroutine 池。', disabled: false, downloads_url: 'https://api.github.com/repos/panjf2000/ants/downloads', events_url: 'https://api.github.com/repos/panjf2000/ants/events', fork: false, forks: 1257, forks_count: 1257, forks_url: 'https://api.github.com/repos/panjf2000/