| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I am not sure why the "Check dist" is failing. Any help would be appreciated
|
Sorry, something went wrong.
|
@yeikel, just tried to rebuild your solution locally on Windows, check the output out: C:\Users\Desktop\Yeikel\setup-java> git status
On branch cache/mvn-wrapper
Your branch is up to date with 'origin/cache/mvn-wrapper'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: dist/cleanup/index.js
modified: dist/setup/index.js
no changes added to commit (use "git add" and/or "git commit -a")
Try to rebuild one more time. |
Sorry, something went wrong.
It seems that there is a slight difference in how the compiler behaves in Windows compared to Unix I tried the same build in my Windows machine and it returned no changes. But in my Mac it created 1ec9456 |
Sorry, something went wrong.
|
@IvanZosimov Could you please approve the workflow? Hopefully after my latest commits there are no more conflicts |
Sorry, something went wrong.
|
Hey @yeikel, The PR currently has merge conflicts due to base branch divergence. Could you:
Once the conflicts are resolved, this looks good to move forward with review. |
Sorry, something went wrong.
@mahabaleshwars I rebased it and ran npm run build on the latest build using node v24.14.1 The tests are also passing Test Suites: 24 passed, 24 total Tests: 744 passed, 744 total Snapshots: 0 total Time: 43.727 s |
Sorry, something went wrong.
|
Hi @yeikel, |
Sorry, something went wrong.
@mahabaleshwars I updated it |
Sorry, something went wrong.
|
Hi @yeikel, Thanks again for the rebase and formatting fixes! Before we move forward, could you also address the following: Documentation — The "Caching packages dependencies" section in README.md describes which files contribute to the Maven cache key. Since this PR changes both the hash inputs and the cached paths, please update the docs to reflect the new behavior. Unit test coverage — The current Maven tests in __tests__/cache.test.ts only cover the pom.xml scenario. Could you add coverage for the new wrapper-based path so the behavior introduced by this PR is locked in? End-to-end coverage — The new ~/.m2/wrapper/dists path isn't validated end-to-end in .github/workflows/e2e-cache.yml. Please extend the e2e workflow (and fixture, if needed) so this PR's behavior is covered across Linux, macOS, and Windows. Let me know if you have any questions. Thanks! |
Sorry, something went wrong.
|
Hi @yeikel, Whenever you get a chance, could you take a look at the three remaining items from my previous comment so we can move forward with review? Let me know if you have any questions or would like a hand with any of these. Thanks! |
Sorry, something went wrong.
|
This PR is now superseded by #1027, which has already been merged and covers the Maven Wrapper cache support (including broader pattern matching and updated docs/tests). Closing this one as superseded. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Related issue : #448
With cache: https://github.com/yeikel/mvn-wrapper-caching-test/actions/runs/4158390216/jobs/7193735589
Without cache : https://github.com/yeikel/mvn-wrapper-caching-test/actions/runs/4158489501/jobs/7193751281
Cache invalidation after a maven upgrade : https://github.com/yeikel/mvn-wrapper-caching-test/actions/runs/4158550035/jobs/7193847666