kubeshop / vscode-monokle

An extension for Visual Studio Code to validate your Kubernetes configuration
https://marketplace.visualstudio.com/items?itemName=kubeshop.monokle
MIT License
6 stars 0 forks source link

Prevent synchronization issues and reduce API requests #93

Closed f1ames closed 6 months ago

f1ames commented 6 months ago

Currently, fetching remote data is split into multiple parts, policy is fetched separately, suppressions are fetched separately which resuslt in multiple API requests. Also the side-effect is a lot of asynchronicity since this data is used n multiple places.

Moving forward, we wold like to merge all the communication into a single API request so policy, suppressions, project permissions, etc. can be fetched at once. This will result in easier to maintain extension, better performance due to less network requests and less async code which will also improve extension startup time.