Refactor ServerRunner to use Resource, fix unsafe .allocated cases #11876
Annotations
2 errors and 4 warnings
Prepare release notes
Resource not accessible by integration
{
name: 'HttpError',
id: '12915427927',
status: 403,
response: {
url: 'https://api.github.com/repos/softwaremill/tapir/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',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 22 Jan 2025 19:23:47 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': '0481:160DA6:1098974:2112F5A:679145C3',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4982',
'x-ratelimit-reset': '1737577410',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '18',
'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/softwaremill/tapir/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.18.0 (linux; x64)',
'x-github-delivery': '12915427927',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/4267/merge","name":"","tag_name":"","body":"## What’s Changed\\n\\n* Example for use of CSRF token to secure endpoint (#4274) @amorfis\\n* Update scalafmt-core to 3.8.5 (#4276) @softwaremill-ci\\n\\n## Dependency updates\\n\\n* Update cats-core, cats-laws to 2.13.0 (#4281) @softwaremill-ci\\n* Update sbt-assembly to 2.3.1 (#4280) @softwaremill-ci\\n* Update sttp-mock-server, ... to 1.11.13 (#4278) @softwaremill-ci\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '12915427927',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'd326dc415c70b2e1cb5695f6c844a49cfc37f0e2',
before: '5ce6acdda44fedebc015c15d02fe5917f6c9f36c',
number: 4267,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/322765?v=4',
description: 'We love Scala, Akka, Cassandra and Kafka. We help teams get up to speed with functional programming, introduce event sourcing or define streaming data pipelines',
events_url: 'https://api.github.com/orgs/softwaremill/events',
hooks_url: 'https://api.github.com/orgs/softwaremill/hooks',
id: 322765,
issues_url: 'https://api.github.com/orgs/softwaremill/issues',
login: 'softwaremill',
members_url: 'https://api.github.com/orgs/softwaremill/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjMyMjc2NQ==',
public_members_url: 'https://api.github.com/orgs/softwaremill/public_members{/member}',
repos_url: 'https://api.github.com/orgs/softwaremill/repos',
url: 'https://api.github.com/orgs/softwaremill'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/softwaremill/tapir/issues/4267/comments'
},
commits: {
|
Prepare release notes
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:61885:18)
{
name: 'AggregateError',
event: {
id: '12915427927',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'd326dc415c70b2e1cb5695f6c844a49cfc37f0e2',
before: '5ce6acdda44fedebc015c15d02fe5917f6c9f36c',
number: 4267,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/322765?v=4',
description: 'We love Scala, Akka, Cassandra and Kafka. We help teams get up to speed with functional programming, introduce event sourcing or define streaming data pipelines',
events_url: 'https://api.github.com/orgs/softwaremill/events',
hooks_url: 'https://api.github.com/orgs/softwaremill/hooks',
id: 322765,
issues_url: 'https://api.github.com/orgs/softwaremill/issues',
login: 'softwaremill',
members_url: 'https://api.github.com/orgs/softwaremill/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjMyMjc2NQ==',
public_members_url: 'https://api.github.com/orgs/softwaremill/public_members{/member}',
repos_url: 'https://api.github.com/orgs/softwaremill/repos',
url: 'https://api.github.com/orgs/softwaremill'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/softwaremill/tapir/issues/4267/comments'
},
commits: {
href: 'https://api.github.com/repos/softwaremill/tapir/pulls/4267/commits'
},
html: { href: 'https://github.com/softwaremill/tapir/pull/4267' },
issue: {
href: 'https://api.github.com/repos/softwaremill/tapir/issues/4267'
},
review_comment: {
href: 'https://api.github.com/repos/softwaremill/tapir/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/softwaremill/tapir/pulls/4267/comments'
},
self: {
href: 'https://api.github.com/repos/softwaremill/tapir/pulls/4267'
},
statuses: {
href: 'https://api.github.com/repos/softwaremill/tapir/statuses/d326dc415c70b2e1cb5695f6c844a49cfc37f0e2'
}
},
active_lock_reason: null,
additions: 152,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'softwaremill:master',
ref: 'master',
repo: {
allow_auto_merge: false,
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/softwaremill/tapir/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/softwaremill/tapir/assignees{/user}',
blobs_url: 'https://api.github.com/repos/softwaremill/tapir/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/softwaremill/tapir/branches{/branch}',
clone_url: 'https://github.com/softwaremill/tapir.git',
collaborators_url: 'https://api.github.com/repos/softwaremill/tapir/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/softwaremill/tapir/comments{/number}',
commits_url: 'https://api.github.com/repos/softwaremill/tapir/commits{/sha}',
compare_url: 'https://api.github.com/repos/softwaremill/tapir/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/softwaremill/tapir/contents/{+path}',
contributors_url: 'https://api.github.com/repos/softwaremill/tapir/contributors',
|
Prepare release notes
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
Prepare release notes
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
Prepare release notes
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
Prepare release notes
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
Set up job
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Checkout
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run sbt/setup-sbt@v1
2s
2s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Set up JDK
4s
4s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install sam cli
6s
6s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install NPM
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run npm --version
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install AWS CDK
2s
2s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install libidn2-dev libcurl3-dev
16s
16s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install scala-cli
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Enable Loom-specific modules
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Compile
2m 12s
2m 12s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Compile documentation
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Verify that examples compile using Scala CLI
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Test
4m 48s
4m 48s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Test OpenAPI codegen
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Test
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Test
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Test
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/upload-artifact@v4
4s
4s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Prepare release notes
2s
2s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Install NPM
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Set up JDK
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run sbt/setup-sbt@v1
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Checkout
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading