Skip to content

chore: add make fix-rocksdb command#1254

Merged
glevco merged 1 commit intomasterfrom
chore/make-fix-rocksdb
Apr 3, 2025
Merged

chore: add make fix-rocksdb command#1254
glevco merged 1 commit intomasterfrom
chore/make-fix-rocksdb

Conversation

@glevco
Copy link
Contributor

@glevco glevco commented Apr 1, 2025

Motivation

Sometimes when rocksdb is upgraded, the python-rocksdb bindings installation stops working, and a simple reinstall with --no-binary fixes it. This PR adds this command to the Makefile so it's easier for new devs to deal with this.

PS: Poetry does support the no-binary option as a local config, but I couldn't get it to work. It seems it doesn't work with dependencies from git.

Acceptance Criteria

  • Add make fix-rocksdb command.

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco self-assigned this Apr 1, 2025
@glevco glevco requested review from jansegre and msbrogli as code owners April 1, 2025 22:10
@glevco glevco moved this from Todo to In Progress (Done) in Hathor Network Apr 1, 2025
@github-actions
Copy link

github-actions bot commented Apr 1, 2025

🐰 Bencher Report

Branchchore/make-fix-rocksdb
Testbedubuntu-22.04
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
minutes (m)
(Result Δ%)
Lower Boundary
minutes (m)
(Limit %)
Upper Boundary
minutes (m)
(Limit %)
sync-v2 (up to 20000 blocks)📈 view plot
🚷 view threshold
1.70 m
(+4.14%)Baseline: 1.63 m
1.47 m
(86.42%)
1.80 m
(94.67%)
🐰 View full continuous benchmarking report in Bencher

@codecov
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.10%. Comparing base (95bb366) to head (d95cd64).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1254      +/-   ##
==========================================
+ Coverage   84.08%   84.10%   +0.01%     
==========================================
  Files         311      311              
  Lines       23869    23869              
  Branches     3651     3651              
==========================================
+ Hits        20070    20074       +4     
+ Misses       3080     3076       -4     
  Partials      719      719              

☔ 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.

@glevco glevco moved this from In Progress (Done) to In Review (WIP) in Hathor Network Apr 1, 2025
@msbrogli msbrogli moved this from In Review (WIP) to In Review (Done) in Hathor Network Apr 2, 2025
@glevco glevco force-pushed the chore/make-fix-rocksdb branch from bd08c17 to 919fdab Compare April 3, 2025 16:36
@glevco glevco force-pushed the chore/make-fix-rocksdb branch from 919fdab to d95cd64 Compare April 3, 2025 17:22
@glevco glevco merged commit ebc723e into master Apr 3, 2025
10 checks passed
@glevco glevco deleted the chore/make-fix-rocksdb branch April 3, 2025 18:37
@github-project-automation github-project-automation bot moved this from In Review (Done) to Waiting to be deployed in Hathor Network Apr 3, 2025
@jansegre jansegre mentioned this pull request Jul 22, 2025
2 tasks
@jansegre jansegre moved this from Waiting to be deployed to Done in Hathor Network Jul 22, 2025
@jansegre jansegre mentioned this pull request Aug 7, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants