Skip to content

refactor: remove gRPC/ZMQ service + Docker (single-process app) - #7

Merged
jaewonyun1234 merged 1 commit into
mainfrom
feat/synthetic-only-animated-map
Jun 23, 2026
Merged

jaewonyun1234 merged 1 commit into
mainfrom
feat/synthetic-only-animated-map

Conversation

@jaewonyun1234

Copy link
Copy Markdown
Owner

The CP-SAT solve now runs in-process: SolveWorker calls contrail_env.scenario.solve_scenario directly and wires its progress callback to the Qt signal, so the live convergence curve works with no server and no ZMQ broker. The GUI's config/result types are now plain dataclasses (ScenarioConfig / SolveResult) instead of protobuf messages.

Deletes service/ (server, client, progress, proto, generated), the Docker image + compose + CI docker jobs, scripts/gen_proto.*, and the grpcio/grpcio-tools/pyzmq core deps. The scenario builder moved to contrail_env/scenario.py; tests/test_scenario.py covers the in-process build + solve (replacing the old gRPC round-trip test).

The CP-SAT solve now runs in-process: SolveWorker calls
contrail_env.scenario.solve_scenario directly and wires its progress callback
to the Qt signal, so the live convergence curve works with no server and no
ZMQ broker. The GUI's config/result types are now plain dataclasses
(ScenarioConfig / SolveResult) instead of protobuf messages.

Deletes service/ (server, client, progress, proto, generated), the Docker
image + compose + CI docker jobs, scripts/gen_proto.*, and the
grpcio/grpcio-tools/pyzmq core deps. The scenario builder moved to
contrail_env/scenario.py; tests/test_scenario.py covers the in-process build +
solve (replacing the old gRPC round-trip test).
@jaewonyun1234
jaewonyun1234 merged commit 2b3b54c into main Jun 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant