feat(agent): provider/model/connection for agent harnesses - #4815
Merged
GitHub Actions / Application API Unit Test Results
failed
Jun 24, 2026 in 0s
1 fail, 877 pass in 22s
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 '428017e3-47f...-619622bdda25' == 'c348be04-364...-75bbbaa23761'
- c348be04-364e-445a-987c-75bbbaa23761
+ 428017e3-47f4-4f48-b33a-619622bdda25
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f34289824a0>
@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 '428017e3-47f...-619622bdda25' == 'c348be04-364...-75bbbaa23761'
E
E - c348be04-364e-445a-987c-75bbbaa23761
E + 428017e3-47f4-4f48-b33a-619622bdda25
oss/tests/pytest/unit/services/test_db_manager.py:80: AssertionError
Loading