Implement codec error handling #17244
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
3 errors and 7 warnings
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Resource not accessible by integration
{
name: 'HttpError',
id: '11759643350',
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: 'Sat, 09 Nov 2024 21:39:22 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': 'B09E:2378A0:2FAE77D:5D08BFA:672FD68A',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4993',
'x-ratelimit-reset': '1731191960',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '7',
'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/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/3204/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 arbitrary header names @geeeezmo (#3136)\\n\\n## 🧰 Maintenance\\n\\n- Update README.md @zio-assistant (#3145)\\n","draft":tr
|
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 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: '11759643350',
name: 'pull_request',
payload: {
action: 'opened',
number: 3204,
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/3204/comments'
},
commits: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/3204/commits'
},
html: { href: 'https://github.com/zio/zio-http/pull/3204' },
issue: {
href: 'https://api.github.com/repos/zio/zio-http/issues/3204'
},
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/3204/comments'
},
self: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/3204'
},
statuses: {
href: 'https://api.github.com/repos/zio/zio-http/statuses/f75748c55cd360bb41b52a086f8221f2460f6be4'
}
},
active_lock_reason: null,
additions: 96,
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 scalable, correct, and efficient HTTP clients and servers',
disabled: false,
downloads_url: 'https://api.github.com/repos/zio/zio-http
|
Mima Check (ubuntu-latest, 2.13.10, temurin@21)
Process completed with exit code 1.
|
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
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/
|
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.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, 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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
target-ubuntu-latest-2.12.19-graal_graalvm@17
|
66.6 MB |
|
target-ubuntu-latest-2.12.19-graal_graalvm@21
|
66.6 MB |
|
target-ubuntu-latest-2.12.19-temurin@17
|
66.6 MB |
|
target-ubuntu-latest-2.12.19-temurin@21
|
66.6 MB |
|
target-ubuntu-latest-2.13.14-graal_graalvm@17
|
78.4 MB |
|
target-ubuntu-latest-2.13.14-graal_graalvm@21
|
78.3 MB |
|
target-ubuntu-latest-2.13.14-temurin@17
|
78.4 MB |
|
target-ubuntu-latest-2.13.14-temurin@21
|
78.3 MB |
|
target-ubuntu-latest-3.3.3-graal_graalvm@17
|
63 MB |
|
target-ubuntu-latest-3.3.3-graal_graalvm@21
|
63 MB |
|
target-ubuntu-latest-3.3.3-temurin@17
|
63 MB |
|
target-ubuntu-latest-3.3.3-temurin@21
|
63 MB |
|