tangle-network / gadget

A framework for building modular AVS and Tangle Blueprints: https://docs.tangle.tools/developers/blueprints.
https://tangle.tools
Apache License 2.0
12 stars 3 forks source link

[TASK] Cleanup/refactor the blueprint manager code #277

Closed tbraun96 closed 3 weeks ago

tbraun96 commented 4 weeks ago

The blueprint manager provably works for sources such as Testing. However, other modes have not fully been tested such as GitHub. Furthermore, there are areas of the codebase that contain TODOs and a heavy cognitive load, making maintainability and the likelihood of bug introduction higher. Furthermore, we are passing more CLI params instead of relying on ENV vars now (except REGISTRATION_MODE) as an improvement, but should seek to remove env vars entirely and delegate this to the blueprint manager to pass as CLI args.

Logging can be improved by downgrading many INFOs to TRACEs