Merge new implementation of robot ri api with unit tests into dev. #6

Merged
9828273 merged 39 commits from feat/cb2ui-robot-connections into dev 2025-10-28 13:49:41 +00:00

39 Commits

Author SHA1 Message Date
Björn Otgaar
158911b134 fix: change conftest place
ref: N25B-205
2025-10-28 14:38:31 +01:00
Björn Otgaar
2b8a396766 fix: just dont do integration tests. :(
ref: N25B-205
2025-10-28 14:27:46 +01:00
Björn Otgaar
bea6bf2a60 fix: Reverted to different branch and updated gitlab cicd for this branch
ref: N25B-205
2025-10-28 14:18:55 +01:00
Björn Otgaar
e196609e64 Revert "fix: fix only group integration testing to exclude missing dependencies"
This reverts commit c75f5de97c.
2025-10-28 14:16:58 +01:00
Björn Otgaar
fd11e63b78 Revert "fix: unit test refactoring with conftest and more mocks"
This reverts commit 423309e063.
2025-10-28 14:16:39 +01:00
Björn Otgaar
437b21a6d6 Revert "fix: quick fix for pydantic import for tests"
This reverts commit acb6a69467.
2025-10-28 14:16:15 +01:00
Björn Otgaar
a1b8a7a05e Revert "fix: quick fix for fastapi import for tests"
This reverts commit 3730943b9e.
2025-10-28 14:14:33 +01:00
Björn Otgaar
3730943b9e fix: quick fix for fastapi import for tests
ref: N25B-205
2025-10-28 13:30:15 +01:00
Björn Otgaar
acb6a69467 fix: quick fix for pydantic import for tests
Ref: N25B-205
2025-10-28 13:28:38 +01:00
Björn Otgaar
423309e063 fix: unit test refactoring with conftest and more mocks
ref: N25B-205
2025-10-28 13:26:33 +01:00
Björn Otgaar
c75f5de97c fix: fix only group integration testing to exclude missing dependencies
ref: N25B-205
2025-10-28 12:20:43 +01:00
Björn Otgaar
473c0fdce1 fix: fix gitlab ci pipeline
ref: N25B-205
2025-10-28 12:07:42 +01:00
Björn Otgaar
47a87d0b4a fix: unit tests fixes and ruff formating
N25B-205
2025-10-28 11:31:05 +01:00
Björn Otgaar
52faa59184 Merge remote-tracking branch 'origin/dev' into feat/cb2ui-robot-connections 2025-10-28 11:09:23 +01:00
Björn Otgaar
149d20e77b chore: apply recommended changes for merging 2025-10-28 11:05:27 +01:00
Björn Otgaar
31e77de26b chore: fix style guide max characters 2025-10-23 17:12:49 +02:00
Björn Otgaar
c1217a9017 fix: fixed duplicate entry in uv.lock
ref: N25B-205
2025-10-23 17:02:17 +02:00
Björn Otgaar
87bd12d7a5 fix: restructure tests for integration
ref: N25B-205
2025-10-23 16:54:25 +02:00
Björn Otgaar
d599f71c8a Merge remote-tracking branch 'origin/dev' into feat/cb2ui-robot-connections 2025-10-23 16:48:04 +02:00
Björn Otgaar
a2a04740e5 chore: add unit test for router and implement command router
ref: N25B-205
2025-10-23 16:45:41 +02:00
Björn Otgaar
1f8d769762 chore: adjust message/command structure and write unit tests
ref: N25B-205
2025-10-23 12:54:53 +02:00
Björn Otgaar
530fc42c50 fix: router changes + hopefully gitignore
ref: N25B-205
2025-10-22 12:50:29 +02:00
Björn Otgaar
d71cb60523 fix: gitignore + testing map structure
ref: N25B-205
2025-10-22 12:41:47 +02:00
Björn Otgaar
77c6704632 fix: unit tests changes to account for address changes
ref: N25B-205
2025-10-22 11:12:58 +02:00
Björn Otgaar
63590bd5a3 fix: change address based on binding, bind ports dont use localhost.
ref: N25B-205
2025-10-22 11:09:58 +02:00
Björn Otgaar
4638980b31 Merge branch'origin/dev' into feat/cb2ui-robot-connections 2025-10-22 10:34:36 +02:00
Björn Otgaar
154719bf84 chore: add extra function description 2025-10-22 10:32:41 +02:00
Björn Otgaar
3d7ef2b874 feat: agent structure and implementation new
architecture with unit tests

ref: N25B-205
2025-10-22 10:28:48 +02:00
Björn Otgaar
2cacf17023 Merge remote-tracking branch 'origin/feat/agentic-architecture' into feat/cb2ui-robot-connections 2025-10-15 12:23:35 +02:00
Björn Otgaar
6ebdde3836 feat: automatically pings RI for disconnection,
handles disconnection events and sends
disconenction messages to UI.

ref: N25B-151
2025-10-08 14:33:23 +02:00
Björn Otgaar
ed064b2477 fix: doesn't crash your entire WSL system when
running.
2025-10-07 18:30:39 +02:00
Björn Otgaar
9c7e3cd0dc feat: initial setup of SUB/PUB ports with json
handling of sub messages and message queue to UI

ref: N25B-151.
2025-10-07 16:23:37 +02:00
6e7c78e888 docs: add comments 2025-09-27 10:36:59 +02:00
Kasper
116ca3dd10 chore: update dependencies
Removed the dependency on sse_starlette, as it was no longer needed.
2025-09-27 10:20:23 +02:00
Kasper
6b50ffba6a refactor: use StreamingResponse instead of EventSourceResponse
Use FastAPI's native `StreamingResponse` for less dependencies. This
initially didn't work because I didn't include the additional header
specifying the content type, which is an event stream.

ref: N25B-110
2025-09-27 10:18:39 +02:00
Kasper
fb9cbc5ab9 chore: add .gitignore
Uses a template for Python .gitignore files found
[here](https://github.com/github/gitignore/blob/main/Python.gitignore).
The only change from default is adding the .idea/ folder to the ignored
list (which might not be preferred, we will have to find out).
2025-09-27 10:06:12 +02:00
Kasper
349fcb5ac1 feat: add basic UI2CB and CB2UI communication
The Python application exposes an endpoint /message for the UI to send
messages to.

It also exposes an SSE endpoint /sse for the UI to listen to. Every
second, the CB sends the current time to UI.

ref: N25B-107
ref: N25B-110
2025-09-26 21:44:48 +02:00
Kasper
cc9bfbb777 chore: update dependencies 2025-09-26 21:42:35 +02:00
Kasper
028ec20043 chore: initialize UV repository 2025-09-26 20:36:06 +02:00