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

OCHA-DAP / hdx-ckan / 44260427924-1
82%
dev: 81%

Build:
Build:
LAST BUILD BRANCH: feature/HDXDESIGN-251-contribute-flow
DEFAULT BRANCH: dev
Ran 18 Nov 2026 07:43AM UTC
Jobs 4
Files 288
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

18 Nov 2026 07:38AM UTC coverage: 81.634% (-0.2%) from 81.869%
44260427924-1

push

coveralls-python

danmihaila
HDX-11760 fix Cancel purging datasets, restrict dataset_purge to sysadmins, delete files after purge

- Delete page: Cancel is posted as a form field, so check request.form
  and return the redirect to the contribute edit page. Before, Cancel
  ran hdx_dataset_purge.
- Drop the HDX dataset_purge override, which only existed to accept
  package_delete permission. Core's sysadmin-only dataset_purge applies
  again; hdx_dataset_purge still checks package_delete and calls core's
  purge with ignore_auth.
- hdx_dataset_purge: remove resource files and datastore tables only
  after the purge is committed, so a failed purge keeps the data. The
  datastore delete runs with ignore_auth since the resource no longer
  exists for the resource_update check.
- hdx_member_create: remove the rebuild() call. The commit hook already
  reindexes the dataset; rebuild() dropped it from Solr before re-adding
  it and disposed the DB connection pool on every call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

11 of 11 new or added lines in 2 files covered. (100.0%)

44 existing lines in 3 files now uncovered.

15232 of 18659 relevant lines covered (81.63%)

2.14 hits per line

Coverage Regressions

Lines Coverage ∆ File
25
41.18
-49.02% ckanext-hdx_package/ckanext/hdx_package/helpers/reindex_helper.py
16
63.33
-26.67% ckanext-hdx_search/ckanext/hdx_search/helpers/reindexing.py
3
61.9
-7.14% ckanext-hdx_package/ckanext/hdx_package/helpers/file_removal.py
Jobs
ID Job ID Ran Files Coverage
1 hdx_package - 44260427924-1.1 18 Nov 2026 07:47AM UTC 282
51.7
2 hdx_theme-search-user_extra - 44260427924-1.2 18 Nov 2026 07:47AM UTC 288
54.12
3 hdx_users-org_group - 44260427924-1.3 18 Nov 2026 07:47AM UTC 288
60.75
4 others - 44260427924-1.4 18 Nov 2026 07:47AM UTC 282
48.03
Source Files on build 44260427924-1
  • Tree
  • List 288
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1774ecc4 on github
  • Prev Build on feature/HDX-11653-ckan-upgrade (#44179497...)
  • Next Build on feature/HDX-11653-ckan-upgrade (#44268631...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc