Content-Length, chunked transfer encoding and Host header improvements #14642
Annotations
2 errors
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7303097858',
status: 422,
response: {
url: 'https://api.github.com/repos/zio/zio-http/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: 'Fri, 22 Dec 2023 19:07:15 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': 'A8C7:1341:64EBB86:D1F06C8:6585DE63',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '935',
'x-ratelimit-reset': '1703272529',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '65',
'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/zio/zio-http/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/2563/merge","name":"v3.0.0 🌈","tag_name":"v3.0.0","body":"## Changes\\n\\n- CodeGenSpec is flaky @vigoo (#2564)\\n- Allow HandlerAspect.customAuthProvidingZIO To Fail With User Specified Response @adamgfraser (#2493)\\n- Add Flash, Flash.Message and Flash.Backend @TomTriple (#2481)\\n- chore: support mtls settings @rajcspsg (#2443)\\n- OpenAPI to Endpoint code gen (#1520) @987Nabil (#2562)\\n- Add prefix method to `Route`/`Routes` @987Nabil (#2547)\\n- sourcing maxInitialLineLength through the config and propagating it to netty\'s configuration @hdriviere (#2561)\\n- Add transform methods on `Endpoint`, for input, output and errors @987Nabil (#2551)\\n- Don\'t flatten nested case classes for JsonSchema @987Nabil (#2558)\\n- Middleware for adding swagger ui endpoint (#2494) @987Nabil (#2556)\\n- Implement Routes#run and Route#run @adamgfraser (#2552)\\n- Add docs for serving static files @zalbia (#2554)\\n- Implement Routes#apply @adamgfraser (#2550)\\n- #2541 Fix bug where the OpenAPI generator fails to generate multiple methods for the same path. @daharon (#2542)\\n- Limit Scheme.Custom construction to calling decode @987Nabil (#2533)\\n- Support URL relative resolution, and use it in a ZClientAspect to follow redirects @jgulotta (#2537)\\n- Error handling methods on `Route`/`Routes` that can access `Request` @987Nabil (#2546)\\n- feat: Allow dynamic schema in openapi @runtologist (#2543)\\n- fix: use @casename annotations for openapi enums @runtologist (#2544)\\n\\n## 🧰 Maintenance\\n\\n- Update scala versions @vigoo (#2530)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '7303097858',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a694478035
|
Run release-drafter/release-drafter@v5
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: '7303097858',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a6944780356abc32689b0c891c0bb71488d0756f',
before: 'f9bccf62c12d533cf4cb778a00f4ed14600d74c3',
number: 2563,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/49655448?v=4',
description: 'ZIO — Real World Functional Programming',
events_url: 'https://api.github.com/orgs/zio/events',
hooks_url: 'https://api.github.com/orgs/zio/hooks',
id: 49655448,
issues_url: 'https://api.github.com/orgs/zio/issues',
login: 'zio',
members_url: 'https://api.github.com/orgs/zio/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ5NjU1NDQ4',
public_members_url: 'https://api.github.com/orgs/zio/public_members{/member}',
repos_url: 'https://api.github.com/orgs/zio/repos',
url: 'https://api.github.com/orgs/zio'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/zio/zio-http/issues/2563/comments'
},
commits: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/2563/commits'
},
html: { href: 'https://github.com/zio/zio-http/pull/2563' },
issue: {
href: 'https://api.github.com/repos/zio/zio-http/issues/2563'
},
review_comment: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/2563/comments'
},
self: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/2563'
},
statuses: {
href: 'https://api.github.com/repos/zio/zio-http/statuses/a6944780356abc32689b0c891c0bb71488d0756f'
}
},
active_lock_reason: null,
additions: 241,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'zio:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/zio/zio-http/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/zio/zio-http/assignees{/user}',
blobs_url: 'https://api.github.com/repos/zio/zio-http/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/zio/zio-http/branches{/branch}',
clone_url: 'https://github.com/zio/zio-http.git',
collaborators_url: 'https://api.github.com/repos/zio/zio-http/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/zio/zio-http/comments{/number}',
commits_url: 'https://api.github.com/repos/zio/zio-http/commits{/sha}',
compare_url: 'https://api.github.com/repos/zio/zio-http/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/zio/zio-http/contents/{+path}',
contributors_url: 'https://api.github.com/repos/zio/zio-http/contributors',
created_at: '2021-02-17T17:16:23Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/zio/zio-http/deployments',
description: 'A next-generation Scala framework for building
|
The logs for this run have expired and are no longer available.
Loading