Hi all, I know the IoTDB build is taking longer and longer to run. Also is IoTDB the unfortunately one of the biggest consumer of GitHub Actions compute resources at Apache (At least we were pointed out as such at Community Over Code Bratislava). There I worked together with some folks from Develocity and we prepared a PR, that would enable predictive test selection and reordering in our build.
It would run tests that failed the last time first, if a build needs to be re-run. This reduces the waste of resources as the tests failing the last time are most probably going to be the ones failing again. Another optimization is, that you can run only those test that are most probably related to code changes you did (Predictive test selection). The way we currently test (with almost everything in the integration-test module) we can’t utilize the biggest benefit from this, but it did improve resource usage quite a bit when we tried it out. I don’t think it’s fair, that we are using so much of the ASFs GitHub Compute resources and would really like to improve things here. The PR has been waiting for quite some time now: https://github.com/apache/iotdb/pull/12654 Chris