Skip to content

Fix prefetch_relationships to work with hierarchical nodes #10980

Fix prefetch_relationships to work with hierarchical nodes

Fix prefetch_relationships to work with hierarchical nodes #10980

Triggered via pull request October 22, 2024 05:19
Status Success
Total duration 20s
Artifacts

release-note.yml

on: pull_request
update_infrahub_release_draft
8s
update_infrahub_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_infrahub_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '11453747917', status: 422, response: { url: 'https://api.github.com/repos/opsmill/infrahub/releases/168084372', 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: 'Tue, 22 Oct 2024 05:19:42 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': '0445:8F45:708BC86:717B595:671735EE', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4992', 'x-ratelimit-reset': '1729577977', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '8', '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/opsmill/infrahub/releases/168084372', 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":"## Changelog\\n\\n- Refactor QueryAnalyzer to GraphProfileGenerator for query benchmarks @LucasG0 (#4671)\\n- Fix conflicting permissions resolver. @ogenstad (#4674)\\n- Fix metric missing the query name in Prometheus data @dgarros (#4661)\\n- Add menu to admin section of the menu and Disable profiles for menu items @dgarros (#4669)\\n- Convert Transform tasks to prefect @dgarros (#4652)\\n- Use absolute paths for SDK imports @ogenstad (#4659)\\n- Improve benchmarks of NodeUniqueAttributeConstraintQuery @LucasG0 (#4645)\\n- Add reo.dev analytics to documentation @lykinsbd (#4638)\\n- Bump the npm\\\\_and\\\\_yarn group across 2 directories with 2 updates @dependabot (#4622)\\n- Create permissions and menu items if none previously existed @ogenstad (#4654)\\n\\n## 🚀 Features\\n\\n- New Layout: wrapped all pages main content in a card + display hierarchy in breadcrumb @bilalabbad (#4666)\\n- Update permissions in other views @pa-lem (#4630)\\n- Use object permissions in object details and object items @pa-lem (#4606)\\n\\n## 🐛 Bug Fixes\\n\\n- Ensure the HFID of a related node is properly returned via GraphQL @dgarros (#4670)\\n\\n## 🧰 Maintenance\\n\\n- Permissions form fixes @pa-lem (#4675)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"infrahub-draft","tag_name":"infrahub-v","target_commitish":"refs/pull/4672/merge"}', request: {} }, event: { id: '11453747917', name: 'pull_request', payload: { action: 'synchronize', after: '5c0fc4472a5522949f876df30912750d46f2bf3f', before: '1d73df57b186ad92f779d2a1dc48fb41600116c8', number: 4672, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/118297816?v=4', description: 'Infrahub by OpsMill',
update_infrahub_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: '11453747917', name: 'pull_request', payload: { action: 'synchronize', after: '5c0fc4472a5522949f876df30912750d46f2bf3f', before: '1d73df57b186ad92f779d2a1dc48fb41600116c8', number: 4672, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/118297816?v=4', description: 'Infrahub by OpsMill', events_url: 'https://api.github.com/orgs/opsmill/events', hooks_url: 'https://api.github.com/orgs/opsmill/hooks', id: 118297816, issues_url: 'https://api.github.com/orgs/opsmill/issues', login: 'opsmill', members_url: 'https://api.github.com/orgs/opsmill/members{/member}', node_id: 'O_kgDOBw0U2A', public_members_url: 'https://api.github.com/orgs/opsmill/public_members{/member}', repos_url: 'https://api.github.com/orgs/opsmill/repos', url: 'https://api.github.com/orgs/opsmill' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/opsmill/infrahub/issues/4672/comments' }, commits: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4672/commits' }, html: { href: 'https://github.com/opsmill/infrahub/pull/4672' }, issue: { href: 'https://api.github.com/repos/opsmill/infrahub/issues/4672' }, review_comment: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4672/comments' }, self: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4672' }, statuses: { href: 'https://api.github.com/repos/opsmill/infrahub/statuses/5c0fc4472a5522949f876df30912750d46f2bf3f' } }, active_lock_reason: null, additions: 111, assignee: null, assignees: [], author_association: 'COLLABORATOR', auto_merge: null, base: { label: 'opsmill:develop', ref: 'develop', 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/opsmill/infrahub/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/opsmill/infrahub/assignees{/user}', blobs_url: 'https://api.github.com/repos/opsmill/infrahub/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/opsmill/infrahub/branches{/branch}', clone_url: 'https://github.com/opsmill/infrahub.git', collaborators_url: 'https://api.github.com/repos/opsmill/infrahub/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/opsmill/infrahub/comments{/number}', commits_url: 'https://api.github.com/repos/opsmill/infrahub/commits{/sha}', compare_url: 'https://api.github.com/repos/opsmill/infrahub/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/opsmill/infrahub/contents/{+path}', contributors_url: 'https://api.github.com/repos/opsmill/infrahub/contributors', created_at: '2022-08-25T10:25:23Z', default_branch: 'develop', delete_branch_on_merge: true, deployments_url: 'https://api.github.com/repos/opsmil