Skip to content

Refactor AttributeAddQuery to support node with an attribute of the same name previously active #11215

Refactor AttributeAddQuery to support node with an attribute of the same name previously active

Refactor AttributeAddQuery to support node with an attribute of the same name previously active #11215

Triggered via pull request October 25, 2024 17:18
Status Success
Total duration 21s
Artifacts

release-note.yml

on: pull_request
update_infrahub_release_draft
12s
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: '11522594502', 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: 'Fri, 25 Oct 2024 17:18:48 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': 'B081:3BF948:922F7BC:935E412:671BD2F8', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4967', 'x-ratelimit-reset': '1729878195', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '33', '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- Diagram updates for 1.0 architecture changes @petercrocker (#4723)\\n- Run git sync every 1 minute @ogenstad (#4735)\\n- Migrate RequestDiffUpdate/RequestDiffRefresh to prefect @LucasG0 (#4733)\\n- Migrate SendWebhook to prefect @LucasG0 (#4734)\\n- Add support for additional context to the metrics for query execution time @dgarros (#4662)\\n- Finalize the migration of the telemetry task to prefect @dgarros (#4730)\\n- Convert branch merge mutation to a workflow @dgarros (#4729)\\n- Override prefect logs @ogenstad (#4717)\\n- Migrate RequestArtifactDefinitionGenerate to prefect @LucasG0 (#4713)\\n- Add note about GraphQL schema endpoint @ogenstad (#4709)\\n- Migrate RequestGeneratorRun to prefect @LucasG0 (#4720)\\n- TestInfrahubApp.client fixture set services.service.client @LucasG0 (#4712)\\n- only add status=deleted edges if relationship crosses branches @ajtmccarty (#4688)\\n- Add tags to deployment and run in Prefect @dgarros (#4694)\\n- Fixes for PEP 484 prohibits implicit `Optional` @ogenstad (#4708)\\n- Fix Yoda condition rule for ruff @ogenstad (#4703)\\n- Disable test\\\\_create\\\\_proposed\\\\_change temporarily @dgarros (#4707)\\n- Convert branch rebase mutation to a workflow @dgarros (#4689)\\n- Migrate RequestArtifactGenerate to prefect @LucasG0 (#4699)\\n- Migrate TriggerArtifactDefinitionGenerate to prefect @LucasG0 (#4685)\\n- Fix service fixture initialization for test\\\\_merged @dgarros (#4684)\\n- fix(ci): run CI for release branches @fatih-acar (#4693)\\n- Add / correct typehints to query.attribute @ogenstad (#4687)\\n- Fix Ruff UP007 for tests and utils @ogenstad (#4686)\\n- Remove unused task GitBranchCreate @dgarros (#4681)\\n- address circular imports around GraphQLSchemaManager @Ajtmcc
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: '11522594502', name: 'pull_request', payload: { action: 'synchronize', after: '50d58065412dc21d9f09ac86316096470a645c71', before: 'd42f7eb80c0572883ceb899d9fcfdd617fdbc8e3', number: 4742, 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/4742/comments' }, commits: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4742/commits' }, html: { href: 'https://github.com/opsmill/infrahub/pull/4742' }, issue: { href: 'https://api.github.com/repos/opsmill/infrahub/issues/4742' }, review_comment: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4742/comments' }, self: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4742' }, statuses: { href: 'https://api.github.com/repos/opsmill/infrahub/statuses/50d58065412dc21d9f09ac86316096470a645c71' } }, active_lock_reason: null, additions: 287, assignee: null, assignees: [], author_association: 'COLLABORATOR', auto_merge: null, base: { label: 'opsmill:release-1.0', ref: 'release-1.0', 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/repo