Skip to content

Comments

feat(mgmt): Fixes an issue in parsing JobErrorDetails when the job returns an empty array#921

Merged
kailash-b merged 1 commit intomasterfrom
bug/SDK-7828
Feb 20, 2026
Merged

feat(mgmt): Fixes an issue in parsing JobErrorDetails when the job returns an empty array#921
kailash-b merged 1 commit intomasterfrom
bug/SDK-7828

Conversation

@kailash-b
Copy link
Contributor

Changes

  • Fixes the issue in parsing JobErrorDetails when an empty array is returned. This can happen when we try to fetch error details of a successful job.

References

Testing

  • This change adds unit test coverage

  • This change adds integration test coverage

  • This change has been tested on the latest version of the platform/language or why not

Checklist

@kailash-b kailash-b requested a review from a team as a code owner February 20, 2026 08:04
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.36%. Comparing base (6885501) to head (e5079ce).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/Auth0.ManagementApi/Clients/JobsClient.cs 66.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #921       +/-   ##
===========================================
+ Coverage   34.12%   79.36%   +45.23%     
===========================================
  Files         458      458               
  Lines        5957     5960        +3     
  Branches      282      283        +1     
===========================================
+ Hits         2033     4730     +2697     
+ Misses       3872     1137     -2735     
- Partials       52       93       +41     
Flag Coverage Δ
authIntTests 30.67% <0.00%> (-0.02%) ⬇️
mgmtIntTests 60.58% <16.66%> (?)
unittests 10.41% <66.66%> (+1.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kailash-b kailash-b enabled auto-merge February 20, 2026 08:20
Copy link

@tanya732 tanya732 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kailash-b kailash-b merged commit 56bc127 into master Feb 20, 2026
8 checks passed
@kailash-b kailash-b deleted the bug/SDK-7828 branch February 20, 2026 09:22
@kailash-b kailash-b changed the title Fixes an issue in parsing JobErrorDetails when the job returns an empty array feat(mgmt): Fixes an issue in parsing JobErrorDetails when the job returns an empty array Feb 23, 2026
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.

Jobs.GetErrorDetailsAsync throws Netwonsoft.Json.JsonSerializationException

2 participants