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

nledez / flask-fs2 / 26213996203
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: feat/swift-connection-pool
DEFAULT BRANCH: master
Ran 21 May 2026 08:14AM UTC
Jobs 6
Files 17
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

21 May 2026 08:13AM UTC coverage: 89.071%. First build
26213996203

push

github

nledez
feat(swift): add Connection pool and configurable ETag mismatch policy

  - Per-process Connection pool (gevent Queue with stdlib fallback)
  so concurrent greenlets/threads no longer share a single
  swiftclient.Connection. Fixes sporadic 400s, ConnectionReset
  and content corruption under gevent workers.
  - write() pre-computes content_length and ETag and verifies
  the ETag returned by Swift. New etag_mismatch_policy config
  (log default / raise / raise_and_delete) controls
  behavior on mismatch — legacy log-only kept as default.
  - read_chunks() releases the borrowed Connection back to the
  pool when the generator is exhausted or close() is called.
  - list_files() uses full_listing=True to enumerate containers
  with more than 10 000 objects.
  - New optional settings: pool_size (20), pool_timeout (30),
  timeout (60), retries (5), os_options (merged over
  tenant_name / region_name for Keystone v3).
  - Tests: app fixture now pushes test_request_context and sets
  SERVER_NAME so url_for / current_app / request work
  out of the box; crypto tests use tmp_path instead of leaking
  encrypted.bin / decrypted.txt in cwd; new
  tests/test_swift_pool.py covers concurrent writes, pool sizing
  and ETag mismatch handling.
  - Adds gevent>=24.0.0 to test requirements.

155 of 208 new or added lines in 1 file covered. (74.52%)

978 of 1098 relevant lines covered (89.07%)

5.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
53
77.73
flask_fs/backends/swift.py
Jobs
ID Job ID Ran Files Coverage
1 26213996203.1 21 May 2026 08:14AM UTC 17
89.07
GitHub Action Run
2 26213996203.2 21 May 2026 08:15AM UTC 17
89.07
GitHub Action Run
3 26213996203.3 21 May 2026 08:15AM UTC 17
89.07
GitHub Action Run
4 26213996203.4 21 May 2026 08:15AM UTC 17
89.07
GitHub Action Run
5 26213996203.5 21 May 2026 08:15AM UTC 17
89.07
GitHub Action Run
6 26213996203.6 21 May 2026 08:16AM UTC 17
89.07
GitHub Action Run
Source Files on build 26213996203
  • Tree
  • List 17
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ad7f6466 on github
  • Next Build on feat/swift-connection-pool (#26214558562)
  • 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

© 2026 Coveralls, Inc