Skip to content

Ensure _get_entities_with_data_loader is not using the default db session #13067

Ensure _get_entities_with_data_loader is not using the default db session

Ensure _get_entities_with_data_loader is not using the default db session #13067

Triggered via pull request December 24, 2024 10:18
Status Success
Total duration 14s
Artifacts

release-note.yml

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

Annotations

2 errors and 1 warning
update_infrahub_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '12480367853', 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, 24 Dec 2024 10:18:38 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': '4C35:2D5E84:4B99D79:96E7858:676A8A7E', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4983', 'x-ratelimit-reset': '1735038037', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '17', '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.18.0 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changelog\\n\\n- Consider updated fields for Jinja2 based computed attributes @ogenstad (#5307)\\n- Ensure all tasks accessing the database are using a dedicated session @dgarros (#5309)\\n- Capture additional loggers during task execution @dgarros (#5260)\\n- Cleanup graphql-query tasks @dgarros (#5301)\\n- Run get\\\\_commit\\\\_worktree() at correct indentation level @ogenstad (#5305)\\n- Update SDK to branch dga-20241201-cleanup-schema @dgarros (#5124)\\n- merge stable to release 1.1 @ajtmccarty (#5300)\\n- Fix issue with branch creation in Git @dgarros (#5295)\\n- fix issue that causes illegal diff query @ajtmccarty (#5291)\\n- Minor changes around flow logs @dgarros (#5298)\\n- fix(docs): remove helm pull policy example @fatih-acar (#5296)\\n- Lock CoreGroup kinds on any branch @LucasG0 (#5285)\\n- Number attributes do not accept boolean values @LucasG0 (#5283)\\n- Add log group around the building of the docker container @ogenstad (#5280)\\n- test version @wartraxx51 (#5240)\\n- Stable mergeback to `release-1.1` @lykinsbd (#5273)\\n\\n## 🧰 Maintenance\\n\\n- Display the IP Namespace for prefixes and IP adresses in the searchanywhere - IFC-299 @pa-lem (#5274)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"infrahub-draft","tag_name":"infrahub-v","target_commitish":"refs/pull/5314/merge"}', request: {} }, event: { id: '12480367853', name: 'pull_request', payload: { action: 'synchronize', after: '2ba7b3f5592e92cf5bd4f3bd4cdf4121b4f61b6e', before: '9adc9ccbbb24a7c778fbfdc5f7b0f2fbc03c4dba', number: 5314, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/118297816?v=4', description: 'Infrahub by OpsMill', events_url: '
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: '12480367853', name: 'pull_request', payload: { action: 'synchronize', after: '2ba7b3f5592e92cf5bd4f3bd4cdf4121b4f61b6e', before: '9adc9ccbbb24a7c778fbfdc5f7b0f2fbc03c4dba', number: 5314, 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/5314/comments' }, commits: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5314/commits' }, html: { href: 'https://github.com/opsmill/infrahub/pull/5314' }, issue: { href: 'https://api.github.com/repos/opsmill/infrahub/issues/5314' }, review_comment: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5314/comments' }, self: { href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5314' }, statuses: { href: 'https://api.github.com/repos/opsmill/infrahub/statuses/2ba7b3f5592e92cf5bd4f3bd4cdf4121b4f61b6e' } }, active_lock_reason: null, additions: 104, assignee: null, assignees: [], author_association: 'COLLABORATOR', auto_merge: null, base: { label: 'opsmill:release-1.1', ref: 'release-1.1', 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: 'stable', delete_branch_on_merge: true, deployments_url: 'https://api.github.com/repos
update_infrahub_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636