Skip to content

Bump github.com/alitto/pond/v2 from 2.1.6 to 2.3.2#23

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/alitto/pond/v2-2.3.2
Closed

Bump github.com/alitto/pond/v2 from 2.1.6 to 2.3.2#23
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/alitto/pond/v2-2.3.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Bumps github.com/alitto/pond/v2 from 2.1.6 to 2.3.2.

Release notes

Sourced from github.com/alitto/pond/v2's releases.

Release v2.3.2

What's Changed

Full Changelog: alitto/pond@v2.3.1...v2.3.2

Release v2.3.1

Pull requests

Changes

  • Ensure closed atomic bool is toggled and checked while holding the mutex to avoid race conditions.
  • Ensure workersWaitGroup.Add() is always called while holding the mutex to avoid race conditions.
  • Improve comments on submit methods to clarify the behavior when the pool is stopped.
  • Refactor trySubmit method to make it simpler and more clear.
  • Centralize worker launch in a new method called launchWorker.
  • Replace subpoolSubmit with subpoolWorker method.
  • Add methods to submit individual tasks in a non-blocking fashion (TrySubmit and TrySubmitErr). Requested in alitto/pond#103
  • Expose new DroppedTasks metric that reflects the number of tasks that were not executed because the queue was full. Issue reported in alitto/pond#100
  • SubmittedTasks metric now includes dropped tasks and it stops being updated once the pool is stopped.

Fixes

  • Decrement workerCount counter when the pool context is cancelled.
  • Resize() now supports setting maxConcurrency to 0 (no limit)

Full Changelog: alitto/pond@v2.3.0...v2.3.1

Release v2.3.0

What's Changed

Full Changelog: alitto/pond@v2.2.0...v2.3.0

Release v2.2.0

What's Changed

  • feat(pool): add option to bound task queue (v2) by @​alitto in alitto/pond#99
    • Add support to create bounded pools by specifying a queue size (WithQueueSize option).
    • Add support to choose how to deal with tasks submitted when the queue is full (WithNonBlocking option).
    • Ensure RunningWorkers() method in subpools reflect the actual number of workers running tasks belonging to the subpool.
    • Allow overriding pool options when creating a subpool via NewSupool.
    • Simplify pool submission logic and remove dispatcher goroutine.
    • Simplify subpool implementation.

Full Changelog: alitto/pond@v2.1.6...v2.2.0

Commits
  • 18e306d fix(pool): prevent deadlock on submitWaiters channel
  • d43a232 feat(pool): add TrySubmit methods
  • 3b89b22 Refactor worker creation method and improve comments
  • 94bbb62 fix(pool): avoid race conditions when a task is submitted while the pool is s...
  • 1ad365a feat(pool): add support for dynamically adjusting max concurrency (#102)
  • e2470f0 chore(taskgroup): add test to verify waiting tasks counter
  • e2fee68 feat(pool): add option to bound task queue (v2) (#99)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/alitto/pond/v2](https://github.com/alitto/pond) from 2.1.6 to 2.3.2.
- [Release notes](https://github.com/alitto/pond/releases)
- [Commits](alitto/pond@v2.1.6...v2.3.2)

---
updated-dependencies:
- dependency-name: github.com/alitto/pond/v2
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 7, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 17, 2025

Superseded by #25.

@dependabot dependabot bot closed this Apr 17, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/alitto/pond/v2-2.3.2 branch April 17, 2025 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants