opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
181 stars 7 forks source link

profiles relationship cleanup #3792

Closed ajtmccarty closed 2 months ago

ajtmccarty commented 2 months ago

fixes #3791 we will always generate the profiles relationships during schema loading

NOTE: I saw some generate_profile is not a valid input for SchemaGeneric at generate_profile errors a couple of times in the server logs after loading all the demo data on an older version of infrahub and then upgrading to the 0.15 release, but I am not sure where the error came from and did not see it in the front-end anywhere

codspeed-hq[bot] commented 2 months ago

CodSpeed Performance Report

Merging #3792 will degrade performances by 33.04%

Comparing 3791-profiles-relationship-cleanup (40a3ea9) with develop (1fdf808)

Summary

❌ 1 regressions ✅ 9 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark develop 3791-profiles-relationship-cleanup Change
test_load_node_to_db_node_schema 50 ms 74.7 ms -33.04%
ogenstad commented 2 months ago

Changed to target release-0.15 branch after GitHub automatically changed it to develop.