Skip to content

Conversation

@schgoo
Copy link

@schgoo schgoo commented Dec 10, 2025

Adds uniflight, a crate for coalescing duplicate async tasks into a single execution. When multiple tasks request the same work (identified by a key), only the leader performs the work while followers wait and receive a clone of the result.

  • Handles cancellation and panic gracefully (followers become the new leader)
  • Includes comprehensive module documentation
  • Includes example demonstrating cache thundering herd prevention

@schgoo
Copy link
Author

schgoo commented Dec 10, 2025

@microsoft-github-policy-service agree company="Microsoft"

@schgoo schgoo changed the title Add uniflight (name pending) crate for duplicate request coalescing build: Add uniflight (name pending) crate for duplicate request coalescing Dec 10, 2025
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.0%. Comparing base (0f5a87c) to head (61f8ce6).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files         106      107    +1     
  Lines        6881     6980   +99     
=======================================
+ Hits         6881     6980   +99     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@geeknoid
Copy link
Member

I like the name :-)

Copy link
Member

@geeknoid geeknoid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logo.png file isn't rendering for me. Is this a valid png file? I tried even going to your repo & branch, and GitHub won't show the image to me.

@schgoo
Copy link
Author

schgoo commented Dec 11, 2025

@geeknoid I hadn't uploaded the logo yet. I just added it

schgoo and others added 2 commits December 11, 2025 16:27
Co-authored-by: Martin Taillefer <geeknoid@users.noreply.github.com>
Co-authored-by: Martin Taillefer <geeknoid@users.noreply.github.com>
@schgoo schgoo changed the title build: Add uniflight (name pending) crate for duplicate request coalescing feat: Add uniflight (name pending) crate for duplicate request coalescing Dec 16, 2025
@schgoo schgoo changed the title feat: Add uniflight (name pending) crate for duplicate request coalescing feat: Add uniflight crate for duplicate request coalescing Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants