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

kelindar / async / 15765595396
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.4.0
DEFAULT BRANCH: master
Ran 19 Jun 2025 08:10PM UTC
Jobs 1
Files 4
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

19 Jun 2025 08:09PM UTC coverage: 97.661%. First build
15765595396

push

github

web-flow
Simplify, make this thing type safe and optimize (#3)

* Remove batch and partition implementations along with their associated tests. Introduce benchmark tests for task execution performance.

* Enhance task execution with cancellation checks and panic recovery. Ensure proper state transitions on cancellation and context errors, while simplifying outcome handling.

* Refactor task execution in Consume and InvokeAll functions to use goroutines for better concurrency management. Remove ContinueWith method from Task interface and simplify task outcome handling. Update tests to reflect these changes.

* Refactor task cancellation handling by removing the cancellation channel and simplifying state transitions. Update .gitignore to exclude profiling and test files.

* Refactor task and work types to use generics for improved type safety and flexibility. Update benchmarks and tests to accommodate changes in task handling. Remove unused mock partitioner file.

* Refactor task handling to utilize generics across Consume, InvokeAll, and Repeat functions for enhanced type safety. Introduce Completed and Failed task constructors for better error handling. Update benchmarks and tests to reflect these changes.

* Update benchmarks in bench_test.go for improved performance metrics and refactor InvokeAll to utilize Consume for task processing. Adjusted task handling to enhance concurrency control and maintain consistency in outcome management.

* Refactor task management in task.go to replace the cancellation channel with a WaitGroup for improved concurrency control. Update benchmarks in bench_test.go to reflect performance changes and ensure consistency in outcome management.

* Refactor task duration handling in task.go to use atomic operations for thread-safe updates. Replace the duration field with an atomic int64 to ensure accurate duration retrieval and storage during task execution.

* Enhance test coverage for Repeat function in repeat_test.go by adding test... (continued)

120 of 124 new or added lines in 4 files covered. (96.77%)

167 of 171 relevant lines covered (97.66%)

56.63 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
96.26
task.go
Jobs
ID Job ID Ran Files Coverage
1 15765595396.1 19 Jun 2025 08:10PM UTC 4
97.66
GitHub Action Run
Source Files on build 15765595396
  • Tree
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 78d80cb5 on github
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

© 2025 Coveralls, Inc