You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "abyssnlp (via GitHub)" <gi...@apache.org> on 2024/07/24 20:42:00 UTC
[PR] Attempt to fix #84 by running tests on relevant paths in ci [hudi-rs]
abyssnlp opened a new pull request, #93:
URL: https://github.com/apache/hudi-rs/pull/93
## Description
Only run tests when a change is made on any of the relevant paths.
Fixes #91
## How are the changes test-covered
- [x] N/A
- [ ] Automated tests (unit and/or integration tests)
- [ ] Manual tests
- [ ] Details are described below
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix running tests on relevant paths [hudi-rs]
Posted by "abyssnlp (via GitHub)" <gi...@apache.org>.
abyssnlp commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692641535
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
Does it make sense to have `cliff.toml` in there as its used to generate changelogs so would be irrelevant for tests?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix running tests on relevant paths [hudi-rs]
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692418271
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
we shouldn't exclude Makefile as some CI jobs may make use of the commands there. code and project setup/dependencies related files should be CI-covered. some example files that can be exempted are like README, NOTICE, LICENSE, etc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix running tests on relevant paths [hudi-rs]
Posted by "abyssnlp (via GitHub)" <gi...@apache.org>.
abyssnlp commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692622588
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
Fair point. My reasoning was that as the project evolves, majority of the changes would be within the `crates/` and `python/` paths. The trade-off here would be between maintaining a list of paths to trigger the CI on vs. maintaining the list of paths to ignore.
But if non-project dependencies won't change as much, I agree it would be easier to just ignore those instead. I'll make the required changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix running tests on relevant paths [hudi-rs]
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692614366
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
hmmm this causes maintenance burden as project evolves - we have to keep this list updated so that CI will trigger, note that we already have crates-level Cargo.toml, what about CI workflow related files? wouldn't just defining `paths-ignore` serve the purpose?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix running tests on relevant paths [hudi-rs]
Posted by "abyssnlp (via GitHub)" <gi...@apache.org>.
abyssnlp commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692553298
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
Addressed in [174894c](https://github.com/apache/hudi-rs/pull/93/commits/174894c1d22b9de9fc3d4d1786859c9a5c65062a). The CI should now run whenever a change is made in either the rust or python source, setup/project dependencies or changes in test coverage configuration. Although redundant as the paths spec should take care of this, I've explicitly ignored running CI on paths for markdown files and changes in the issue template or pull request template.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix running tests on relevant paths [hudi-rs]
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692614366
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
hmmm this causes maintenance burden as project evolves - we have to keep this list updated so that CI will trigger, like what about CI workflow files? wouldn't just defining `paths-ignore` serve the purpose?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix running tests on relevant paths [hudi-rs]
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692614366
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
hmmm this causes maintenance burden as project evolves - we have to keep this list updated so that CI will trigger, note that we already have crates-level Cargo.toml, what about pyproject.toml? wouldn't just defining `paths-ignore` serve the purpose?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: add path ignore files for ci [hudi-rs]
Posted by "abyssnlp (via GitHub)" <gi...@apache.org>.
abyssnlp commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692676588
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
Please feel free to resolve this and proceed if everything looks okay.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix running tests on relevant paths [hudi-rs]
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan commented on code in PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#discussion_r1692651992
##########
.github/workflows/ci.yml:
##########
@@ -22,9 +22,17 @@ on:
branches:
- main
- release/**
+ paths:
+ - 'python/**'
+ - '!python/Makefile'
+ - 'crates/**'
Review Comment:
we might need CI to auto generate changelog in future so let's keep it out
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: add path ignore files for ci [hudi-rs]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #93:
URL: https://github.com/apache/hudi-rs/pull/93#issuecomment-2252223145
## [Codecov](https://app.codecov.io/gh/apache/hudi-rs/pull/93?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 87.24%. Comparing base [(`a699b44`)](https://app.codecov.io/gh/apache/hudi-rs/commit/a699b444a95069e2ae41a720b888d3c8444db135?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`6323099`)](https://app.codecov.io/gh/apache/hudi-rs/commit/63230996d0d3bd6d7a2b67678bd1f1ff6235251c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
> Report is 1 commits behind head on main.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #93 +/- ##
=======================================
Coverage 87.24% 87.24%
=======================================
Files 14 14
Lines 690 690
=======================================
Hits 602 602
Misses 88 88
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/hudi-rs/pull/93?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: add path ignore files for ci [hudi-rs]
Posted by "xushiyan (via GitHub)" <gi...@apache.org>.
xushiyan merged PR #93:
URL: https://github.com/apache/hudi-rs/pull/93
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org