Optimize zio.http.codec.internal.EncoderDecoder.Single.decodeBody
code
#17314
ci.yml
on: pull_request
Matrix: Build and Test
Matrix: Jmh CachedDateHeaderBenchmark
Matrix: Jmh ClientBenchmark
Matrix: Jmh EndpointBenchmark
Matrix: Jmh HttpCollectEval
Matrix: Jmh HttpCombineEval
Matrix: Jmh HttpNestedFlatMapEval
Matrix: Jmh HttpRouteTextPerf
Matrix: Jmh ProbeContentTypeBenchmark
Matrix: Jmh SchemeDecodeBenchmark
Matrix: Jmh ServerInboundHandlerBenchmark
Matrix: Jmh UtilBenchmark
Matrix: Mima Check
Matrix: Performance Benchmarks (SimpleEffectBenchmarkServer)
Matrix: Performance Benchmarks (PlainTextBenchmarkServer)
Matrix: Unsafe Scoverage
Matrix: Release Drafter
Matrix: Publish Artifacts
Annotations
2 errors and 6 warnings
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12025960699',
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, 26 Nov 2024 08:49:14 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': '0F86:2DD344:1A375CF:336A3B1:67458B8A',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4924',
'x-ratelimit-reset': '1732612954',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '76',
'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.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/3211/merge","name":"v3.0.2 🌈","tag_name":"v3.0.2","body":"## Changes\\n\\n- Fix \\"ZIO.fail(throw\\" @andrzejressel (#3220)\\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-
|
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
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: '12025960699',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '6ba23b30f738604b3509f923f9bae1ec53083459',
before: '476ae323c2ab2bba4d80eb8fc545c96ca5ad0d53',
number: 3211,
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/3211/comments'
},
commits: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/3211/commits'
},
html: { href: 'https://github.com/zio/zio-http/pull/3211' },
issue: {
href: 'https://api.github.com/repos/zio/zio-http/issues/3211'
},
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/3211/comments'
},
self: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/3211'
},
statuses: {
href: 'https://api.github.com/repos/zio/zio-http/statuses/6ba23b30f738604b3509f923f9bae1ec53083459'
}
},
active_lock_reason: null,
additions: 9,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/1193670?v=4',
events_url: 'https://api.github.com/users/guizmaii/events{/privacy}',
followers_url: 'https://api.github.com/users/guizmaii/followers',
following_url: 'https://api.github.com/users/guizmaii/following{/other_user}',
gists_url: 'https://api.github.com/users/guizmaii/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/guizmaii',
id: 1193670,
login: 'guizmaii',
node_id: 'MDQ6VXNlcjExOTM2NzA=',
organizations_url: 'https://api.github.com/users/guizmaii/orgs',
received_events_url: 'https://api.github.com/users/guizmaii/received_events',
repos_url: 'https://api.github.com/users/guizmaii/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/guizmaii/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/guizmaii/subscriptions',
type: 'User',
url: 'https://api.github.com/users/guizmaii',
user_view_type: 'public'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/1193670?v=4',
events_url: 'https://api.github.com/users/guizmaii/events{/privacy}',
followers_url: 'https://api.github.com/users/guizmaii/followers',
following_url: 'https://api.github.com/users/guizmaii/following{/other_user}',
gists_url: 'https://api.github.com/users/guizmaii/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/guizmaii',
id: 11936
|
Build and Test (ubuntu-latest, 2.12.19, graal_graalvm@21)
Please remove "components: 'native-image'" from your workflow file. It is automatically included since GraalVM for JDK 17: https://github.com/oracle/graal/pull/5995
|
Build and Test (ubuntu-latest, 2.12.19, graal_graalvm@17)
This build uses the last update of Oracle GraalVM for JDK 17 under the GFTC. More details: https://github.com/marketplace/actions/github-action-for-graalvm#notes-on-oracle-graalvm-for-jdk-17
|
Build and Test (ubuntu-latest, 3.3.3, graal_graalvm@21)
Please remove "components: 'native-image'" from your workflow file. It is automatically included since GraalVM for JDK 17: https://github.com/oracle/graal/pull/5995
|
Build and Test (ubuntu-latest, 3.3.3, graal_graalvm@17)
This build uses the last update of Oracle GraalVM for JDK 17 under the GFTC. More details: https://github.com/marketplace/actions/github-action-for-graalvm#notes-on-oracle-graalvm-for-jdk-17
|
Build and Test (ubuntu-latest, 2.13.14, graal_graalvm@21)
Please remove "components: 'native-image'" from your workflow file. It is automatically included since GraalVM for JDK 17: https://github.com/oracle/graal/pull/5995
|
Build and Test (ubuntu-latest, 2.13.14, graal_graalvm@17)
This build uses the last update of Oracle GraalVM for JDK 17 under the GFTC. More details: https://github.com/marketplace/actions/github-action-for-graalvm#notes-on-oracle-graalvm-for-jdk-17
|