Files
mcma-backend/graphify-out/cache/ast/v0.9.12/fdae58d6dcde39a6c519109428fa94245babe3046c0f5be98d70fb44e8b42c2e.json
T
Senko-san fb5ce3c708
Docker Build & Publish / build (push) Successful in 1m11s
Docker Build & Publish / push (push) Failing after 7s
Docker Build & Publish / Prune old image versions (push) Has been skipped
chore: graphify!
2026-07-11 16:21:34 +03:00

1 line
15 KiB
JSON

{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "label": "conftest.py", "file_type": "code", "source_file": "tests/conftest.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "label": "_base_database_url()", "file_type": "code", "source_file": "tests/conftest.py", "source_location": "L38", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_with_database", "label": "_with_database()", "file_type": "code", "source_file": "tests/conftest.py", "source_location": "L52", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "label": "_create_test_db_if_missing()", "file_type": "code", "source_file": "tests/conftest.py", "source_location": "L67", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_ensure_test_database", "label": "_ensure_test_database()", "file_type": "code", "source_file": "tests/conftest.py", "source_location": "L92", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_client", "label": "client()", "file_type": "code", "source_file": "tests/conftest.py", "source_location": "L98", "_callable": true}, {"id": "asyncclient", "label": "AsyncClient", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/tests/conftest.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_1", "label": "Shared test fixtures. The ASGI app is driven in-process via httpx + asgi-lifesp", "file_type": "rationale", "source_file": "tests/conftest.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_39", "label": "Resolve the DB URL the app *would* use, mirroring pydantic-settings preceden", "file_type": "rationale", "source_file": "tests/conftest.py", "source_location": "L39"}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_53", "label": "Return ``url`` with its database name swapped for ``name``.", "file_type": "rationale", "source_file": "tests/conftest.py", "source_location": "L53"}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_68", "label": "Create ``<db>_test`` if the server is reachable. Best-effort: if Postgres is", "file_type": "rationale", "source_file": "tests/conftest.py", "source_location": "L68"}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_93", "label": "Guarantee the dedicated test database exists once per session.", "file_type": "rationale", "source_file": "tests/conftest.py", "source_location": "L93"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "asyncio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L23", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L24", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "collections_abc", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L25", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L26", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "urllib_parse", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L27", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L29", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "asgi_lifespan", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L30", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "httpx", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L31", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L38", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_with_database", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L52", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L67", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_ensure_test_database", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L92", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_client", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L98", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_client", "target": "asyncclient", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L98", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_with_database", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L75", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_ensure_test_database", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L94", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_client", "target": "asyncclient", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L104", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L1", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_39", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_53", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_with_database", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L53", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_68", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L68", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_rationale_93", "target": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_ensure_test_database", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/conftest.py", "source_location": "L93", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "get", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L41", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "resolve", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L43", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "Path", "is_member_call": false, "source_file": "tests/conftest.py", "source_location": "L43", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "__file__", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "tests/conftest.py", "source_location": "L43"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "exists", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L44", "receiver": "dotenv"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "splitlines", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L45", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "read_text", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L45", "receiver": "dotenv"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "strip", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L46", "receiver": "raw"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "startswith", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L47", "receiver": "line"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "startswith", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L47", "receiver": "line"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "strip", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L48", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "strip", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L48", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_base_database_url", "callee": "split", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L48", "receiver": "line"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_with_database", "callee": "urlunsplit", "is_member_call": false, "source_file": "tests/conftest.py", "source_location": "L54", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_with_database", "callee": "_replace", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L54", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_with_database", "callee": "urlsplit", "is_member_call": false, "source_file": "tests/conftest.py", "source_location": "L54", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "callee": "replace", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L75", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "callee": "_TEST_DB_URL", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "tests/conftest.py", "source_location": "L75"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "callee": "timeout", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L77", "receiver": "asyncio"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "callee": "connect", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L78", "receiver": "asyncpg"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "callee": "fetchval", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L82", "receiver": "conn"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "callee": "_TEST_DB_NAME", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "tests/conftest.py", "source_location": "L82"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "callee": "execute", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L86", "receiver": "conn"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_create_test_db_if_missing", "callee": "close", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L88", "receiver": "conn"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_ensure_test_database", "callee": "run", "is_member_call": true, "source_file": "tests/conftest.py", "source_location": "L94", "receiver": "asyncio"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_client", "callee": "create_app", "is_member_call": false, "source_file": "tests/conftest.py", "source_location": "L101", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_client", "callee": "LifespanManager", "is_member_call": false, "source_file": "tests/conftest.py", "source_location": "L102", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_conftest_client", "callee": "ASGITransport", "is_member_call": false, "source_file": "tests/conftest.py", "source_location": "L103", "receiver": null}]}