Skip to content

[sbt-gen] sbt plugin for openapi to endpoints codegen #17337

[sbt-gen] sbt plugin for openapi to endpoints codegen

[sbt-gen] sbt plugin for openapi to endpoints codegen #17337

Triggered via pull request December 1, 2024 10:36
Status Failure
Total duration 9m 23s
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

22 errors and 4 warnings
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Resource not accessible by integration { name: 'HttpError', id: '12104677183', status: 403, response: { url: 'https://api.github.com/repos/zio/zio-http/issues/3225/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: 'Sun, 01 Dec 2024 10:36:41 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': 'F045:46C41:5FE9D98:61DD43E:674C3C39', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4979', 'x-ratelimit-reset': '1733052685', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '21', '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/3225/labels', 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: '{"labels":["maintenance"]}', request: {} }, event: { id: '12104677183', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '/fixes #3180\r\n' + '/claim #3180\r\n' + '\r\n' + '* based on a plugin I collaborated with @runtologist on, in another closed repo\r\n' + '* automatic mode integrated in regular `~compile` continuous compilation mode, manual trigger via direct task call\r\n' + '* openapi files read from `src/main/oapi/**`\r\n' + '* package prefix determined by relative path under `/src/main/oapi/` => allows for multiple different spec files in different packages in a conventional and expected manner\r\n' + '* sbt config to control codegen\r\n' + '* using sbt caching mechanism to avoid re-generating sources from unchanged spec files on every compile\r\n' + '\r\n' + 'known gaps:\r\n' + '* for some (currently unknown) reason, using `.dependsOn(…)` does not work, and I was forced to use `zio-http-gen` as an external dependency\r\n' + '* only "static" openapi spec files are supported as of this first commit. Ideally, we should allow for dynamic generation of spec files like any other generated sources.\r\n' + '* collisions of generated sources from different spec files is not checked (one will override the other).\r\n' + '* only supporting `Compile` configuration (is any other configuration really needed anyway?)' } }, number: 3225, 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/
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Resource not accessible by integration { name: 'HttpError', id: '12104677183', 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: 'Sun, 01 Dec 2024 10:36: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': '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': 'F047:1F40F3:7F757F4:81F8CE4:674C3C3B', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4978', 'x-ratelimit-reset': '1733052685', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '22', '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.18.0 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/3225/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-petrou (#3143)\\n- fix OpenAPI code gen not quoting arbitrary header names @geeeezmo (#3136)\\n\\n## 🧰 Maintenance\\n\\n- U
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) 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: '12104677183', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '/fixes #3180\r\n' + '/claim #3180\r\n' + '\r\n' + '* based on a plugin I collaborated with @runtologist on, in another closed repo\r\n' + '* automatic mode integrated in regular `~compile` continuous compilation mode, manual trigger via direct task call\r\n' + '* openapi files read from `src/main/oapi/**`\r\n' + '* package prefix determined by relative path under `/src/main/oapi/` => allows for multiple different spec files in different packages in a conventional and expected manner\r\n' + '* sbt config to control codegen\r\n' + '* using sbt caching mechanism to avoid re-generating sources from unchanged spec files on every compile\r\n' + '\r\n' + 'known gaps:\r\n' + '* for some (currently unknown) reason, using `.dependsOn(…)` does not work, and I was forced to use `zio-http-gen` as an external dependency\r\n' + '* only "static" openapi spec files are supported as of this first commit. Ideally, we should allow for dynamic generation of spec files like any other generated sources.\r\n' + '* collisions of generated sources from different spec files is not checked (one will override the other).\r\n' + '* only supporting `Compile` configuration (is any other configuration really needed anyway?)' } }, number: 3225, 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/3225/comments' }, commits: { href: 'https://api.github.com/repos/zio/zio-http/pulls/3225/commits' }, html: { href: 'https://github.com/zio/zio-http/pull/3225' }, issue: { href: 'https://api.github.com/repos/zio/zio-http/issues/3225' }, 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/3225/comments' }, self: { href: 'https://api.github.com/repos/zio/zio-http/pulls/3225' }, statuses: { href: 'https://api.github.com/repos/zio/zio-http/statuses/96bf1f7231de774827ff9879544088143b1d38ac' } }, active_lock_reason: null, additions: 322, assignee: null, assignees: [], auth
Build and Test (ubuntu-latest, 2.12.19, temurin@21)
Process completed with exit code 1.
Build and Test (ubuntu-latest, 3.3.3, temurin@21)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 2.13.14, temurin@17)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 3.3.3, graal_graalvm@17)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 3.3.3, temurin@17)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 3.3.3, graal_graalvm@21)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 3.3.3, graal_graalvm@21)
The operation was canceled.
Build and Test (ubuntu-latest, 2.12.19, graal_graalvm@21)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 2.12.19, graal_graalvm@21)
The operation was canceled.
Build and Test (ubuntu-latest, 2.13.14, graal_graalvm@21)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 2.13.14, graal_graalvm@21)
The operation was canceled.
Build and Test (ubuntu-latest, 2.12.19, graal_graalvm@17)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 2.12.19, graal_graalvm@17)
The operation was canceled.
Build and Test (ubuntu-latest, 2.13.14, graal_graalvm@17)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 2.13.14, graal_graalvm@17)
The operation was canceled.
Build and Test (ubuntu-latest, 2.12.19, temurin@17)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 2.12.19, temurin@17)
The operation was canceled.
Build and Test (ubuntu-latest, 2.13.14, temurin@21)
The job was canceled because "ubuntu-latest_2_12_19_t_2" failed.
Build and Test (ubuntu-latest, 2.13.14, temurin@21)
The operation was canceled.
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.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.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@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