Skip to content

bug: fix the last error being missed in ReleaseTimeout() for multi-pool #66

bug: fix the last error being missed in ReleaseTimeout() for multi-pool

bug: fix the last error being missed in ReleaseTimeout() for multi-pool #66

Triggered via pull request June 18, 2024 04:02
Status Success
Total duration 13s
Artifacts

release-drafter.yml

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

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '9558765657', status: 422, response: { url: 'https://api.github.com/repos/panjf2000/ants/releases/148484280', status: 422, 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-length': '210', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Tue, 18 Jun 2024 04:03:08 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 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': '50EF:23F8EF:287B36D:44E4756:667106FC', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4994', 'x-ratelimit-reset': '1718686986', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '6', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release', status: '422' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/panjf2000/ants/releases/148484280', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changelogs\\n\\n- ci: replace macos-latest with macos-12 for go1.13 (#326)\\n\\n## 🚀 Features\\n\\n- minor: v2.10.0 (#331)\\n\\n## 🛩 Enhancements\\n\\n- minor: v2.10.0 (#331)\\n- opt: speed up ReleaseTimeout() for multi-pool (#332)\\n- opt: make ReleaseTimeout() more efficient in waiting workers to exit (#329)\\n- opt: calculate the interval for ReleaseTimeout() based on a default count (#327)\\n- opt: increase the interval of waiting in ReleaseTimeout() (#325)\\n- bug: return error before creating multi pools if lbs is invalid to avoid leaks (#317)\\n\\n## 🐛 Bugfixes\\n\\n- bug: alleviate the data race between Release() and Reboot() (#333)\\n- bug: alleviate the data race between Release() and Reboot() (#330)\\n- patch: v2.9.1 (#318)\\n- bug: return error before creating multi pools if lbs is invalid to avoid leaks (#317)\\n\\n## 📚 Documentation\\n\\n- minor: v2.10.0 (#331)\\n- patch: v2.9.1 (#318)\\n- doc: add MultiPool \\\\& MultiPoolFunc example code and update READMEs. (#311)\\n\\n## 🗃 Misc\\n\\n- doc: add MultiPool \\\\& MultiPoolFunc example code and update READMEs. (#311)\\n- chore: add new benchmark tests (#309)\\n\\n**Full Changelog**: https://github.com/panjf2000/ants/compare/v2.9.0...v2.10.0\\n\\nThanks to all these contributors: @POABOB, @akshaynanavare and @panjf2000 for making this release possible.\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Ants v2.10.0","tag_name":"v2.10.0","target_commitish":"refs/pull/334/merge"}', request: {} }, event: { id: '9558765657', name: 'pull_request', payload: { action: 'opened', number: 334, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/panjf2000/ants/issues/334/comment
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:8462:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '9558765657', name: 'pull_request', payload: { action: 'opened', number: 334, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/panjf2000/ants/issues/334/comments' }, commits: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/334/commits' }, html: { href: 'https://github.com/panjf2000/ants/pull/334' }, issue: { href: 'https://api.github.com/repos/panjf2000/ants/issues/334' }, review_comment: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/334/comments' }, self: { href: 'https://api.github.com/repos/panjf2000/ants/pulls/334' }, statuses: { href: 'https://api.github.com/repos/panjf2000/ants/statuses/03cee036ed54aa7296b9797d15bf218645ca068b' } }, active_lock_reason: null, additions: 6, assignee: null, assignees: [], author_association: 'OWNER', 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.', 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: 1330, forks_count: 1330, forks_url: 'https://api.github.com/repos/panjf2000/ants/forks', full_name: 'panjf2000/ants', git_commits_url: 'https://api.github.com/repos/panjf2000/ants/git/commits{/sha}', git_refs_url: 'https://api.github.com/repos/panjf2000/ants/git/refs{/sha}', git_tags_url: 'https://api.github.com/repos/panjf2000/ants/git/tags{/sha}', git_url: 'git://github.com/panjf2000/ants.git', has_discussions: true, has_downlo