Skip to content

Handling Empty Files Before Unmarshalling to Prevent Unmarshal Errors #575

Handling Empty Files Before Unmarshalling to Prevent Unmarshal Errors

Handling Empty Files Before Unmarshalling to Prevent Unmarshal Errors #575

Triggered via pull request February 21, 2024 15:17
Status Success
Total duration 23s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
11s
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: '7991358538', status: 422, response: { url: 'https://api.github.com/repos/ironcore-dev/libvirt-provider/releases/124557363', 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: 'Wed, 21 Feb 2024 15:18:09 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': '64C1:6D71:66715C:695266:65D61431', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14989', 'x-ratelimit-reset': '1708532281', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '11', '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/ironcore-dev/libvirt-provider/releases/124557363', 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":"## Changes\\n- Improved `Makefile` @lukas016 (#150)\\n\\n## 🚀 Features\\n\\n- Added `Terminating` \\\\& `Terminated` machine state @lukas016 (#169)\\n- Use `filepath.Join` in test case @Rohit-0505 (#160)\\n- Add integration tests @ushabelgur (#138)\\n- Implementing Graceful Shutdown for VMs @so-sahu (#101)\\n- Reconcile `Machine`s when `libvirt` VM state changes @so-sahu (#115)\\n- Implemented `Volume` resize @lukasfrank (#142)\\n- Fixed `nil pointer` dereference @lukasfrank (#139)\\n- Add logger to `main` package and improve logging @lukasfrank (#135)\\n- Implemented hugepages support @lukas016 (#113)\\n- Add `irictl-machine` to provider container @afritzler (#130)\\n- Fix RBAC: allow `machinepoollet` to update NIC status @afritzler (#121)\\n- Support for `Volume` resize @lukasfrank (#104)\\n- Implemented `AttachNetworkInterface` and `DetachNetworkInterface` @lukasfrank (#111)\\n- Fix nil deref in volume encryption handling @afritzler (#109)\\n- Add integration test workflow and test suite for `libvirt-provider` @kasabe28 (#99)\\n- Support Machine Exec @hardikdr (#65)\\n- Refactor RBAC for provider and poollet @afritzler (#92)\\n- Add poollet `clusterrole` and bindings @afritzler (#87)\\n- Configuring Metadata in DomainXML @so-sahu (#84)\\n- Refactor `virtlet` occurrences to `libvirt-provider` @so-sahu (#76)\\n- Implemented `Volume` encryption support @lukasfrank (#69)\\n- Improved reconciliation @lukasfrank (#62)\\n- Enhanced Deployment @lukasfrank (#51)\\n- Switch to `ironcore-image` @lukasfrank (#53)\\n- Make project REUSE compliant @afritzler (#44)\\n- Refactor project name to`libvirt-provider` and updated dependencies @lukasfrank (#39)\\n- Enhanced documentation @lukasfrank (#38)\\n- Implement volume attach / detach
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: '7991358538', name: 'pull_request', payload: { action: 'synchronize', after: 'e2b686e295f27e9418ea703a6bdbd841ff333619', before: 'ae8d43145f8fe1cbe311281bfbff900bb29db06f', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/4978?v=4', created_at: '2020-12-16T23:19:05Z', description: 'SAP Enterprise Account', html_url: 'https://github.com/enterprises/sap', id: 4978, name: 'SAP', node_id: 'MDEwOkVudGVycHJpc2U0OTc4', slug: 'sap', updated_at: '2023-07-28T08:32:39Z', website_url: 'https://sap.com' }, number: 163, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/147836484?v=4', description: 'The Kubernetes driven IaaS', events_url: 'https://api.github.com/orgs/ironcore-dev/events', hooks_url: 'https://api.github.com/orgs/ironcore-dev/hooks', id: 147836484, issues_url: 'https://api.github.com/orgs/ironcore-dev/issues', login: 'ironcore-dev', members_url: 'https://api.github.com/orgs/ironcore-dev/members{/member}', node_id: 'O_kgDOCM_ORA', public_members_url: 'https://api.github.com/orgs/ironcore-dev/public_members{/member}', repos_url: 'https://api.github.com/orgs/ironcore-dev/repos', url: 'https://api.github.com/orgs/ironcore-dev' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/ironcore-dev/libvirt-provider/issues/163/comments' }, commits: { href: 'https://api.github.com/repos/ironcore-dev/libvirt-provider/pulls/163/commits' }, html: { href: 'https://github.com/ironcore-dev/libvirt-provider/pull/163' }, issue: { href: 'https://api.github.com/repos/ironcore-dev/libvirt-provider/issues/163' }, review_comment: { href: 'https://api.github.com/repos/ironcore-dev/libvirt-provider/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/ironcore-dev/libvirt-provider/pulls/163/comments' }, self: { href: 'https://api.github.com/repos/ironcore-dev/libvirt-provider/pulls/163' }, statuses: { href: 'https://api.github.com/repos/ironcore-dev/libvirt-provider/statuses/e2b686e295f27e9418ea703a6bdbd841ff333619' } }, active_lock_reason: null, additions: 10, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/108278794?v=4', events_url: 'https://api.github.com/users/so-sahu/events{/privacy}', followers_url: 'https://api.github.com/users/so-sahu/followers', following_url: 'https://api.github.com/users/so-sahu/following{/other_user}', gists_url: 'https://api.github.com/users/so-sahu/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/so-sahu', id: 108278794, login: 'so-sahu', node_id: 'U_kgDOBnQ0Cg', organizations_url: 'https://api.github.com/users/so-sahu/orgs', received_events_url: 'https://api.github.com/users/so-sahu/received_events', repos_url: 'https://api.github.com/users/so-sahu/repos', site_admin: false, starred_url: 'https://api.github.com/users/so-sahu/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/so-sahu/subscriptions', type: 'User', url: 'https://api.github.