-
Couldn't load subscription status.
- Fork 35
Open
Labels
group/backendIssue related to the backend (API Server, Git Agent)Issue related to the backend (API Server, Git Agent)state/need-triageThis issue needs to be triagedThis issue needs to be triagedtype/bugSomething isn't working as expectedSomething isn't working as expected
Description
Component
No response
Infrahub version
1.3.2
Current Behavior
When creating a node object using an object file after updating the node schema (e.g., adding HFID), the new schema changes are not reflected immediately. The logs indicate missing attributes (like HFID), but using infrahubctl with the file works as expected.
Expected Behavior
Schema cache should be refreshed before running tasks, so new attributes are available.
Steps to Reproduce
- Load a node schema via git repository
- Update the schema to add the hfid and add the object file to load it at the same time
Additional Information
Add logic to refresh the schema cache before running tasks, similar to the initialization at tasks.py#L237-L238.
Metadata
Metadata
Assignees
Labels
group/backendIssue related to the backend (API Server, Git Agent)Issue related to the backend (API Server, Git Agent)state/need-triageThis issue needs to be triagedThis issue needs to be triagedtype/bugSomething isn't working as expectedSomething isn't working as expected