Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring the dependency graph for e2e test suits optimization #536

Open
sigridjineth opened this issue Oct 15, 2023 · 3 comments
Open
Assignees

Comments

@sigridjineth
Copy link
Member

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
Copy link
Member Author

sigridjineth commented Oct 15, 2023

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 sigridjineth self-assigned this Oct 15, 2023
@sigridjineth sigridjineth changed the title Configuring the dependency graph for e2e test optimization Configuring the dependency graph for e2e test suits optimization Oct 15, 2023
@sigridjineth
Copy link
Member Author

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)

@pacak
Copy link

pacak commented Oct 15, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants