simperby icon indicating copy to clipboard operation
simperby copied to clipboard

Configuring the dependency graph for e2e test suits optimization

Open sigridjineth opened this issue 1 year ago • 3 comments

Note

  • It takes tons of time for running CI stage but it takes much longer time for every single PRs to be passed, but this time lag can be minimized by not running unrelevant dependency modules

sigridjineth avatar Oct 15 '23 05:10 sigridjineth

basic module research

considering to find some third party dependencies in that there's no native module to track the graph in Rust natively

https://sr.ht/~jplatte/cargo-depgraph/ https://github.com/pacak/hackerman/ https://github.com/regexident/cargo-modules

sigridjineth avatar Oct 15 '23 05:10 sigridjineth

process

  1. dependency visualization
  2. map dependencies to tests
  3. detech changes in pull request
  4. determine relevant tests & run only them
  5. fallback strategy (e.g. run full suite of tests)

sigridjineth avatar Oct 15 '23 06:10 sigridjineth

There's also https://crates.io/crates/guppy

pacak avatar Oct 15 '23 18:10 pacak