Skip to content

Fix: Observability session data display issue#4736

Open
ashrafchowdury wants to merge 4 commits into
release/v0.104.1from
fix/session-table-issue
Open

Fix: Observability session data display issue#4736
ashrafchowdury wants to merge 4 commits into
release/v0.104.1from
fix/session-table-issue

Merge branch 'release/v0.104.1' into fix/session-table-issue

afc1ba4
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Application API Unit Test Results failed Jun 18, 2026 in 0s

1 fail, 862 pass in 21s

863 tests   862 ✅  21s ⏱️
  1 suites    0 💤
  1 files      1 ❌

Results for commit afc1ba4.

Annotations

Check warning on line 0 in oss.tests.pytest.unit.services.test_db_manager

See this annotation in the file changed.

@github-actions 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 '9db284d6-acc...-cfda73837e3b' == '8b197d38-7ae...-3cb5c94d7448'
  
  - 8b197d38-7aeb-4c71-a245-3cb5c94d7448
  + 9db284d6-acc1-435e-8f7f-cfda73837e3b
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f1af8eec1a0>

    @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 '9db284d6-acc...-cfda73837e3b' == '8b197d38-7ae...-3cb5c94d7448'
E         
E         - 8b197d38-7aeb-4c71-a245-3cb5c94d7448
E         + 9db284d6-acc1-435e-8f7f-cfda73837e3b

oss/tests/pytest/unit/services/test_db_manager.py:80: AssertionError