Governance usability: Incremental updates of large proposals #3726
Replies: 1 comment
-
Also see #2466 and #1585 about the performance aspect, and #3537 with regards to action versioning. In general, I think we should try to leverage existing mechanisms and tooling for diffing and modularity, rather than try to roll our own, as much as possible. If that means new endpoints to expose the right input for those tools, that seems fine. Allowing an easy app or constitution diff is certainly an obvious improvement. I am a little sceptical of the incremental approach, because typical quality gates (type checking and testing) do not work that way, and require the whole of the code to validate. Trading off safety for convenience seems nowhere less appealing than in the constitution. |
Beta Was this translation helpful? Give feedback.
-
To update the constitution or JS application code, we currently require the entire new contents to be submitted in a single proposal. This is to reduce the risk of invalid/corrupt code being submitted (relying on missing or incorrect dependencies). We also think this makes audit simpler - the current value of these items is found from a single write transaction, rather than a projection across multiple write transactions.
However, this brings a few barriers to usability:
So the points to discuss:
actions.js
into multiple filesBeta Was this translation helpful? Give feedback.
All reactions