kbendick opened a new pull request, #4989:
URL: https://github.com/apache/iceberg/pull/4989

   The API Binary compatibility task `revapi`, was previously skipping or 
occasionally passing when it shouldn't be (and when it was _not_ passing for 
local gradle runs).
   
   The issues were two:
   1. The cache action was causing the action to be skipped.
   2. The git checkout action checks out by default at a depth of 1, which is a 
detached head state. Therefore, the output of `git describe` or the first line 
of the output of `git tags` was not showing up. The action uses this tag to 
find the proper existing overrides and "old" version to pull from maven 
(currently iceberg-api:0.13.0) 
   
   This removes the cache action, adds a step to output the `git describe` (so 
we can easily verify which tag is considered current, which corresponds to 
what's in `.palantir/revapi.yml`), and then runs the revapi task pretty 
aggressively (with `--rerun-tasks, --no-build-cache, and --no-daemon).
   
   We can try adding back in the `actions/cache` action as well as removing 
some of the aggressive flags for iceberg-api:revapi, but for now this is what I 
tested with in my fork and this will work. 🙂 


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to