The GitHub Actions job "CI" on grails-core.git/fix/eol-renormalize-7.0.x has 
failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
ed64fc0af1fe3a8bb9a08a67420b281d5c6bd936 / James Fredley 
<[email protected]>
fix: renormalize CRLF-committed files to LF per .gitattributes

PR #15622 added .gitattributes (`* text=auto`, `*.bat text eol=crlf`, and
`*.sh`/`gradlew`/`KEYS`/`Dockerfile`/`*.properties` `text eol=lf`) but did not
run `git add --renormalize`, so 11 files committed earlier kept CRLF blobs in
the index. Under `text`, the canonical (index) form must be LF, so those CRLF
blobs permanently conflict with the attribute: git normalizes the working copy
to LF and compares it against the CRLF blob, which never matches. The files
show as modified the moment any tool (IDE Gradle sync, branch switch, build,
editor save) busts git's lstat cache, and `git checkout` / `git reset` cannot
repair it because the wrong bytes live in the committed blob. Mac and Linux
developers hit this constantly; the root `gradlew.bat` was the most visible
victim.

This commit runs `git add --renormalize .` to rewrite the affected index blobs
to LF. It is a pure line-ending change: `git diff --ignore-cr-at-eol` is empty
(2019 insertions / 2019 deletions, every line re-emitted with CR stripped).
Working trees are unaffected -- `*.bat` is still checked out as CRLF via
`eol=crlf`, so Windows behaviour does not change.

Renormalized files:
  LICENSE
  gradlew.bat
  grails-encoder/src/main/groovy/org/grails/buffer/StreamByteBuffer.java
  grails-encoder/src/main/groovy/org/grails/encoder/impl/URLCodecFactory.groovy
  grails-spring/src/main/groovy/org/grails/spring/BeanConfiguration.java
  grails-spring/src/main/groovy/org/grails/spring/DefaultBeanConfiguration.java
  
grails-spring/src/main/groovy/org/grails/spring/DefaultRuntimeSpringConfiguration.java
  
grails-test-suite-uber/src/test/groovy/org/grails/web/plugins/support/MyHandlerInterceptor.java
  
grails-test-suite-uber/src/test/groovy/org/grails/web/plugins/support/MyWebRequestInterceptor.java
  
grails-test-suite-uber/src/test/groovy/org/grails/web/plugins/support/web-interceptor-wiring-tests.xml
  
grails-test-suite-web/src/test/groovy/org/grails/web/servlet/BindDataMethodTests.groovy

Assisted-by: claude-code:claude-opus-4-8

Report URL: https://github.com/apache/grails-core/actions/runs/26778807335

With regards,
GitHub Actions via GitBox

Reply via email to