Add a test of a middleware providing a context to a Routes
#14353
ci.yml
on: pull_request
Matrix: Build and Test
Matrix: Jmh Publish
Matrix: Unsafe Scoverage
Matrix: Release Drafter
Matrix: Publish Artifacts
Annotations
13 errors
Release Drafter (ubuntu-latest, 2.13.10, temurin@8)
Resource not accessible by integration
{
name: 'HttpError',
id: '6562144018',
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: 'Wed, 18 Oct 2023 14:12:01 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',
'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': 'F849:7E16:13D257C:286FECC:652FE7B1',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '995',
'x-ratelimit-reset': '1697641914',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release'
}
},
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/2487/merge","name":"v3.0.0 🌈","tag_name":"v3.0.0","body":"## Changes\\n\\n- improve docs @TomTriple (#2482)\\n- Increase Buffer Size In Converting Async Body To Stream @adamgfraser (#2478)\\n- Remove Unnecessary Dependency @adamgfraser (#2477)\\n- Add test that uses authentication with context @987Nabil (#2476)\\n- Only Recover From Missing Data Errors In HttpCodec#optional @adamgfraser (#2475)\\n- Update sbt-github-actions to 0.17.0 @scala-steward (#2462)\\n- Update netty-codec-http, ... to 4.1.99.Final @scala-steward (#2463)\\n- Throw exception when reading from AsyncBody after the channel closed (#2399) @lackhoa (#2454)\\n- Add `md` interpolator to create Markdown based docs @987Nabil (#2452)\\n- Bugfix: WebSocketConfig.withForwardCloseFrames does not forward Close frames #2375 @webberaj81 (#2395)\\n- add static fileserver @TomTriple (#2450)\\n- fix: case-insensitive FormField headers @jgranstrom (#2460)\\n- added cookie helpers @TomTriple (#2439)\\n- Update zio, zio-streams, zio-test, ... to 2.0.18 @scala-steward (#2459)\\n- buildfix @jdegoes (#2461)\\n- Update sbt-shading to 2.1.3 @scala-steward (#2448)\\n- use richtext codec for content type @TomTriple (#2455)\\n- Update sbt to 1.9.6 @scala-steward (#2449)\\n- Update zio-schema, zio-schema-json, ... to 0.4.14 @scala-steward (#2436)\\n- Update sbt-scala3-migrate to 0.6.1 @scala-steward (#2435)\\n- add flash scope @TomTriple (#2451)\\n- add note regarding classical \\"redirect after post\\" situations @TomTriple (#2434)\\n- Add missing traces to the http package @jaliss (#2354)\\n- Update Handler.scala @ioleo (#2453)\\n- Do Not Continue Reading From Web Socket After Terminal Event @adamgfraser (#2441)\\n- Update netty-codec-http, ... to 4.1.98.Final @scala-steward (#2456)\\n- Fix stream delay 3 @guersam (#2458)\\n- align default values from HandlerAspect.redirect with Response.redirect @TomTriple (#2432)\\n- Update sbt-jmh to 0.4.6
|
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)
{
name: 'AggregateError',
event: {
id: '6562144018',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'e87850611f350cb41586765d822b4be9644f2191',
before: '553bc83504e61c7cf98c773772f4e92cd2b55d1f',
number: 2487,
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/2487/comments'
},
commits: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/2487/commits'
},
html: { href: 'https://github.com/zio/zio-http/pull/2487' },
issue: {
href: 'https://api.github.com/repos/zio/zio-http/issues/2487'
},
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/2487/comments'
},
self: {
href: 'https://api.github.com/repos/zio/zio-http/pulls/2487'
},
statuses: {
href: 'https://api.github.com/repos/zio/zio-http/statuses/e87850611f350cb41586765d822b4be9644f2191'
}
},
active_lock_reason: null,
additions: 15,
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: false,
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 s
|
Build and Test (ubuntu-latest, 2.13.10, temurin@8)
Process completed with exit code 1.
|
Build and Test (ubuntu-latest, 2.13.10, graal_21.1.0@11)
The job was canceled because "ubuntu-latest_2_13_10_tem" failed.
|
Build and Test (ubuntu-latest, 2.13.10, graal_21.1.0@11)
The operation was canceled.
|
Build and Test (ubuntu-latest, 2.12.18, temurin@8)
The job was canceled because "ubuntu-latest_2_13_10_tem" failed.
|
Build and Test (ubuntu-latest, 2.12.18, temurin@8)
The operation was canceled.
|
Build and Test (ubuntu-latest, 3.3.0, temurin@8)
The job was canceled because "ubuntu-latest_2_13_10_tem" failed.
|
Build and Test (ubuntu-latest, 3.3.0, temurin@8)
The operation was canceled.
|
Build and Test (ubuntu-latest, 3.3.0, graal_21.1.0@11)
The job was canceled because "ubuntu-latest_2_13_10_tem" failed.
|
Build and Test (ubuntu-latest, 3.3.0, graal_21.1.0@11)
The operation was canceled.
|
Build and Test (ubuntu-latest, 2.12.18, graal_21.1.0@11)
The job was canceled because "ubuntu-latest_2_13_10_tem" failed.
|
Build and Test (ubuntu-latest, 2.12.18, graal_21.1.0@11)
The operation was canceled.
|