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

elixir-cloud-aai / drs-filer / 44168995822
100%

Build:
DEFAULT BRANCH: dev
Ran 17 Nov 2026 08:26PM UTC
Jobs 1
Files 14
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

17 Nov 2026 08:24PM UTC coverage: 100.0%. Remained the same
44168995822

push

github

web-flow
fix: delete access methods atomically (#117)

* fix: delete access methods atomically

DeleteAccessMethod checked the number of access methods and removed
the method in two database operations, so concurrent deletions could
both pass the check and leave an object without access methods.

The check and the removal are now one update: the method is pulled
only if the object keeps an access method with another identifier.
If nothing was removed, the current object tells why (404 for an
unknown object or method, 409 for the last method). This also covers
objects whose access methods all share the deleted identifier, which
the old count check let through.

Closes #105

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

* fix: keep 500 for objects without access methods

Deleting an access method of an object stored without access methods
failed with a server error before; keep it so, as GetAccessURL does,
instead of reporting the access method as not found.

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

* test: share setup of access method delete tests

Add a helper for the app and collection of the new deletion tests, use
a separate flag for the simulated interleaving, and say where the real
atomicity comes from. Log when a deletable access method is not
deleted, before answering with a server error.

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

* test: check which access method is left

The deletion next to an access method without an ID must remove the
requested method, not the other one.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

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

418 of 418 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44168995822.1 17 Nov 2026 08:26PM UTC 14
100.0
GitHub Action Run
Source Files on build 44168995822
  • Tree
  • List 14
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4ed743ff on github
  • Prev Build on dev (#44130278272)
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