feat: add MultiPool and MultiPoolWithFunc #32
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
release-drafter.yml
on: pull_request
update_release_draft
8s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6938501611',
status: 422,
response: {
url: 'https://api.github.com/repos/panjf2000/ants/releases',
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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 21 Nov 2023 02:35:16 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; contents=write,workflows=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': '5CB7:0567:847790:897CAC:655C1764',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '994',
'x-ratelimit-reset': '1700537712',
'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#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.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/305/merge","name":"Ants v2.8.1","tag_name":"v2.8.1","body":"## Changelogs\\n\\n- chore: enable auto-labeler for PRs of updating semantic version (#298)\\n- chore: bump up modules (#292)\\n\\n## 🛩 Enhancements\\n\\n- refactor: enforce a few minor optimization in code (#302)\\n- refactor: refine the code in `retrieveWorker` to make it more readable (#295)\\n- opt: fix the potential goroutine leak after calling `Release()` (#287)\\n\\n## 🐛 Bugfixes\\n\\n- patch: v2.8.2 (#299)\\n- bug: return the error from Pool.Submit/PoolWithFunc.Invoke accordingly (#297)\\n\\n## 📚 Documentation\\n\\n- chore: eliminate some useless content (#303)\\n- patch: v2.8.2 (#299)\\n- chore: add a new use case (#290)\\n\\n## 🗃 Misc\\n\\n- chore: eliminate some useless content (#303)\\n- chore: enable more title matchers for auto-labelers of bug and new feature (#300)\\n- chore: clean up some comments and CI yaml (#296)\\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,"make_latest":"true"}',
request: {}
},
event: {
id: '6938501611',
name: 'pull_request',
payload: {
action: 'opened',
number: 305,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/panjf2000/ants/issues/305/comments'
},
commits: {
href: 'https://api.github.com/repos/panjf2000/ants/pulls/305/commits'
},
html: { href: 'https://github.com/panjf2000/ants/pull/305' },
issue: {
href: 'https://api.github.com/repos/panjf2000/ants/issues/305'
},
revi
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
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: '6938501611',
name: 'pull_request',
payload: {
action: 'opened',
number: 305,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/panjf2000/ants/issues/305/comments'
},
commits: {
href: 'https://api.github.com/repos/panjf2000/ants/pulls/305/commits'
},
html: { href: 'https://github.com/panjf2000/ants/pull/305' },
issue: {
href: 'https://api.github.com/repos/panjf2000/ants/issues/305'
},
review_comment: {
href: 'https://api.github.com/repos/panjf2000/ants/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/panjf2000/ants/pulls/305/comments'
},
self: {
href: 'https://api.github.com/repos/panjf2000/ants/pulls/305'
},
statuses: {
href: 'https://api.github.com/repos/panjf2000/ants/statuses/ac6c136c6a0e9c1a8a99ff499887b81d2e279f03'
}
},
active_lock_reason: null,
additions: 526,
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./ 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: 1273,
forks_count: 1273,
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: tru
|