Skip to content

feat(app): HTTP/Channel/Python app-facing scaffolds - #26

Merged
caixuf merged 2 commits into
mainfrom
feat/app-facing-http-server
Oct 22, 2026
Merged

caixuf merged 2 commits into
mainfrom
feat/app-facing-http-server

Conversation

@caixuf

@caixuf caixuf commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Summary

App-facing track: expand HTTP / Channel / Python demo surfaces with tests. Core sched untouched.

  • HttpServer façade over TcpServer (routes, localhost demos)
  • TcpServer::local_port() for ephemeral ports
  • test_http_client (local stub, CI-safe) + test_http_server
  • Demos: http_client_demo, http_channel_demo, examples/python/channel_pipeline_demo.py

Test plan

  • ./build/tests/test_http_client — 15/15
  • ./build/tests/test_http_server — 16/16
  • ./build/examples/http_client_demo
  • timeout 3 ./build/examples/http_channel_demo
  • python3 examples/python/channel_pipeline_demo.py (build-py + FLOWCORO_BUILD_PYTHON=ON)

Coord: 手术刀; boundaries for 老法师/尺规 review on HttpServer surface.

caixuf added 2 commits October 22, 2026 22:54
Expand app-facing surfaces without touching core sched:
- HttpServer over TcpServer (route table, localhost demos)
- TcpServer::local_port for ephemeral listen
- test_http_client (local stub, no httpbin) + test_http_server
- http_client_demo / http_channel_demo + python channel_pipeline_demo

Verified on WSL: test_http_client 15/15, test_http_server 16/16,
demos + channel_pipeline_demo OK.
- include/flowcoro/app.hpp thin recipes (Http* aliases, pipeline channel, fan_in)
- docs/APP_FACING.md map façade → existing primitives; README link
- examples/app_io_demo (HttpServer + Channel + when_all + honest timings)
- examples/python/app_io_demo.py citing PYTHON_BINDING.md

No sched/core changes. No new wire schema.
@caixuf
caixuf merged commit bd4664d into main Oct 22, 2026
4 of 5 checks 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