feat(agent): runner engines, server, and tracing - #4774
Closed
mmabrouk wants to merge 3 commits into
Closed
GitHub Actions / Application API Unit Test Results
failed
Jun 19, 2026 in 0s
1 fail, 862 pass in 18s
Annotations
Check warning on line 0 in oss.tests.pytest.unit.services.test_db_manager
github-actions / Application API Unit Test Results
test_get_default_workspace_id_prefers_owner_membership (oss.tests.pytest.unit.services.test_db_manager) failed
api/oss/tests/results/junit.xml [took 0s]
Raw output
AssertionError: assert 'c56f21c8-271...-e44a07498c5d' == 'c0e06ea7-10a...-71ed73b02f03'
- c0e06ea7-10a6-45aa-9f3e-71ed73b02f03
+ c56f21c8-2713-4ded-98d4-e44a07498c5d
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8b4a366430>
@pytest.mark.asyncio
async def test_get_default_workspace_id_prefers_owner_membership(monkeypatch):
owner_workspace_id = uuid4()
editor_workspace_id = uuid4()
_patch_core_session(
monkeypatch,
[
SimpleNamespace(
workspace_id=editor_workspace_id,
role="editor",
created_at=datetime(2026, 4, 9, tzinfo=timezone.utc),
),
SimpleNamespace(
workspace_id=owner_workspace_id,
role="owner",
created_at=datetime(2026, 4, 10, tzinfo=timezone.utc),
),
],
)
workspace_id = await db_manager.get_default_workspace_id(str(uuid4()))
> assert workspace_id == str(owner_workspace_id)
E AssertionError: assert 'c56f21c8-271...-e44a07498c5d' == 'c0e06ea7-10a...-71ed73b02f03'
E
E - c0e06ea7-10a6-45aa-9f3e-71ed73b02f03
E + c56f21c8-2713-4ded-98d4-e44a07498c5d
oss/tests/pytest/unit/services/test_db_manager.py:80: AssertionError
Loading