Skip to content

Stable to develop #6443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
May 12, 2025
Merged

Stable to develop #6443

merged 33 commits into from
May 12, 2025

Conversation

ajtmccarty
Copy link
Contributor

No description provided.

LucasG0 and others added 30 commits May 5, 2025 19:20
…y-dispatcher

ci: add INFRAHUB_CUSTOMER2_REPOSITORY to repository-dispatcher
* fix textarea display

* fix display value component

* add fragment

* ignore textarea spelling in fragment

* update fragment
* logic for deleting nodes removed from a diff

* use filter model instead of dict, use NodeIdentifier in filters

* update drop nodes query to remove diff nodes completely
* logic for deleting nodes removed from a diff

* use filter model instead of dict, use NodeIdentifier in filters

* update drop nodes query to remove diff nodes completely

* add node kind to node field specifiers

* add a hash method for some reason

* remove extraneous, commented-out line

* replace kind and uuid on DiffNode classes with NodeIdentifier that
includes database-level labels

* small cleanup tasks

* use IDs list in diff path queries

* save changes to test for diff calculation with migrated kind for later

* add a docstring for a class

* formatting
…nd details views (#6405)

* update date format

* add fragment

* add util function

* show year only for dates before the current year

* update fragment

* update date format
This might trigger the creation of a lot of templates from a schema
perspective but this is required to fix the inheritance for the GraphQL
schema.
Without this change, the planner will use the peer node index (either
node uuid or attribute value index) as the starting point of the query.
Thus in the case of IPAM, when we have a single namespace with thousands
of addresses/prefixes, it will start the query from the namespace and
traverse all the addresses/prefixes inside that same namespace (thus
retraversing all addresses for each address...).

Unfortunately, it looks like there's no support to "ignore" an index, so
a little trick here is to filter the actual starting node using its own
uuid to force the planner to use that node as the starting point.

Signed-off-by: Fatih Acar <[email protected]>
* fix bug in rel create for migrated kind nodes

* handle agnostic rels correctly
Break apart ignored mypy rules to individual error codes
json.dumps serializes to a format that is not equivalent to the
JSON.Stringify (JS) format.

Also do not raise Exception if the payload was not successfully sent.

Signed-off-by: Fatih Acar <[email protected]>
…y-dispatcher

ci: add INFRAHUB_CUSTOMER3_REPOSITORY to repository-dispatcher
* Make sure sync only runs on commit to stable

* Add change to the doc

* Let me test

* Remove test
This is a workaround to allow large Dropdown choices within the Schema.
At some point we should convert these attributes to another type than
"AttributeValue" in order to add an index to all "AttributeValue" nodes.
…s-IFC-1483

Add 'List' kinds to LARGE_ATTRIBUTE_TYPES
wvandeun and others added 3 commits May 10, 2025 14:59
… row actions (#6373)

* enable dissocate action only for optional relationships

* add fragment

* add count

* dissociate if min_count is fine

* rename variable and fix edit form

* add edit relationship test + use branch

* fix dissociate checks

* update fragment

* update dissociate action

* add comment

* rename file and update import

* update logic

* fix dissociate check

* update check

* add mock data

* add test

* update comment

* rename files, update types

* add generic use case

* remove old mock data

* use utils function

* refactor dissociate check

* Fix ts errors + improved code logic with early return

* added tests

* more tests

* made usage simplier and added more tests

* lint

* cleaning

---------

Co-authored-by: bilalabbad <[email protected]>
@ajtmccarty ajtmccarty requested review from a team as code owners May 12, 2025 13:34
@github-actions github-actions bot added type/documentation Improvements or additions to documentation group/backend Issue related to the backend (API Server, Git Agent) group/frontend Issue related to the frontend (React) group/ci Issue related to the CI pipeline labels May 12, 2025
return await object_template.get_peer(db=db) if object_template is not None else None
return (
await object_template.get_peer(db=db, peer_type=CoreObjectTemplate) if object_template is not None else None
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to make this change for pylint on develop

Copy link

codspeed-hq bot commented May 12, 2025

CodSpeed Performance Report

Merging #6443 will not alter performance

Comparing stable-to-develop (49ccee3) with develop (281aeab)

Summary

✅ 10 untouched benchmarks

@ajtmccarty ajtmccarty merged commit 6e3c306 into develop May 12, 2025
119 of 124 checks passed
@ajtmccarty ajtmccarty deleted the stable-to-develop branch May 12, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) group/ci Issue related to the CI pipeline group/frontend Issue related to the frontend (React) type/documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.