-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Protect RenderBlank() and IsFinished() with the lock #164
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RenderBlank() calls render() which requires the mutex to be held. IsFinished accesses p.state, which also requires the mutex to be held
renovate bot
referenced
this pull request
in nobl9/sloctl
Feb 24, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) | `v3.14.1` -> `v3.14.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.1/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.1/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>schollz/progressbar (github.com/schollz/progressbar/v3)</summary> ### [`v3.14.2`](https://github.com/schollz/progressbar/releases/tag/v3.14.2) [Compare Source](https://github.com/schollz/progressbar/compare/v3.14.1...v3.14.2) #### What's Changed - Add pacman example gif by [@​OlegChuev](https://github.com/OlegChuev) in [https://github.com/schollz/progressbar/pull/174](https://github.com/schollz/progressbar/pull/174) - 📝docs: Add a library definition for ansi by [@​eogns47](https://github.com/eogns47) in [https://github.com/schollz/progressbar/pull/173](https://github.com/schollz/progressbar/pull/173) - Add more properties to State by [@​treuherz](https://github.com/treuherz) in [https://github.com/schollz/progressbar/pull/170](https://github.com/schollz/progressbar/pull/170) - fix: Protect RenderBlank() and IsFinished() with the lock by [@​RichieSams](https://github.com/RichieSams) in [https://github.com/schollz/progressbar/pull/164](https://github.com/schollz/progressbar/pull/164) #### New Contributors - [@​OlegChuev](https://github.com/OlegChuev) made their first contribution in [https://github.com/schollz/progressbar/pull/174](https://github.com/schollz/progressbar/pull/174) - [@​eogns47](https://github.com/eogns47) made their first contribution in [https://github.com/schollz/progressbar/pull/173](https://github.com/schollz/progressbar/pull/173) - [@​treuherz](https://github.com/treuherz) made their first contribution in [https://github.com/schollz/progressbar/pull/170](https://github.com/schollz/progressbar/pull/170) - [@​RichieSams](https://github.com/RichieSams) made their first contribution in [https://github.com/schollz/progressbar/pull/164](https://github.com/schollz/progressbar/pull/164) **Full Changelog**: schollz/progressbar@v3.14.1...v3.14.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/nobl9/sloctl). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot
referenced
this pull request
in cloudquery/plugin-pb-go
Apr 1, 2024
…#289) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) | require | minor | `v3.13.1` -> `v3.14.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>schollz/progressbar (github.com/schollz/progressbar/v3)</summary> ### [`v3.14.2`](https://github.com/schollz/progressbar/releases/tag/v3.14.2) [Compare Source](https://github.com/schollz/progressbar/compare/v3.14.1...v3.14.2) #### What's Changed - Add pacman example gif by [@​OlegChuev](https://github.com/OlegChuev) in [https://github.com/schollz/progressbar/pull/174](https://github.com/schollz/progressbar/pull/174) - 📝docs: Add a library definition for ansi by [@​eogns47](https://github.com/eogns47) in [https://github.com/schollz/progressbar/pull/173](https://github.com/schollz/progressbar/pull/173) - Add more properties to State by [@​treuherz](https://github.com/treuherz) in [https://github.com/schollz/progressbar/pull/170](https://github.com/schollz/progressbar/pull/170) - fix: Protect RenderBlank() and IsFinished() with the lock by [@​RichieSams](https://github.com/RichieSams) in [https://github.com/schollz/progressbar/pull/164](https://github.com/schollz/progressbar/pull/164) #### New Contributors - [@​OlegChuev](https://github.com/OlegChuev) made their first contribution in [https://github.com/schollz/progressbar/pull/174](https://github.com/schollz/progressbar/pull/174) - [@​eogns47](https://github.com/eogns47) made their first contribution in [https://github.com/schollz/progressbar/pull/173](https://github.com/schollz/progressbar/pull/173) - [@​treuherz](https://github.com/treuherz) made their first contribution in [https://github.com/schollz/progressbar/pull/170](https://github.com/schollz/progressbar/pull/170) - [@​RichieSams](https://github.com/RichieSams) made their first contribution in [https://github.com/schollz/progressbar/pull/164](https://github.com/schollz/progressbar/pull/164) **Full Changelog**: schollz/progressbar@v3.14.1...v3.14.2 ### [`v3.14.1`](https://github.com/schollz/progressbar/releases/tag/v3.14.1) [Compare Source](https://github.com/schollz/progressbar/compare/v3.14.0...v3.14.1) (pi release) **Full Changelog**: schollz/progressbar@v3.14.0...v3.14.1 ### [`v3.14.0`](https://github.com/schollz/progressbar/releases/tag/v3.14.0) [Compare Source](https://github.com/schollz/progressbar/compare/v3.13.1...v3.14.0) #### What's Changed - change library to get rune width by [@​tukaelu](https://github.com/tukaelu) in [https://github.com/schollz/progressbar/pull/169](https://github.com/schollz/progressbar/pull/169) - Fix SI units calculation and introduce OptionUseIECUnits() by [@​edigaryev](https://github.com/edigaryev) in [https://github.com/schollz/progressbar/pull/167](https://github.com/schollz/progressbar/pull/167) #### New Contributors - [@​tukaelu](https://github.com/tukaelu) made their first contribution in [https://github.com/schollz/progressbar/pull/169](https://github.com/schollz/progressbar/pull/169) - [@​edigaryev](https://github.com/edigaryev) made their first contribution in [https://github.com/schollz/progressbar/pull/167](https://github.com/schollz/progressbar/pull/167) **Full Changelog**: schollz/progressbar@v3.13.1...v3.14.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjI3OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
BSski
referenced
this pull request
in nobl9/sloctl
May 7, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) | `v3.14.1` -> `v3.14.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.1/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.1/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>schollz/progressbar (github.com/schollz/progressbar/v3)</summary> ### [`v3.14.2`](https://github.com/schollz/progressbar/releases/tag/v3.14.2) [Compare Source](https://github.com/schollz/progressbar/compare/v3.14.1...v3.14.2) #### What's Changed - Add pacman example gif by [@​OlegChuev](https://github.com/OlegChuev) in [https://github.com/schollz/progressbar/pull/174](https://github.com/schollz/progressbar/pull/174) - 📝docs: Add a library definition for ansi by [@​eogns47](https://github.com/eogns47) in [https://github.com/schollz/progressbar/pull/173](https://github.com/schollz/progressbar/pull/173) - Add more properties to State by [@​treuherz](https://github.com/treuherz) in [https://github.com/schollz/progressbar/pull/170](https://github.com/schollz/progressbar/pull/170) - fix: Protect RenderBlank() and IsFinished() with the lock by [@​RichieSams](https://github.com/RichieSams) in [https://github.com/schollz/progressbar/pull/164](https://github.com/schollz/progressbar/pull/164) #### New Contributors - [@​OlegChuev](https://github.com/OlegChuev) made their first contribution in [https://github.com/schollz/progressbar/pull/174](https://github.com/schollz/progressbar/pull/174) - [@​eogns47](https://github.com/eogns47) made their first contribution in [https://github.com/schollz/progressbar/pull/173](https://github.com/schollz/progressbar/pull/173) - [@​treuherz](https://github.com/treuherz) made their first contribution in [https://github.com/schollz/progressbar/pull/170](https://github.com/schollz/progressbar/pull/170) - [@​RichieSams](https://github.com/RichieSams) made their first contribution in [https://github.com/schollz/progressbar/pull/164](https://github.com/schollz/progressbar/pull/164) **Full Changelog**: schollz/progressbar@v3.14.1...v3.14.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/nobl9/sloctl). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
inquestruss
referenced
this pull request
in boatkit-io/n2k
May 7, 2024
…#25) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) | `v3.13.1` -> `v3.14.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fschollz%2fprogressbar%2fv3/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fschollz%2fprogressbar%2fv3/v3.13.1/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fschollz%2fprogressbar%2fv3/v3.13.1/v3.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>schollz/progressbar (github.com/schollz/progressbar/v3)</summary> ### [`v3.14.2`](https://github.com/schollz/progressbar/releases/tag/v3.14.2) [Compare Source](https://github.com/schollz/progressbar/compare/v3.14.1...v3.14.2) #### What's Changed - Add pacman example gif by [@​OlegChuev](https://github.com/OlegChuev) in [https://github.com/schollz/progressbar/pull/174](https://github.com/schollz/progressbar/pull/174) - 📝docs: Add a library definition for ansi by [@​eogns47](https://github.com/eogns47) in [https://github.com/schollz/progressbar/pull/173](https://github.com/schollz/progressbar/pull/173) - Add more properties to State by [@​treuherz](https://github.com/treuherz) in [https://github.com/schollz/progressbar/pull/170](https://github.com/schollz/progressbar/pull/170) - fix: Protect RenderBlank() and IsFinished() with the lock by [@​RichieSams](https://github.com/RichieSams) in [https://github.com/schollz/progressbar/pull/164](https://github.com/schollz/progressbar/pull/164) #### New Contributors - [@​OlegChuev](https://github.com/OlegChuev) made their first contribution in [https://github.com/schollz/progressbar/pull/174](https://github.com/schollz/progressbar/pull/174) - [@​eogns47](https://github.com/eogns47) made their first contribution in [https://github.com/schollz/progressbar/pull/173](https://github.com/schollz/progressbar/pull/173) - [@​treuherz](https://github.com/treuherz) made their first contribution in [https://github.com/schollz/progressbar/pull/170](https://github.com/schollz/progressbar/pull/170) - [@​RichieSams](https://github.com/RichieSams) made their first contribution in [https://github.com/schollz/progressbar/pull/164](https://github.com/schollz/progressbar/pull/164) **Full Changelog**: schollz/progressbar@v3.14.1...v3.14.2 ### [`v3.14.1`](https://github.com/schollz/progressbar/releases/tag/v3.14.1) [Compare Source](https://github.com/schollz/progressbar/compare/v3.14.0...v3.14.1) (pi release) **Full Changelog**: schollz/progressbar@v3.14.0...v3.14.1 ### [`v3.14.0`](https://github.com/schollz/progressbar/releases/tag/v3.14.0) [Compare Source](https://github.com/schollz/progressbar/compare/v3.13.1...v3.14.0) #### What's Changed - change library to get rune width by [@​tukaelu](https://github.com/tukaelu) in [https://github.com/schollz/progressbar/pull/169](https://github.com/schollz/progressbar/pull/169) - Fix SI units calculation and introduce OptionUseIECUnits() by [@​edigaryev](https://github.com/edigaryev) in [https://github.com/schollz/progressbar/pull/167](https://github.com/schollz/progressbar/pull/167) #### New Contributors - [@​tukaelu](https://github.com/tukaelu) made their first contribution in [https://github.com/schollz/progressbar/pull/169](https://github.com/schollz/progressbar/pull/169) - [@​edigaryev](https://github.com/edigaryev) made their first contribution in [https://github.com/schollz/progressbar/pull/167](https://github.com/schollz/progressbar/pull/167) **Full Changelog**: schollz/progressbar@v3.13.1...v3.14.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/boatkit-io/n2k). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjAwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RenderBlank() calls render() which requires the mutex to be held. IsFinished accesses p.state, which also requires the mutex to be held.