-
Notifications
You must be signed in to change notification settings - Fork 9
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
Use append() for writing telemetry lock to file #585
Conversation
Otherwise we see spurious race conditions where the file is opened twice and one thread is overwriting to the start of the file. And lock cbindgen version for CI.
BenchmarksComparisonBenchmark execution time: 2024-08-12 15:44:34 Comparing candidate commit cc052c7 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 50 metrics, 2 unstable metrics. CandidateCandidate benchmark detailsGroup 1
Group 2
Group 3
Group 4
Group 5
Group 6
Group 7
Group 8
Group 9
Group 10
Group 11
BaselineOmitted due to size. |
@@ -60,7 +60,7 @@ ENV PATH="/root/.cargo/bin:$PATH" | |||
ARG CARGO_BUILD_INCREMENTAL | |||
ARG CARGO_NET_RETRY | |||
ENV CARGO_NET_RETRY="${CARGO_NET_RETRY}" | |||
RUN cargo install cbindgen && cargo install bindgen-cli --locked && rm -rf /root/.cargo/registry /root/.cargo/git | |||
RUN cargo install cbindgen --version "^0.26" && cargo install bindgen-cli --locked && rm -rf /root/.cargo/registry /root/.cargo/git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this specify a version for bindgen-cli
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #585 +/- ##
=======================================
Coverage 71.26% 71.27%
=======================================
Files 220 220
Lines 29924 29929 +5
=======================================
+ Hits 21326 21331 +5
Misses 8598 8598
|
Otherwise we see spurious race conditions where the file is opened twice and one thread is overwriting to the start of the file. And lock cbindgen version for CI.
Otherwise we see spurious race conditions where the file is opened twice and one thread is overwriting to the start of the file.
And lock cbindgen version for CI.