Skip to content

Develop#52

Merged
gowthamrao merged 2 commits into
mainfrom
develop
Jan 31, 2026
Merged

Develop#52
gowthamrao merged 2 commits into
mainfrom
develop

Conversation

@gowthamrao
Copy link
Copy Markdown
Contributor

  • Bump up version
  • Added microservices

gowthamrao and others added 2 commits January 29, 2026 17:09
* feat: containerize coreason-optimizer as microservice

- Add fastapi and uvicorn dependencies
- Define AgentDefinition and OptimizationRequest schemas
- Implement server.py with DynamicConstruct adapter and Bridged clients
- Update Dockerfile to run uvicorn
- Add server tests

Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>

* feat: containerize coreason-optimizer as microservice

- Add fastapi and uvicorn dependencies
- Define AgentDefinition and OptimizationRequest schemas
- Implement server.py with DynamicConstruct adapter and Bridged clients
- Update Dockerfile to run uvicorn
- Add server tests
- Fix linting and typing issues in server code

Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>

* fix(ci): address linting, typing, and coverage issues in server implementation

- Fix `B904` linting errors in `server.py` by adding `from e`.
- Fix Mypy `no-any-return` errors in `server.py` using `cast`.
- Fix Mypy errors in `tests/test_server_basic.py` (return types, indexing).
- Add `test_optimize_semantic_success` to improve coverage of the semantic selector path in `server.py`.
- Apply code formatting via `ruff`.
- Achieve 100% test coverage.

Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>

* feat: containerize coreason-optimizer as microservice

- Add fastapi and uvicorn dependencies
- Define AgentDefinition and OptimizationRequest schemas
- Implement server.py with DynamicConstruct adapter and Bridged clients
- Update Dockerfile to run uvicorn
- Add server tests
- Fix linting and typing issues in server code (B904, Mypy)
- Apply ruff formatting and sorting imports

Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@gowthamrao gowthamrao merged commit ec5af08 into main Jan 31, 2026
19 of 20 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.

2 participants