Skip to content

Commit 443c051

Browse files
andrewm4894claude
andcommitted
Remove obsolete gRPC test as gRPC is no longer used by default
- Remove test_architecture_grpc_section_exists since gRPC code server is no longer the default architecture - This aligns with recent changes to use gRPC-free architecture by default 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 2cdfd01 commit 443c051

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

tests/test_docs_links.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,6 @@ def test_docusaurus_build_succeeds():
4242
pytest.skip("yarn not available. Install Node.js and yarn to run this test.")
4343

4444

45-
def test_architecture_grpc_section_exists():
46-
"""Test that the gRPC opt-in section exists in ARCHITECTURE.md."""
47-
repo_root = Path(__file__).parent.parent
48-
architecture_file = repo_root / "ARCHITECTURE.md"
49-
50-
if not architecture_file.exists():
51-
pytest.skip("ARCHITECTURE.md not found")
52-
53-
with open(architecture_file, 'r', encoding='utf-8') as f:
54-
content = f.read()
55-
56-
# Check that the gRPC section exists
57-
assert "### Advanced: gRPC Code Server (Optional)" in content, \
58-
"ARCHITECTURE.md should contain the gRPC opt-in section"
59-
60-
# Check that it mentions the anchor that docs link to
61-
assert "advanced-grpc-code-server-optional" in content.lower().replace(' ', '-').replace(':', ''), \
62-
"gRPC section should be linkable with the expected anchor"
6345

6446

6547
if __name__ == "__main__":
@@ -68,12 +50,6 @@ def test_architecture_grpc_section_exists():
6850

6951
print("🔍 Testing Docusaurus documentation...")
7052

71-
try:
72-
test_architecture_grpc_section_exists()
73-
print("✅ gRPC section test passed")
74-
except Exception as e:
75-
print(f"❌ gRPC section test failed: {e}")
76-
sys.exit(1)
7753

7854
try:
7955
test_docusaurus_build_succeeds()

0 commit comments

Comments
 (0)