Closed kianenigma closed 1 year ago
@kianenigma Do you want me to try and set up an initial conversation with the Swimm team and see if their open source solution might be able to assist us with this? I think a lot of what their product does is exactly in this area.
Do you know if/how they can complement the above scenario?
Teams and actions are probably enough for now. I think we can set that up and try the whole process, and then see if we can improve it via Swimm.
I am kinda curious if the whole "DevRel audit" system works, and would like to set that up sooner rather than later.
Given that I really want to kickstart this ASAP, here's my quick suggestion of how we can start on this:
frame
, except
frame/support
, because it is covered below.frame/staking-bags-list-benchmarking
frame/support/src
frame/support/procedural/lib.rs
(where the macro-stubs are), the rest does not matter. primitives/arithmetic
primitives/runtime
primitives/core
More candidates, but maybe skip for now:
primitives/api
(important macros regarding runtime APIs live here).primitives/io
primitives/weights
xcm
sc-*
crates could fit here as well, but I am not sure. @bkchr @paritytech/sdk-node any suggestions? An alternative way to think about this, inspired by something that @athei once shared with me, would actually to create a single new create called frame-api
. This crate will have ZERO code, and ONLY re-exports parts of substrate that you need to build a runtime with.
Whatever ends up being in this, ends up being well documented. It will also help us towards semver and so on.
I like the idea, but I am worried that it is me being too ambitious here and fixing too many things at once. Also, it is probably way more easier said than done.
missing_docs
in these crates.
- everything in
frame
, except
Might as well put them in the CODEOWNER file so the review request is automatic? Or ask CICD team for custom review GHA.
frame-api
Would be nice to have, since i think there are Rust tools that can detect breaking API changes - at least to function signature and returns. So even if this stays internal, could be useful to have it aggregated.
Might as well put them in the CODEOWNER file so the review request is automatic? Or ask CICD team for custom review GHA.
Initially CODEOWNERS should do, but later, if we see the system working we might need a custom review rule to eg. prevent merge.
For the time being, I think the easiest would be to use code-owners rules and assign a team to auto-review PRs if they touch a particular set of folders.
Might be a bit noisy, as this will be triggered for all non-draft PRs.