Skip to content

JAIPilot campaign evaluation: Spring Integration #11353 - #1

Open
skrcode wants to merge 1 commit into
jaipilot-campaign/spring-integration-11353-basefrom
jaipilot-campaign/spring-integration-11353-head
Open

JAIPilot campaign evaluation: Spring Integration #11353#1
skrcode wants to merge 1 commit into
jaipilot-campaign/spring-integration-11353-basefrom
jaipilot-campaign/spring-integration-11353-head

Conversation

@skrcode

@skrcode skrcode commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Exact cloud-only evaluation mirror of spring-projects#11353

Exact upstream head: 84ab875

JAIPilot must return at most one small, behavior-preserving, independently provable companion draft or leave this PR unchanged. No repository build is being run on a developer laptop.

Fixes: spring-projects#11352

cleanUpFileState() discarded every IOException, including the one raised
by closing the buffered writer or stream. close() is where the buffer is
flushed, so a full disk was reported as a successful write and the
truncated temporary file was still promoted onto the result file.

Let cleanUpFileState() propagate, and call it on the success path where
the caller can see the failure. On the failure path the close error is
attached as a suppressed exception instead, so the exception already on
its way out is not masked. clearState() still runs either way and the
APPEND_NO_FLUSH branch is untouched.

Signed-off-by: Jiwoo Lee <dlwldn30@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants