Skip to content

Add unit tests and integration tests #151

Add unit tests and integration tests

Add unit tests and integration tests #151

Triggered via pull request April 19, 2024 06:09
@iawia002iawia002
synchronize #63
test
Status Success
Total duration 13s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
3s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '8749202596', status: 422, response: { url: 'https://api.github.com/repos/iawia002/wacker/releases/150314002', status: 422, 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-length': '195', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Fri, 19 Apr 2024 06:10:08 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 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': '0446:349A0A:A01ED86:101BCC22:66220AC0', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4975', 'x-ratelimit-reset': '1713508550', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '25', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/iawia002/wacker/releases/150314002', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: `{"body":"# What's Changed\\n\\n## Enhancements\\n\\n* wacker: return program id in Run and Serve interfaces (#62) @iawia002\\n* wacker: add a new function for creating the service (#61) @iawia002\\n\\n## Other changes\\n\\n* wacker: simplify the serve function code in the http engine (#60) @iawia002\\n* wacker: add a line break to the error log (#59) @iawia002\\n* wacker-cli: update status map definition (#58) @iawia002\\n\\n**Full Changelog**: https://github.com/iawia002/wacker/compare/v0.5.0...v0.5.1\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.5.1","tag_name":"v0.5.1","target_commitish":"refs/pull/63/merge"}`, request: {} }, event: { id: '8749202596', name: 'pull_request', payload: { action: 'synchronize', after: '1d14cf8b6226a983b4262148d86321eb10580153', before: '9c52f1930f5a095c54b658cdc94a3589013899bd', number: 63, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/iawia002/wacker/issues/63/comments' }, commits: { href: 'https://api.github.com/repos/iawia002/wacker/pulls/63/commits' }, html: { href: 'https://github.com/iawia002/wacker/pull/63' }, issue: { href: 'https://api.github.com/repos/iawia002/wacker/issues/63' }, review_comment: { href: 'https://api.github.com/repos/iawia002/wacker/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/iawia002/wacker/pulls/63/comments' }, self: { href: 'https://api.github.com/repos/iawia002/wacker/pulls/63' }, statuses: { href: 'https://api.github.com/repos/iawia002/wa
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/v6/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '8749202596', name: 'pull_request', payload: { action: 'synchronize', after: '1d14cf8b6226a983b4262148d86321eb10580153', before: '9c52f1930f5a095c54b658cdc94a3589013899bd', number: 63, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/iawia002/wacker/issues/63/comments' }, commits: { href: 'https://api.github.com/repos/iawia002/wacker/pulls/63/commits' }, html: { href: 'https://github.com/iawia002/wacker/pull/63' }, issue: { href: 'https://api.github.com/repos/iawia002/wacker/issues/63' }, review_comment: { href: 'https://api.github.com/repos/iawia002/wacker/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/iawia002/wacker/pulls/63/comments' }, self: { href: 'https://api.github.com/repos/iawia002/wacker/pulls/63' }, statuses: { href: 'https://api.github.com/repos/iawia002/wacker/statuses/1d14cf8b6226a983b4262148d86321eb10580153' } }, active_lock_reason: null, additions: 602, assignee: null, assignees: [], author_association: 'OWNER', auto_merge: null, base: { label: 'iawia002:main', ref: 'main', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/iawia002/wacker/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/iawia002/wacker/assignees{/user}', blobs_url: 'https://api.github.com/repos/iawia002/wacker/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/iawia002/wacker/branches{/branch}', clone_url: 'https://github.com/iawia002/wacker.git', collaborators_url: 'https://api.github.com/repos/iawia002/wacker/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/iawia002/wacker/comments{/number}', commits_url: 'https://api.github.com/repos/iawia002/wacker/commits{/sha}', compare_url: 'https://api.github.com/repos/iawia002/wacker/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/iawia002/wacker/contents/{+path}', contributors_url: 'https://api.github.com/repos/iawia002/wacker/contributors', created_at: '2023-11-16T02:45:02Z', default_branch: 'main', delete_branch_on_merge: false, deployments_url: 'https://api.github.com/repos/iawia002/wacker/deployments', description: 'Like Docker, but for WASM', disabled: false, downloads_url: 'https://api.github.com/repos/iawia002/wacker/downloads', events_url: 'https://api.github.com/repos/iawia002/wacker/events', fork: false, forks: 0, forks_count: 0, forks_url: 'https://api.github.com/repos/iawia002/wacker/forks', full_name: 'iawia002/wacker', git_commits_url: 'https://api.github.com/repos/iawia002/wacker/git/commits{/sha}', git_refs_url: 'https://api.github.com/repos/iawia002/wacker/git/refs{/sha}', git_tags_url: 'https://api.github.com/repos/iawia002/wacker/git/tags{/sha}', git_url: '