Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9c0a366
conformance: init conformance
zchee Feb 25, 2025
b8c182f
conformance: client
tsubakiky Mar 25, 2025
7e9d49c
protocol_connect: add fallback error
tsubakiky Mar 25, 2025
b7ec944
protocol_connect: add code from string func
tsubakiky Mar 25, 2025
45b7820
protocol_connect: support timeout for clinet
tsubakiky Mar 25, 2025
cb53783
service_connect: support enable get
tsubakiky Mar 25, 2025
c2b56c9
protocol_connect: fix compression check
tsubakiky Mar 26, 2025
0b8979f
connect: fix header initialize
tsubakiky Mar 26, 2025
4f0954a
protocol_connect: error validation for end stream json
tsubakiky Mar 26, 2025
6b023a9
protocol_connect: fix client stream messages
tsubakiky Mar 26, 2025
d8bacf8
protocol_connect: add validation for response content-type
tsubakiky Mar 26, 2025
0d1aee4
protocol_connect: fix streaming timeout
tsubakiky Mar 26, 2025
2dec362
connect: validation for recieve stream response
tsubakiky Mar 26, 2025
879acd8
conformance: support client certs
tsubakiky Mar 26, 2025
4cfd58a
conformance: support bidi
tsubakiky Mar 26, 2025
8cc709b
fix lint
tsubakiky Mar 26, 2025
4ba286f
conformance: wait pending tasks
tsubakiky Mar 26, 2025
b7b5564
conformance: server
tsubakiky Mar 28, 2025
b55289c
protocol_connect: error response with application/json
tsubakiky Mar 28, 2025
8b896f0
protocol_connect: fix trailer-header
tsubakiky Mar 28, 2025
9051d1d
handler: error handling not implemented error
tsubakiky Mar 28, 2025
3d4dc47
conformance: add known failing list
tsubakiky Mar 29, 2025
a3be900
conformance: enable get method for server
tsubakiky Mar 29, 2025
fc0636d
server_config: add option
tsubakiky Mar 29, 2025
f6f860c
conformance: support client stream
tsubakiky Mar 29, 2025
d4ba71d
conformance: fix client stream handle
tsubakiky Mar 29, 2025
8796f99
conformance: support server stream
tsubakiky Mar 29, 2025
eafb988
connect: receive message validation
tsubakiky Mar 29, 2025
d341571
conformance: fix server runner
tsubakiky Mar 29, 2025
f8f8b96
conformance: support half bidi stream
tsubakiky Mar 29, 2025
1f84ffe
conformance: rm log
tsubakiky Mar 29, 2025
3895fef
options: add merge method for options
tsubakiky Apr 2, 2025
c5efec5
conformance: remove unused code
tsubakiky Apr 2, 2025
918d9d5
client: support bidi stream
tsubakiky Apr 2, 2025
aa39db6
conformance: rm run-test-case.txt
tsubakiky Apr 2, 2025
2b94a46
conformance: add lint and format
tsubakiky Apr 2, 2025
b9134f4
conformance: update pyproject.toml
tsubakiky Apr 2, 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
1 change: 1 addition & 0 deletions conformance/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.13
13 changes: 13 additions & 0 deletions conformance/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.PHONY: all
all: proto

../bin/protoc-gen-connect-python:
@go build -o ../bin/protoc-gen-connect-python -v ../cmd/protoc-gen-connect-python

.PHONY: proto
proto: ../bin/protoc-gen-connect-python
@buf generate --debug -v buf.build/connectrpc/conformance:v1.0.4

.PHONY: clean
clean:
@rm -rf gen ../bin/protoc-gen-connect-python
21 changes: 21 additions & 0 deletions conformance/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/zchee/schema/refs/heads/main/buf.gen.schema.json
version: v2

managed:
enabled: true
override:
- file_option: go_package_prefix
value: github.com/gaudiy/connect-python/conformance/gen

plugins:
- remote: buf.build/protocolbuffers/python
out: gen

- remote: buf.build/protocolbuffers/pyi
out: gen

- local: ../bin/protoc-gen-connect-python
out: gen
opt:
- paths=source_relative
25 changes: 25 additions & 0 deletions conformance/client_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
features:
versions:
- HTTP_VERSION_1
- HTTP_VERSION_2
protocols:
- PROTOCOL_CONNECT
codecs:
- CODEC_PROTO
compressions:
- COMPRESSION_IDENTITY
- COMPRESSION_GZIP
stream_types:
- STREAM_TYPE_UNARY
- STREAM_TYPE_CLIENT_STREAM
- STREAM_TYPE_SERVER_STREAM
- STREAM_TYPE_HALF_DUPLEX_BIDI_STREAM
- STREAM_TYPE_FULL_DUPLEX_BIDI_STREAM

supports_h2c: true
supports_tls: true
supports_tls_client_certs: true
supports_trailers: true
supports_half_duplex_bidi_over_http1: true
supports_connect_get: true
supports_message_receive_limit: true
2 changes: 2 additions & 0 deletions conformance/client_known_failing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Cancellation is not supported yet
Client Cancellation/**
Loading