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

GrottoCenter / grottocenter-api / 33429217503
91%

Build:
DEFAULT BRANCH: develop
Ran 31 Aug 2026 07:13PM UTC
Jobs 1
Files 501
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

31 Aug 2026 07:11PM UTC coverage: 87.307% (-0.01%) from 87.32%
33429217503

push

github

ClemRz
fix(organizations): treat isPermanent=false/0 as a soft delete

Addresses Paul's review feedback on the explored-caves merge fix.

- Parse isPermanent with [true, 'true', '1'].includes(...) instead of
  !!req.param(...): query params arrive as strings, so both ?isPermanent=false
  and the web client's ?isPermanent=0 encoding were truthy and irreversibly
  hard-deleted the organization. Matches guideline/delete.js
- Add regression coverage for the false and 0 encodings, asserting the row
  survives in the database. Checking res.body.isDeleted alone is not enough:
  the soft-delete pass sets that flag before the permanent branch would run,
  so the response looks identical either way
- Install the histo_delete_grotto trigger in the test schema, mirroring
  sql/0_triggers.sql. Without it TGrotto.destroyOne() hard-deletes in tests
  and the survives-in-database assertion cannot be made at all
- Add test/seed-database.js to SNAPSHOT_SOURCES: customSQL.js only defines
  the SQL blocks, the seed file decides which ones run, so editing it changed
  template state without invalidating the staleness stamp

5209 of 6259 branches covered (83.22%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

10 existing lines in 2 files now uncovered.

9573 of 10672 relevant lines covered (89.7%)

142.0 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
85.56
1.22% api/controllers/v1/organization/delete.js
2
94.78
-2.61% api/services/RecentChangeService.js
Jobs
ID Job ID Ran Files Coverage
1 33429217503.1 31 Aug 2026 07:13PM UTC 501
87.31
GitHub Action Run
Source Files on build 33429217503
  • Tree
  • List 501
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33429217503
  • c0df70da on github
  • Prev Build on develop (#32897712935)
  • Next Build on develop (#33437846678)
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