Optimize zio.http.codec.internal.EncoderDecoder.Single.decodeBody
code
#17261
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11903904303',
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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 19 Nov 2024 00:42:54 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': '087E:365EF1:1C875E8:37AD988:673BDF0E',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4893',
'x-ratelimit-reset': '1731978792',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '107',
'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',
status: '422'
}
},
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/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/3210/merge","name":"v3.0.2 🌈","tag_name":"v3.0.2","body":"## Changes\\n\\n- Update ZIO to 2.1.11 @kyri-petrou (#3190)\\n- Install sbt in workflows @987Nabil (#3192)\\n- Simple default layer for test server (#3094) @987Nabil (#3161)\\n- Fix `Scope` usage in `ServerSentEventEndpointSpec` @kyri-petrou (#3182)\\n- Fix multiple issues with docs in generating OpenAPI (#3132) @987Nabil (#3147)\\n- Allow up to 22 error for `Endpoint#outErrors` (#3130) @987Nabil (#3148)\\n- Fix OpenAPIGen for opt payloads @987Nabil (#3181)\\n- Sandbox routes later \\\\& don\'t pass handled responses into error handlers @mschuwalow (#3146)\\n- Encode opt query params correctly in open api (#3127) @987Nabil (#3152)\\n- Add more options to the SSL configuration @varshith257 (#3139)\\n- Special case encode optional for HttpCodec.Content (#3144) @987Nabil (#3167)\\n- Ignore empty appending to RoutePattern and render empty as slash (#3110) @987Nabil (#3121)\\n- [gen] verify issue #3077 is fixed @hochgi (#3178)\\n- Issue 3165: Additional PR tasks @scottweaver (#3179)\\n- Issue 3165: Fix Forwarded Header rendering @scottweaver (#3166)\\n- Add docs for ErrorResponseConfig (#2198) @987Nabil (#3175)\\n- Make `JsonSchema.fromSerializableSchema` package private @guersam (#3170)\\n- Changes the default Endpoint.outStream[X] encoding to produce a JSON array @gregor-rayman (#3122)\\n- Fix ScalaJS Compilation by Removing JVM-specific java.util.Objects References in PathCodecPlatformSpecific @asr2003 (#3155)\\n- Fix #3101 Code gen schema import missing @nafg (#3153)\\n- Fix #3103 Only last response is generated into Endpoint code @nafg (#3151)\\n- Optimizations for request execution happy path @kyri-petrou (#3143)\\n- fix OpenAPI code gen not quoting
|
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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11903904303',
name: 'pull_request',
payload: {
action: 'opened',
number: 3210,
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/3210/comments'
},
commits: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/3210/commits'
},
html: { href: 'https://github.com/zio/zio-http/pull/3210' },
issue: {
href: 'https://api.github.com/repos/zio/zio-http/issues/3210'
},
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/3210/comments'
},
self: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/3210'
},
statuses: {
href: 'https://api.github.com/repos/zio/zio-http/statuses/1b5359049427d51b56bf981f3127e9f8f311c297'
}
},
active_lock_reason: null,
additions: 132,
assignee: null,
assignees: [],
author_association: 'MEMBER',
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 scalable, correct, and efficient HTTP clients and servers',
disabled: false,
downloads_url:
|
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading