Skip to content

feat: PC-14087 Add SLO Status API to SDK #1386

feat: PC-14087 Add SLO Status API to SDK

feat: PC-14087 Add SLO Status API to SDK #1386

Triggered via pull request October 7, 2024 13:49
Status Success
Total duration 16s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
7s
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: '11216981040', status: 422, response: { url: 'https://api.github.com/repos/nobl9/nobl9-go/releases/178171237', 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: 'Mon, 07 Oct 2024 13:49:39 GMT', 'github-authentication-token-expiration': '2025-01-16 00:00:00 +0100', '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': 'C548:2044E2:2AD55E:53340E:6703E6F3', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4919', 'x-ratelimit-reset': '1728310678', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '81', '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/nobl9/nobl9-go/releases/178171237', 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: `{"body":"# What's Changed\\n\\n## 🚀 Features\\n\\n- feat: PC-14184 Add sourceSLO field in replay config file (#543) @piotrkwarcinski\\n\\n## 🧰 Maintenance\\n\\n- chore: Update module golang.org/x/tools/cmd/goimports to v0.26.0 (#566) @renovate\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.88.0","tag_name":"v0.88.0","target_commitish":"refs/pull/537/merge"}`, request: {} }, event: { id: '11216981040', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Motivation\r\n' + '\r\n' + 'Enabling users to make programmatic requests to the SLO Status API.\r\n' + '\r\n' + '## Summary\r\n' + '\r\n' + 'Added support for SLO Status API V1 and V2 requests in the SDK. Also, introduced tests for both V1 and V2 to ensure functionality and reliability.\r\n' + '\r\n' + '## Release Notes\r\n' + '\r\n' + "It's possible to use the SDK to make requests to SLO Status API now.\r\n" } }, number: 537, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/58781264?v=4', description: '', events_url: 'https://api.github.com/orgs/nobl9/events', hooks_url: 'https://api.github.com/orgs/nobl9/hooks', id: 58781264, issues_url: 'https://api.github.com/orgs/nobl9/issues', login: 'nobl9', members_url: 'https://api.github.com/orgs/nobl9/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjU4NzgxMjY0', public_members_url: 'https://api.github.com/orgs/nobl9/public_members{/member
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: '11216981040', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Motivation\r\n' + '\r\n' + 'Enabling users to make programmatic requests to the SLO Status API.\r\n' + '\r\n' + '## Summary\r\n' + '\r\n' + 'Added support for SLO Status API V1 and V2 requests in the SDK. Also, introduced tests for both V1 and V2 to ensure functionality and reliability.\r\n' + '\r\n' + '## Release Notes\r\n' + '\r\n' + "It's possible to use the SDK to make requests to SLO Status API now.\r\n" } }, number: 537, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/58781264?v=4', description: '', events_url: 'https://api.github.com/orgs/nobl9/events', hooks_url: 'https://api.github.com/orgs/nobl9/hooks', id: 58781264, issues_url: 'https://api.github.com/orgs/nobl9/issues', login: 'nobl9', members_url: 'https://api.github.com/orgs/nobl9/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjU4NzgxMjY0', public_members_url: 'https://api.github.com/orgs/nobl9/public_members{/member}', repos_url: 'https://api.github.com/orgs/nobl9/repos', url: 'https://api.github.com/orgs/nobl9' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/537/comments' }, commits: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/537/commits' }, html: { href: 'https://github.com/nobl9/nobl9-go/pull/537' }, issue: { href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/537' }, review_comment: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/537/comments' }, self: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/537' }, statuses: { href: 'https://api.github.com/repos/nobl9/nobl9-go/statuses/485375d660c5ca0b6804b72e374f20ca8f21fa28' } }, active_lock_reason: null, additions: 649, assignee: null, assignees: [], author_association: 'MEMBER', auto_merge: null, base: { label: 'nobl9:main', ref: 'main', repo: { allow_auto_merge: true, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: false, allow_squash_merge: true, allow_update_branch: true, archive_url: 'https://api.github.com/repos/nobl9/nobl9-go/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/nobl9/nobl9-go/assignees{/user}', blobs_url: 'https://api.github.com/repos/nobl9/nobl9-go/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/nobl9/nobl9-go/branches{/branch}', clone_url: 'https://github.com/nobl9/nobl9-go.git', collaborators_url: 'https://api.github.com/repos/nobl9/nobl9-go/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/nobl9/nobl9-go/comments{/number}', commits_url: 'https://api.github.com/repos/nobl9/nobl9-go/commits{/sha}', compare_url: 'https://api.github.com/repos/nobl9/