roryqi opened a new issue, #12283:
URL: https://github.com/apache/gravitino/issues/12283

   ### Version
   
   main branch
   
   ### Describe what is wrong
   
   The Flink Integration Test workflow `changes` job can fail before tests 
start when `dorny/paths-filter` deepens a shallow checkout.
   
   ### Error message and/or stacktrace
   
   GitHub Actions run:
   https://github.com/apache/gravitino/actions/runs/30538813999/job/90887212701
   
   ```text
   fatal: shallow file has changed since we read it
   The process `/usr/bin/git` failed with exit code 128
   ```
   
   ### How to reproduce
   
   1. Run the Flink Integration Test workflow on `branch-1.3`.
   2. Let `actions/checkout@v4` use the default shallow checkout.
   3. Let `dorny/paths-filter` compare `main...branch-1.3`, which triggers `git 
fetch --deepen=200`.
   
   ### Additional context
   
   The failed runner used Ubuntu 24.04 and Git 2.54.0. `actions/checkout@v4` 
disables `gc.auto`, but Git automatic maintenance can still race with 
`paths-filter` while it reads `.git/shallow`.
   
   The fix is to disable local Git automatic maintenance after checkout and 
before `dorny/paths-filter`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to