feat(frontend): agent config playground controls - #4775
Closed
mmabrouk wants to merge 3 commits into
Closed
GitHub Actions / Application API Unit Test Results
failed
Jun 23, 2026 in 0s
1 fail, 877 pass in 23s
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 'de972cbe-825...-b2d62fc70fc9' == 'd88bfcb4-31f...-2fd9cbf6ead7'
- d88bfcb4-31fb-4b17-a59c-2fd9cbf6ead7
+ de972cbe-825f-41b2-9b37-b2d62fc70fc9
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8e0f07a430>
@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 'de972cbe-825...-b2d62fc70fc9' == 'd88bfcb4-31f...-2fd9cbf6ead7'
E
E - d88bfcb4-31fb-4b17-a59c-2fd9cbf6ead7
E + de972cbe-825f-41b2-9b37-b2d62fc70fc9
oss/tests/pytest/unit/services/test_db_manager.py:80: AssertionError
Loading