Skip to content

Clarify job status handling in afterJob - #5612

Open
nippyclouding wants to merge 1 commit into
spring-projects:mainfrom
nippyclouding:GH-5243
Open

nippyclouding wants to merge 1 commit into
spring-projects:mainfrom
nippyclouding:GH-5243

Conversation

@nippyclouding

Copy link
Copy Markdown

The job status is saved before afterJob runs. Clarify that this callback observes an already-persisted status and should not change it. Link to JobExecution.getStatus() to make clear which status is being discussed.

Related to #5243, specifically the Javadoc clarification mentioned in this comment.

Validation: ./mvnw -B -ntp package

See spring-projects#5243

Signed-off-by: Lee Sang Won <nippyclouding@gmail.com>
@ryujungkyun

ryujungkyun commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

While I love seeing active contributions, mass-submitting PRs in a short period can put a heavy burden on the maintainers.

It would be great if you could group minor changes into a single PR whenever possible.

@nippyclouding

Copy link
Copy Markdown
Author

While I love seeing active contributions, mass-submitting PRs in a short period can put a heavy burden on the maintainers.

It would be great if you could group minor changes into a single PR whenever possible.

Thanks for the feedback
I’ll group related minor changes into a single PR going forward to help reduce the review burden

This branch has not been deployed

No deployments
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