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

get2knowio / deacon / 18767409331
87%

Build:
DEFAULT BRANCH: main
Ran 24 Oct 2025 02:12AM 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

24 Oct 2025 02:09AM UTC coverage: 87.5%. Remained the same
18767409331

push

github

web-flow
feat(features-plan): Parallelize OCI metadata fetch with bounded concurrency (#381)

* Initial plan

* Implement parallel OCI metadata fetch with bounded concurrency

- Add futures dependency for parallel stream processing
- Replace serial fetch loop with parallel implementation using futures::stream
- Use buffer_unordered(N) with configurable concurrency limit (default 6)
- Ensure deterministic ordering by collecting into BTreeMap
- Add DEACON_FETCH_CONCURRENCY environment variable for user control
- Clamp concurrency between 1-32 to prevent resource exhaustion
- Add unit tests for concurrency configuration
- All existing tests pass, maintaining backward compatibility

Co-authored-by: pofallon <505519+pofallon@users.noreply.github.com>

* Fix test isolation: refactor concurrency tests to avoid global state

Extract parsing logic into get_fetch_concurrency_impl that takes
Option<&str> parameter, eliminating need for tests to mutate global
DEACON_FETCH_CONCURRENCY environment variable. This prevents test
interference when running in parallel.

- Add get_fetch_concurrency_impl(env_value: Option<&str>) -> usize
- Keep get_fetch_concurrency() as thin wrapper reading from env
- Update all 4 tests to call _impl directly with string literals
- Tests now pure functions without global state mutation
- Maintains identical parsing, default (6), and clamping (1..32) behavior

Co-authored-by: pofallon <505519+pofallon@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pofallon <505519+pofallon@users.noreply.github.com>

7000 of 8000 relevant lines covered (87.5%)

425.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18767409331.1 24 Oct 2025 02:12AM UTC 32
87.5
GitHub Action Run
Source Files on build 18767409331
  • Tree
  • List 32
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18767409331
  • 1b00869e on github
  • Prev Build on main (#18766647854)
  • Next Build on main (#18795145572)
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