Skip to content

Optimise zio.http.Response.fromServerSentEvents #17472

Optimise zio.http.Response.fromServerSentEvents

Optimise zio.http.Response.fromServerSentEvents #17472

Triggered via pull request December 14, 2024 14:56
Status Success
Total duration 2h 14m 10s
Artifacts

ci.yml

on: pull_request
Matrix: Build and Test
Matrix: Jmh CachedDateHeaderBenchmark
Matrix: Jmh ClientBenchmark
Matrix: Jmh CookieDecodeBenchmark
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
Matrix: Cache Jmh benchmarks
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 23 warnings
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '12330820473', 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: 'Sat, 14 Dec 2024 16:54:22 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': '300E:28B7C2:1859D77:3073969:675DB83E', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4961', 'x-ratelimit-reset': '1734198439', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '39', '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/3238/merge","name":"v3.0.2 🌈","tag_name":"v3.0.2","body":"## Changes\\n\\n- Fix build pipeline @987Nabil (#3253)\\n- ZClient enhancements for URL and path @otobrglez (#3227)\\n- Optimize `zio.http.codec.internal.EncoderDecoder.Single.decodeBody` code @guizmaii (#3211)\\n- Optimise `zio.http.Body.FileBody.asStream` code @guizmaii (#3215)\\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 jav
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: '12330820473', name: 'pull_request', payload: { action: 'synchronize', after: 'c0bf0d08f41bfc64230d3bcb8f1752992278f602', before: '8327451eace6c5b4ac57c35e65fc411deae8b54b', number: 3238, 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/3238/comments' }, commits: { href: 'https://api.github.com/repos/zio/zio-http/pulls/3238/commits' }, html: { href: 'https://github.com/zio/zio-http/pull/3238' }, issue: { href: 'https://api.github.com/repos/zio/zio-http/issues/3238' }, 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/3238/comments' }, self: { href: 'https://api.github.com/repos/zio/zio-http/pulls/3238' }, statuses: { href: 'https://api.github.com/repos/zio/zio-http/statuses/c0bf0d08f41bfc64230d3bcb8f1752992278f602' } }, active_lock_reason: null, additions: 1, 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 buildi
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mima Check (ubuntu-latest, 2.13.10, temurin@21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unsafe Scoverage (ubuntu-latest, 2.13.14, temurin@8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (ubuntu-latest, 2.12.19, graal_graalvm@21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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, 2.12.19, temurin@21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (ubuntu-latest, 3.3.3, graal_graalvm@21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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, 2.12.19, temurin@17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (ubuntu-latest, 3.3.3, graal_graalvm@17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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, 3.3.3, temurin@21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Performance Benchmarks (PlainTextBenchmarkServer) (ubuntu-latest, 2.13.14, temurin@8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (ubuntu-latest, 3.3.3, temurin@17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (ubuntu-latest, 2.13.14, graal_graalvm@21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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, temurin@21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (ubuntu-latest, 2.13.14, graal_graalvm@17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
Build and Test (ubuntu-latest, 2.13.14, temurin@17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636