Skip to content

fix: bug in disable history streaming#1329

Merged
luislhl merged 1 commit intomasterfrom
fix/disable-history-streaming
Jul 23, 2025
Merged

fix: bug in disable history streaming#1329
luislhl merged 1 commit intomasterfrom
fix/disable-history-streaming

Conversation

@luislhl
Copy link
Contributor

@luislhl luislhl commented Jul 21, 2025

Motivation

There is a possible bug path that could generate an infinite recursion.

It apparently doesn't manifest just because there are no connections yet when the function is called.

Acceptance Criteria

  • Current connections should correctly disable the history streaming

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

@luislhl luislhl changed the title fix: bug in disable history streming fix: bug in disable history streaming Jul 21, 2025
@luislhl luislhl self-assigned this Jul 21, 2025
@luislhl luislhl moved this from Todo to In Progress (Done) in Hathor Network Jul 21, 2025
@github-project-automation github-project-automation bot moved this from In Progress (Done) to In Review (WIP) in Hathor Network Jul 21, 2025
@luislhl luislhl enabled auto-merge (squash) July 21, 2025 18:55
@luislhl luislhl moved this from In Review (WIP) to In Review (Done) in Hathor Network Jul 21, 2025
@github-actions
Copy link

github-actions bot commented Jul 21, 2025

🐰 Bencher Report

Branchfix/disable-history-streaming
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.75 m
(+7.09%)Baseline: 1.64 m
1.47 m
(84.04%)
1.80 m
(97.35%)
🐰 View full continuous benchmarking report in Bencher

@codecov
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.58%. Comparing base (2731fc5) to head (8e3d232).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
hathor/websocket/factory.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1329      +/-   ##
==========================================
- Coverage   85.59%   85.58%   -0.02%     
==========================================
  Files         424      424              
  Lines       31994    31994              
  Branches     4971     4971              
==========================================
- Hits        27386    27382       -4     
  Misses       3608     3608              
- Partials     1000     1004       +4     

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

@luislhl luislhl force-pushed the fix/disable-history-streaming branch from a808b1f to 8e3d232 Compare July 23, 2025 15:01
@luislhl luislhl merged commit 4935e56 into master Jul 23, 2025
8 checks passed
@luislhl luislhl deleted the fix/disable-history-streaming branch July 23, 2025 15:36
@github-project-automation github-project-automation bot moved this from In Review (Done) to Waiting to be deployed in Hathor Network Jul 23, 2025
@jansegre jansegre moved this from Waiting to be deployed to Done in Hathor Network Aug 5, 2025
This was referenced Aug 5, 2025
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