• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ghga-de / work-package-service / 17854285753
87%

Build:
DEFAULT BRANCH: main
Ran 19 Sep 2025 09:26AM UTC
Jobs 1
Files 32
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Sep 2025 09:24AM UTC coverage: 87.385% (+2.9%) from 84.514%
17854285753

push

github

web-flow
Support upload Work Packages (GSI-1816) (#50)

* Add upload WOTs, rename download WOT, add endpoints and core functionality

* Update existing tests

* Add box access checks to AccessCheckMock

* Replace now_as_utc with now_utc_ms_prec

* Bump version from 6.0.0 -> 7.0.0

* Delete old function that was never meant to live

* Fix typing issues for mypy

* Add regression test for existing work pkg docs

* Add outbox sub test

* Expand error checking and add tests for AccessCheck adapter

* Fill in repository crud for upload boxes

* Test the get_boxes method

* Fix user ID type hint in dataset endpoint

* Swap in ResearchDataUploadBox model

* Add work order token integration tests

* Fix test references to the access url plus some minor formatting

* Expose db migrations as standalone entrypoint

This also removes migrations from other commands, so migs will have to be done via init container

* Remove weird description

* Remove unused fields from WOTs and fix validator decorator order

* Add missing span in routes.py

* Bundle box_id and dataset_id validation for work package type

* Remove unused work_type parameter from get_datasets()

* Add extra check for box expiration in get_upload_boxes()

* Remove sleep statement in outbox consumer test

* Rename box models for clarity

* Include the UCS's file upload box ID in data saved to WPS

* Exchange RDUbox ID for FUbox ID in WOT generation

* Fix event sub doc strings

* Update API tags

* Enforce HTTP format for access check url

* Log errors for download methods in access check adapter

* Change WOTWorkType to WorkType

* Implement low-impact misc feedback

* Simplify WOT model definition

* Add missing error handling for get_upload_wot

* Remove extraneous work package type checks and error handling

* Restore doc string line for download WOT

* Add dataset_id and box_id validation to WorkPackage model as well

* Consolidate box and user id definitions as constants in api tests

* Further organize ... (continued)

301 of 331 new or added lines in 14 files covered. (90.94%)

3 existing lines in 2 files now uncovered.

762 of 872 relevant lines covered (87.39%)

0.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
89.19
-3.26% src/wps/adapters/inbound/fastapi_/routes.py
4
92.45
4.22% src/wps/adapters/outbound/http.py
4
0.0
0.0% src/wps/cli.py
5
0.0
0.0% src/wps/main.py
13
81.06
5.43% src/wps/core/repository.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.45
4.22% src/wps/adapters/outbound/http.py
2
0.0
0.0% src/wps/main.py
Jobs
ID Job ID Ran Files Coverage
1 17854285753.1 19 Sep 2025 09:26AM UTC 32
87.39
GitHub Action Run
Source Files on build 17854285753
  • Tree
  • List 32
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 29d1bf0f on github
  • Prev Build on 6.0.0 (#16902847544)
  • Next Build on main (#18102341090)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc