feat(agent): agent workflow service and tool-resolution API - #4772
Merged
GitHub Actions / Application API Unit Test Results
failed
Jun 23, 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 'aef276f9-616...-0f0d771a4af5' == 'a8fde100-9f4...-abe1328ef6f3'
- a8fde100-9f40-46fe-8dc6-abe1328ef6f3
+ aef276f9-616e-40fd-b668-0f0d771a4af5
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6e97fd97f0>
@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 'aef276f9-616...-0f0d771a4af5' == 'a8fde100-9f4...-abe1328ef6f3'
E
E - a8fde100-9f40-46fe-8dc6-abe1328ef6f3
E + aef276f9-616e-40fd-b668-0f0d771a4af5
oss/tests/pytest/unit/services/test_db_manager.py:80: AssertionError
Loading