Skip to content

test: increased test coverage for API Endpoints #1597

test: increased test coverage for API Endpoints

test: increased test coverage for API Endpoints #1597

Triggered via pull request November 15, 2024 13:34
Status Success
Total duration 20s
Artifacts

pr-lint.yml

on: pull_request_target
Validate & Label PR
9s
Validate & Label PR
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Validate & Label PR
Resource not accessible by integration { name: 'HttpError', id: '11857233319', status: 403, response: { url: 'https://api.github.com/repos/finos/git-proxy/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: 'Fri, 15 Nov 2024 13:35:00 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': 'C849:1CC6DE:3588968:67DF37B:67374E04', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4986', 'x-ratelimit-reset': '1731680708', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '14', '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/finos/git-proxy/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: `{"target_commitish":"refs/heads/main","name":"Version 1.6.1","tag_name":"v1.6.1","body":"### What's Changed\\n\\n* No changes\\n\\n---\\n\\n*Full Changelog**: https://github.com/finos/git-proxy/compare/v1.6.0...v1.6.1\\n","draft":true,"prerelease":false,"make_latest":"true"}`, request: {} }, event: { id: '11857233319', name: 'pull_request_target', payload: { action: 'edited', changes: { body: { from: 'This PR addresses #240 and adds unit test cases, ensuring at least 80% test coverage for src/service/routes/* \r\n' + '\r\n' + 'Note:\r\n' + '\r\n' + '1. No changes to existing code base logic (except for logger in src/service/routes/push.js); purely test additions.\r\n' + '2. This is my first contribution and part of the Citi Hackathon.\r\n' + '\r\n' + '\r\n' + '\r\n' + '\r\n' } }, number: 802, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/35377814?v=4', description: 'FINOS’ mission is to promote open innovation in financial services. See our full list of repos from our nearly 100 projects & 11 programs at finos.github.io', events_url: 'https://api.github.com/orgs/finos/events', hooks_url: 'https://api.github.com/orgs/finos/hooks', id: 35377814, issues_url: 'https://api.github.com/orgs/finos/issues', login: 'finos', members_url: 'https://api.github.com/orgs/finos/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjM1Mzc3ODE0', public_members_url: 'https://api.github.com/orgs/finos/public_members{/member}', repos_url: 'https://api.github.com/orgs/finos/repos', url: 'https://api.github.com/orgs/finos' }, pull_request: { _links: { com
Validate & Label PR
HttpError: Resource not accessible by integration 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: '11857233319', name: 'pull_request_target', payload: { action: 'edited', changes: { body: { from: 'This PR addresses #240 and adds unit test cases, ensuring at least 80% test coverage for src/service/routes/* \r\n' + '\r\n' + 'Note:\r\n' + '\r\n' + '1. No changes to existing code base logic (except for logger in src/service/routes/push.js); purely test additions.\r\n' + '2. This is my first contribution and part of the Citi Hackathon.\r\n' + '\r\n' + '\r\n' + '\r\n' + '\r\n' } }, number: 802, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/35377814?v=4', description: 'FINOS’ mission is to promote open innovation in financial services. See our full list of repos from our nearly 100 projects & 11 programs at finos.github.io', events_url: 'https://api.github.com/orgs/finos/events', hooks_url: 'https://api.github.com/orgs/finos/hooks', id: 35377814, issues_url: 'https://api.github.com/orgs/finos/issues', login: 'finos', members_url: 'https://api.github.com/orgs/finos/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjM1Mzc3ODE0', public_members_url: 'https://api.github.com/orgs/finos/public_members{/member}', repos_url: 'https://api.github.com/orgs/finos/repos', url: 'https://api.github.com/orgs/finos' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/finos/git-proxy/issues/802/comments' }, commits: { href: 'https://api.github.com/repos/finos/git-proxy/pulls/802/commits' }, html: { href: 'https://github.com/finos/git-proxy/pull/802' }, issue: { href: 'https://api.github.com/repos/finos/git-proxy/issues/802' }, review_comment: { href: 'https://api.github.com/repos/finos/git-proxy/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/finos/git-proxy/pulls/802/comments' }, self: { href: 'https://api.github.com/repos/finos/git-proxy/pulls/802' }, statuses: { href: 'https://api.github.com/repos/finos/git-proxy/statuses/c18deb17e3b8e83dfa830bee5bed37d3e3082e40' } }, active_lock_reason: null, additions: 956, assignee: null, assignees: [], author_association: 'NONE', auto_merge: null, base: { label: 'finos: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: true, archive_url: 'https://api.github.com/repos/finos/git-proxy/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/finos/git-proxy/assignees{/user}', blobs_url: 'https://api.github.com/repos/finos/git-proxy/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/finos/git-proxy/branches{/branch}', clone_url: 'https://github.com/finos/git-proxy.git', collaborators_url: 'https://api.github.com/repos/finos/git-proxy/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/finos/git-proxy/comments{/number}', commits_url: 'https://api.github.com/repos/finos/git-