Skip to content

[DOP-22578] Change response schema of GET /jobs#162

Merged
dolfinus merged 1 commit intodevelopfrom
feature/DOP-22578-jobs
Feb 13, 2025
Merged

[DOP-22578] Change response schema of GET /jobs#162
dolfinus merged 1 commit intodevelopfrom
feature/DOP-22578-jobs

Conversation

@dolfinus
Copy link
Member

@dolfinus dolfinus commented Feb 12, 2025

Change Summary

Changed the response schema of GET /jobs to match other endpoints (#158, #159, #160, #161). For now there is no statistics for job, but it can be added later (e.g. number of runs since last day, week, month) without breaking backward compatibility.

Related issue number

Checklist

  • Commit message and PR title is comprehensive
  • Keep the change as small as possible
  • Unit and integration tests for the changes exist
  • Tests pass on CI and coverage does not decrease
  • Documentation reflects the changes where applicable
  • docs/changelog/next_release/<pull request or issue id>.<change type>.rst file added describing change
    (see CONTRIBUTING.rst for details.)
  • My PR is ready to review.

@dolfinus dolfinus self-assigned this Feb 12, 2025
@codecov
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

Attention: Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.16%. Comparing base (5e52684) to head (d02f6cb).
Report is 135 commits behind head on develop.

Files with missing lines Patch % Lines
data_rentgen/server/services/job.py 94.11% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #162      +/-   ##
===========================================
+ Coverage    93.14%   93.16%   +0.01%     
===========================================
  Files          183      185       +2     
  Lines         4188     4228      +40     
  Branches       281      281              
===========================================
+ Hits          3901     3939      +38     
- Misses         225      227       +2     
  Partials        62       62              

☔ 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.

@dolfinus dolfinus marked this pull request as ready for review February 12, 2025 10:50
@dolfinus dolfinus force-pushed the feature/DOP-22578-jobs branch from 9ee0434 to d02f6cb Compare February 13, 2025 08:34
@dolfinus dolfinus enabled auto-merge (rebase) February 13, 2025 08:34
@dolfinus dolfinus disabled auto-merge February 13, 2025 08:34
@dolfinus dolfinus merged commit 5cd8f02 into develop Feb 13, 2025
12 of 13 checks passed
@dolfinus dolfinus deleted the feature/DOP-22578-jobs branch February 13, 2025 08:37
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