[SM-1413] Temporary PR to Showcase 'hyper' Error #955
Closed
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.
๐๏ธ Tracking
https://bitwarden.atlassian.net/browse/SM-1413
๐ Objective
๐จ Do Not Merge This PR ๐จ
The goal of this PR is to allow a developer to easily reproduce a potential bug with hyper that we are running into.
Description
When running concurrent requests using the same client from the Go SDK binding, execution stops for at least one of the threads at runtime with the following error:
runtime dropped the dispatch task
.Replication Steps
cargo build
from rootnpm run schemas
from rootsdk/target/debug/libbitwarden_c.a
to thesdk/languages/go/internal/cinterface/lib/{arch}
folder, where{arch}
is your CPU architecture.darwin-arm64
sdk/languages/go/example/example.go
file:OrganizationId
AccessToken
statePath
sdk/languages/go/example
, rungo build
sdk/languages/go/example
, run./example > go-log.txt 2>&1
Open the
go-log.txt
file and you should find something similar to the following (certain data redacted and replaced withx
):โฐ Reminders before review
team
๐ฆฎ Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or โน๏ธ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or ๐ญ (:thought_balloon:
) for more open inquiry that's not quite a confirmedissue and could potentially benefit from discussion
:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or โป๏ธ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes