Skip to content

api/backend: ignore coverage for non-testable code #1166

api/backend: ignore coverage for non-testable code

api/backend: ignore coverage for non-testable code #1166

Triggered via pull request December 8, 2024 11:58
Status Success
Total duration 17s
Artifacts

release-drafter.yml

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

Annotations

2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '12221564019', status: 422, response: { url: 'https://api.github.com/repos/vnghia/nghe/releases/167330903', 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': '210', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Sun, 08 Dec 2024 11:58:32 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': 'A800:34870:71B39F1:E11B986:675589E7', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4985', 'x-ratelimit-reset': '1733661711', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '15', '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', status: '422' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/vnghia/nghe/releases/167330903', 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: '{"body":"## What’s Changed\\n\\n* backend/stream: fix a race condition in read lock (#553) @vnghia\\n* chore(deps): update rust crate bon to v3.3.0 (#559) @renovate\\n* chore(deps): update rust crate thiserror to v2.0.5 (#558) @renovate\\n* chore(deps): update rust crate const_format to v0.2.34 (#554) @renovate\\n* backend: refactor error handling (#552) @vnghia\\n* backend: refactor auth from request (#551) @vnghia\\n* chore(deps): update cross-platform-actions/action action to v0.26.0 (#549) @renovate\\n* fix(deps): update rust crate tokio to v1.42.0 (#550) @renovate\\n* fix(deps): update rust crate tokio-util to v0.7.13 - autoclosed (#547) @renovate\\n* fix(deps): update aws-sdk-rust monorepo (#548) @renovate\\n* chore(deps): update rust crate diesel to v2.2.6 (#545) @renovate\\n* chore(deps): update dependency tailwindcss to v3.4.16 (#544) @renovate\\n* backend: better tracing (#546) @vnghia\\n* backend/handler: return json for json internal endpoint (#543) @vnghia\\n* backend: use mimalloc and set nodelay to increase performance (#542) @vnghia\\n* backend/media_retrieval: fix flaky test in stream time offset (#541) @vnghia\\n* chore(deps): update rust crate time to v0.3.37 (#540) @renovate\\n* backend/media_annotation: add update artist information (#539) @vnghia\\n* api/backend: add json internal endpoint type (#538) @vnghia\\n* backend/lists: add get songs by genre (#537) @vnghia\\n* backend/integration: add Spotify integration for fetching cover art (#536) @vnghia\\n* fix(deps): update rust crate aws-sdk-s3 to v1.64.0 (#535) @renovate\\n* chore(deps): update rust crate bon to v3.2.0 (#534) @renovate\\n* api/backend: better time serialize/deserialize (#533) @vnghia\\n* fix(deps): update rust crate indexmap to v2.7.0 (#532) @renovate\\n* fix(deps)
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: '12221564019', name: 'pull_request', payload: { action: 'opened', number: 561, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/vnghia/nghe/issues/561/comments' }, commits: { href: 'https://api.github.com/repos/vnghia/nghe/pulls/561/commits' }, html: { href: 'https://github.com/vnghia/nghe/pull/561' }, issue: { href: 'https://api.github.com/repos/vnghia/nghe/issues/561' }, review_comment: { href: 'https://api.github.com/repos/vnghia/nghe/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/vnghia/nghe/pulls/561/comments' }, self: { href: 'https://api.github.com/repos/vnghia/nghe/pulls/561' }, statuses: { href: 'https://api.github.com/repos/vnghia/nghe/statuses/8425c11efa868422ab1823e2eb9453cfcfdca5fa' } }, active_lock_reason: null, additions: 84, assignee: null, assignees: [], author_association: 'OWNER', auto_merge: null, base: { label: 'vnghia:main', ref: 'main', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: false, allow_rebase_merge: false, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/vnghia/nghe/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/vnghia/nghe/assignees{/user}', blobs_url: 'https://api.github.com/repos/vnghia/nghe/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/vnghia/nghe/branches{/branch}', clone_url: 'https://github.com/vnghia/nghe.git', collaborators_url: 'https://api.github.com/repos/vnghia/nghe/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/vnghia/nghe/comments{/number}', commits_url: 'https://api.github.com/repos/vnghia/nghe/commits{/sha}', compare_url: 'https://api.github.com/repos/vnghia/nghe/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/vnghia/nghe/contents/{+path}', contributors_url: 'https://api.github.com/repos/vnghia/nghe/contributors', created_at: '2024-01-05T07:54:17Z', default_branch: 'main', delete_branch_on_merge: false, deployments_url: 'https://api.github.com/repos/vnghia/nghe/deployments', description: 'An OpenSubsonic implementation in Rust', disabled: false, downloads_url: 'https://api.github.com/repos/vnghia/nghe/downloads', events_url: 'https://api.github.com/repos/vnghia/nghe/events', fork: false, forks: 0, forks_count: 0, forks_url: 'https://api.github.com/repos/vnghia/nghe/forks', full_name: 'vnghia/nghe', git_commits_url: 'https://api.github.com/repos/vnghia/nghe/git/commits{/sha}', git_refs_url: 'https://api.github.com/repos/vnghia/nghe/git/refs{/sha}', git_tags_url: 'https://api.github.com/repos/vnghia/nghe/git/tags{/sha}', git_url: 'git://github.com/vnghia/nghe.git', has_discussions: true, has_downloads: true, has_issues: true, has_pages: false, has_projects: true, h
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636