Skip to content

Conversation

@dokterbob
Copy link
Contributor

No description provided.

staging-devin-ai-integration bot and others added 16 commits October 20, 2025 16:40
- Add test dependencies (pytest, pytest-asyncio, respx, httpx, langchain-openai)
- Create tests directory with conftest.py for shared fixtures
- Implement test_basic_conversation.py with 2 tests for basic chat flow
- Implement test_single_tool_call.py with 2 tests for single tool invocation
- Implement test_parallel_tool_calls.py with 2 tests for parallel tool calls
- Mock OpenAI API using respx based on OpenAPI spec
- Make get_model configurable via environment variables
- Add moon backend:test task to run pytest
- All tests pass with proper async handling and type checking

Co-Authored-By: Mathijs de Bruin <mathijs@mathijsfietst.nl>
- Update imports to use new svelte_langgraph package structure
- Merge test dependencies with main branch changes
- Update uv.lock with merged dependencies
- All tests still passing

Co-Authored-By: Mathijs de Bruin <mathijs@mathijsfietst.nl>
Co-Authored-By: Mathijs de Bruin <mathijs@mathijsfietst.nl>
Co-Authored-By: Mathijs de Bruin <mathijs@mathijsfietst.nl>
- Remove langchain-openai from dev dependencies (already in runtime deps)
- Extract OPENAI_TEST_BASE_URL constant to reduce duplication
- Create helper functions for OpenAI mock responses (make_tool_call, make_message, make_choice, make_completion_response)
- Consolidate test files into tests/svelte_langgraph/test_graph.py following 1:1 module mapping
- All 6 tests pass with cleaner, more readable code

Co-Authored-By: Mathijs de Bruin <mathijs@mathijsfietst.nl>
Co-Authored-By: Mathijs de Bruin <mathijs@mathijsfietst.nl>
…revert moon.yml to direct commands

Co-Authored-By: Mathijs de Bruin <mathijs@mathijsfietst.nl>
Co-Authored-By: Mathijs de Bruin <mathijs@mathijsfietst.nl>
@github-actions
Copy link

github-actions bot commented Oct 24, 2025

Run report for eb61ad6e (1)

Total time: 41s | Comparison time: 33.8s | Estimated loss: 7.3s (17.7% slower)

Action Time Status Info
🟩 SyncWorkspace 10.4ms Passed
🟩 SyncProject(backend) 0.5ms Passed
🟩 SetupProto(0.53.2) 2.1s Passed
⬛️ SetupToolchain(python:~3.12) 1.6s Skipped
🟩 InstallProjectDeps(python:~3.12, backend) 2.8s Passed 2 attempts
🟩 RunTask(backend:lint) 30.3ms Passed
🟩 RunTask(backend:typecheck) 5.3s Passed
🟩 RunTask(backend:build) 29.1s Passed
Environment

OS: Linux
Matrix:

index = 1
Touched files
apps/backend/moon.yml
apps/backend/pyproject.toml
apps/backend/src/svelte_langgraph/graph.py
apps/backend/tests/__init__.py
apps/backend/tests/conftest.py
apps/backend/tests/svelte_langgraph/test_graph.py
apps/backend/uv.lock

@github-actions
Copy link

github-actions bot commented Oct 24, 2025

Run report for eb61ad6e (0)

Total time: 1m 19s | Comparison time: 1m 32s | Estimated savings: 13.6s (14.7% faster)

Action Time Status Info
🟩 SyncWorkspace 11.6ms Passed
🟩 SyncProject(backend) 0.6ms Passed
🟩 SetupProto(0.53.2) 1.4s Passed
⬛️ SetupToolchain(python:~3.12) 1.6s Skipped
🟩 InstallProjectDeps(python:~3.12, backend) 2.5s Passed 2 attempts
🟩 RunTask(backend:format) 37.4ms Passed
🟩 RunTask(backend:lint) 38.9ms Passed
🟩 RunTask(backend:typecheck) 5.3s Passed
🟩 RunTask(backend:build) 25.4s Passed
🟩 RunTask(backend:test) 1m 13s Passed
Environment

OS: Linux
Matrix:

index = 0
Touched files
apps/backend/moon.yml
apps/backend/pyproject.toml
apps/backend/src/svelte_langgraph/graph.py
apps/backend/tests/__init__.py
apps/backend/tests/conftest.py
apps/backend/tests/svelte_langgraph/test_graph.py
apps/backend/uv.lock

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