Skip to content

Fix error when extracting examples (#2789) #16226

Fix error when extracting examples (#2789)

Fix error when extracting examples (#2789) #16226

Triggered via pull request June 20, 2024 15:27
Status Success
Total duration 17m 47s
Artifacts 10

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: 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

3 errors and 8 warnings
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Resource not accessible by integration { name: 'HttpError', id: '9600222484', status: 403, response: { url: 'https://api.github.com/repos/zio/zio-http/issues/2922/labels', status: 403, 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-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Thu, 20 Jun 2024 15:31:43 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'issues=write; pull_requests=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': 'FFC5:10781:1E4E61:1E8C7D:66744B5E', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4988', 'x-ratelimit-reset': '1718900846', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '12', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/zio/zio-http/issues/2922/labels', 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: '{"labels":["bug"]}', request: {} }, event: { id: '9600222484', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '~~@jdegoes this is a fix, but seems fishy.\r\n' + 'I debugged and realised, that we have in the changed line an alternator of type right empty. Which comes from the call of `outCodec`. This is correct, since the type of out before is empty. But the example value is wrapped in a left it needs to be unwrapped. Which only happens for an either alternator. Maybe you have an idea what could go wrong here?~~\r\n' + '\r\n' + '@jdegoes I found the actual issue. The `def |` only throw aways an incoming `HttpCodec.Halt`, but it needs to ignore it self if it is `HttpCodec.Halt` as well.\r\n' + '\r\n' + 'Question:\r\n' + 'Does it make more sense to check `self eq Halt` or override `def |` for `Halt`?\r\n' + ' \r\n' + 'fixes #2789\r\n' + '/claim #2789' } }, number: 2922, 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: 'h
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Resource not accessible by integration { name: 'HttpError', id: '9600222484', status: 403, response: { url: 'https://api.github.com/repos/zio/zio-http/releases', status: 403, 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-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Thu, 20 Jun 2024 15:31:45 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', 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': 'FFC7:221111:20674C:20A5A4:66744B61', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4986', 'x-ratelimit-reset': '1718900846', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '14', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release', status: '403' } }, 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/2922/merge","name":"v3.0.0 🌈","tag_name":"v3.0.0","body":"## Changes\\n\\n- Improve the Client\'s performance for non-stream bodies @kyri-petrou (#2919)\\n- Generate maps for additional properties in OpenAPI code gen (#2901) @987Nabil (#2921)\\n- Update test that was deliberately failing before JS regex fix @swoogles (#2917)\\n- Add `description` annotation content to docs for open API (#2722) @987Nabil (#2914)\\n- Modify JS client and fix tests @pablf (#2909)\\n- Fix ScalaJS regex and regression tests @pablf (#2912)\\n- Access latest route pattern when mapping route errors (#2823) @987Nabil (#2915)\\n- Fix memory leak in netty connection pool @kyri-petrou (#2907)\\n- Htmx attributes are unimportable @daharon (#2910)\\n- Avoid allocation of new path when resolving path ambiguities @kyri-petrou (#2904)\\n- Try all resolved IP addresses when client fails to connect @kyri-petrou (#2905)\\n- Fix for routes with different parameter names @kyri-petrou (#2903)\\n- fix: Ignore everything after closing boundary when parsing multi form data @seakayone (#2862)\\n- Fix OpenAPI security schema (#2813) @987Nabil (#2893)\\n- Implement streaming of multipart field data @kyri-petrou (#2899)\\n- Remove leading/trailing whitespaces from rendered authorization header @kyri-petrou (#2900)\\n- Simpler default `Endpoint#implement` (#2811) @987Nabil (#2894)\\n- fix: broken link in readme @ezhil56x (#2883)\\n- Use text over application media type for file serving; add charset @987Nabil (#2890)\\n- add tests for Routes.serveDirectory and Routes.serveResources @sullivan- (#2891)\\n- Endpoints as list in CodeGen to avoid duplicate key elimination (#2836) @987Nabil (#2892)\\n- Prefer user given content type over default generation (#2748) @987Nabil (#2896)\\n- Add `Server.serve` variant that accepts `Route` (#2805) @987Nabil (#2895)\\n- Fix Client manual interr
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
HttpError: Resource not accessible by integration 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) HttpError: Resource not accessible by integration 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: '9600222484', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '~~@jdegoes this is a fix, but seems fishy.\r\n' + 'I debugged and realised, that we have in the changed line an alternator of type right empty. Which comes from the call of `outCodec`. This is correct, since the type of out before is empty. But the example value is wrapped in a left it needs to be unwrapped. Which only happens for an either alternator. Maybe you have an idea what could go wrong here?~~\r\n' + '\r\n' + '@jdegoes I found the actual issue. The `def |` only throw aways an incoming `HttpCodec.Halt`, but it needs to ignore it self if it is `HttpCodec.Halt` as well.\r\n' + '\r\n' + 'Question:\r\n' + 'Does it make more sense to check `self eq Halt` or override `def |` for `Halt`?\r\n' + ' \r\n' + 'fixes #2789\r\n' + '/claim #2789' } }, number: 2922, 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/2922/comments' }, commits: { href: 'https://api.github.com/repos/zio/zio-http/pulls/2922/commits' }, html: { href: 'https://github.com/zio/zio-http/pull/2922' }, issue: { href: 'https://api.github.com/repos/zio/zio-http/issues/2922' }, 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/2922/comments' }, self: { href: 'https://api.github.com/repos/zio/zio-http/pulls/2922' }, statuses: { href: 'https://api.github.com/repos/zio/zio-http/statuses/9612d18914a0e0ad0cb2f4ef371566bba03e1972' } }, active_lock_reason: null, additions: 27, 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/r
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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, 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.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
Performance Benchmarks (PlainTextBenchmarkServer) (ubuntu-latest, 2.13.14, temurin@8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Performance Benchmarks (PlainTextBenchmarkServer) (ubuntu-latest, 2.13.14, temurin@8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Performance Benchmarks (SimpleEffectBenchmarkServer) (ubuntu-latest, 2.13.14, temurin@8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Performance Benchmarks (SimpleEffectBenchmarkServer) (ubuntu-latest, 2.13.14, temurin@8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
target-ubuntu-latest-2.12.19-graal_graalvm@17 Expired
61.9 MB
target-ubuntu-latest-2.12.19-graal_graalvm@21 Expired
61.9 MB
target-ubuntu-latest-2.12.19-temurin@17 Expired
61.9 MB
target-ubuntu-latest-2.12.19-temurin@21 Expired
61.9 MB
target-ubuntu-latest-2.13.14-graal_graalvm@21 Expired
73.5 MB
target-ubuntu-latest-2.13.14-temurin@21 Expired
73.5 MB
target-ubuntu-latest-3.3.3-graal_graalvm@17 Expired
58.8 MB
target-ubuntu-latest-3.3.3-graal_graalvm@21 Expired
58.7 MB
target-ubuntu-latest-3.3.3-temurin@17 Expired
58.7 MB
target-ubuntu-latest-3.3.3-temurin@21 Expired
58.7 MB