grpc_execution

command
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Authenticated Go and Python gRPC Clients

Both clients execute the shared order-review scenario over the shipped gRPC service. They default to verified TLS and use EFFECTUS_API_TOKEN for bearer authentication. They print the explicit execution state, generation digest, and admission/completion fields.

Use the client guide for prerequisites, Python bindings, service setup, options, output, and retry behavior. Use the gRPC reference for daemon configuration and supported request fields.

Automated local gate

From the repository root, with the Go toolchain and Python 3.10 or later:

python3 -m venv .tools/grpc-example-venv
.tools/grpc-example-venv/bin/python -m pip install -r examples/grpc_execution/requirements.txt
EFFECTUS_EXAMPLE_PYTHON="$PWD/.tools/grpc-example-venv/bin/python" \
  go test -race -count=1 -timeout=90s -v ./examples/grpc_execution

The gate creates a matching loopback service, example executor, token, and test certificates. It runs both client programs and checks authentication, cross-language replay, conflict rejection, TLS trust, and hostname verification. It generates Python bindings from the current protos in a temporary directory. No database, Docker stack, or operator credentials are used.

Without the interpreter variable, Go tests explicitly skip Python validation. A selected interpreter with missing requirements fails instead of skipping.

The fixture uses in-memory state and counts executor calls. It does not implement or certify durable destination deduplication, fencing, or crash recovery. For a persistent daemon, follow the service setup in the client guide instead.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL