[Fix][Zeta] Fix NPE in JobInfoService#10700
Conversation
5d849ce to
889ce70
Compare
…t-job-info-npe
|
I pulled the branch locally and traced the finished-job path in I found one blocking gap: this patch fixes the On the new code:
So if the finished-job state exists but the DAG info map entry is absent, we still crash on the same REST path. The new test class only covers missing metrics ( Please either make the finished-job JSON builder null-safe for |
@DanielLeens I checked this again. So I don't think a missing |
|
Hi @dybyte, thank you for checking my previous comment so carefully. I re-pulled the latest head locally and traced the REST path again. You are right: my earlier concern about What This PR Fixes
Runtime Path CheckedKey Findings
Compatibility / Side EffectsCompatibility: fully compatible. No API, option, default value, protocol, serialization, checkpoint, or historical upgrade behavior is changed. The only user-visible effect is that a REST query that previously failed on this edge case can now return basic finished-job information with empty metrics. FindingsNo blocking issue found in the current head. Merge DecisionConclusion: can merge
Overall, the current implementation is focused and low risk. Thanks again for the clear follow-up; after retracing the actual call chain, I agree this PR is ready from my side. |
|
Hi @dybyte, I rechecked the current head locally again after the latest review activity. My conclusion is unchanged:
Runtime chain I rechecked Conclusion: can mergeBlocking items:
Thanks again for the careful follow-up here. The current implementation still looks focused and low risk. |
Fixes: #10695
Purpose of this pull request
This PR fixes a potential NPE in
JobInfoService.Does this PR introduce any user-facing change?
How was this patch tested?
Added
JobInfoServiceNullSafetyTest.Check list
New License Guide
incompatible-changes.mdto describe the incompatibility caused by this PR.