Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
47eaa49
feat: changes in stream state
Sahilgill24 Jun 11, 2025
6289975
adding the remove function
Sahilgill24 Jun 17, 2025
9a5e08b
adding the newsfragment
Sahilgill24 Jun 17, 2025
8775dde
Merge branch 'main' into feat/issue-632-adding-stream-state
seetadev Aug 25, 2025
ac7bbcb
Merge branch 'main' into feat/issue-632-adding-stream-state
seetadev Aug 25, 2025
713c7db
Merge branch 'main' into feat/issue-632-adding-stream-state
seetadev Aug 28, 2025
1ac2888
Merge branch 'main' into feat/issue-632-adding-stream-state
seetadev Sep 1, 2025
f5f32ec
feat: adding half stream states
Sahilgill24 Sep 1, 2025
f65186f
feat: changes in stream state
Sahilgill24 Jun 11, 2025
02fadbc
adding the remove function
Sahilgill24 Jun 17, 2025
0df1a40
adding the newsfragment
Sahilgill24 Jun 17, 2025
d23c407
Fix stream state management and identify protocol issues
acul71 Sep 3, 2025
49fd2fe
Merge branch 'main' into feat/issue-632-adding-stream-state
seetadev Sep 4, 2025
d0dd7d5
Merge branch 'main' into feat/issue-632-adding-stream-state
seetadev Sep 4, 2025
a0f2ccc
Merge remote stream state implementation with local test fixes
acul71 Sep 6, 2025
6c02ff7
Merge origin/main into feat/issue-632-adding-stream-state
acul71 Sep 27, 2025
b68e4db
Fix stream state management: handle MuxedStreamError for remote reset
acul71 Sep 27, 2025
146cf14
feat: implement comprehensive stream state management with ERROR state
acul71 Sep 30, 2025
cafe656
feat: add state transition summary and monitoring capabilities
acul71 Sep 30, 2025
f5cf691
fix: resolve CI/CD failures by improving ERROR state handling
acul71 Sep 30, 2025
e2988a6
fix: implement thread-safe NetStream with trio.Lock() to prevent race…
acul71 Oct 6, 2025
08de3d5
Merge remote-tracking branch 'origin/main' into feat/issue-632-adding…
acul71 Oct 6, 2025
66a1f13
Remove unused methods and fix asyncio imports
acul71 Oct 6, 2025
784a5f8
Fix docstring formatting for Read the Docs
acul71 Oct 6, 2025
193e3db
Fix documentation build by adding Python path to Sphinx config
acul71 Oct 6, 2025
0384c41
Merge branch 'main' into feat/issue-632-adding-stream-state
yashksaini-coder Oct 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
# sys.path.insert(0, os.path.abspath('.'))

import doctest
import os
import sys

sys.path.insert(0, os.path.abspath('..'))
from unittest.mock import MagicMock

try:
Expand Down
271 changes: 0 additions & 271 deletions examples/doc-examples/example_net_stream.py

This file was deleted.

7 changes: 5 additions & 2 deletions examples/websocket/test_websocket_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
Simple test script to verify WebSocket transport functionality.
"""

import asyncio
import logging
from pathlib import Path
import sys

# Add the libp2p directory to the path so we can import it
sys.path.insert(0, str(Path(__file__).parent))

import pytest
import multiaddr
import trio

from libp2p.transport import create_transport, create_transport_for_multiaddr
from libp2p.transport.upgrader import TransportUpgrader
Expand All @@ -21,6 +22,7 @@
logger = logging.getLogger(__name__)


@pytest.mark.trio
async def test_websocket_transport():
"""Test basic WebSocket transport functionality."""
print("🧪 Testing WebSocket Transport Functionality")
Expand Down Expand Up @@ -79,6 +81,7 @@ async def test_handler(conn):
return True


@pytest.mark.trio
async def test_transport_registry():
"""Test the transport registry functionality."""
print("\n🔧 Testing Transport Registry")
Expand Down Expand Up @@ -135,7 +138,7 @@ async def main():

if __name__ == "__main__":
try:
asyncio.run(main())
trio.run(main)
except KeyboardInterrupt:
print("\n👋 Test interrupted by user")
except Exception as e:
Expand Down
Loading
Loading