Loading...
Loading...
Compare original and translation side by side
lib/galaxy/model/__init__.pylib/galaxy/model/migrations/alembic/versions_gxy//galaxy-db-migration create/galaxy-db-migration create/galaxy-db-migration troubleshoot/galaxy-db-migration statuscreateupgradedowngradestatustroubleshootlib/galaxy/model/__init__.pylib/galaxy/model/migrations/alembic/versions_gxy//galaxy-db-migration create/galaxy-db-migration create/galaxy-db-migration troubleshoot/galaxy-db-migration statuscreateupgradedowngradestatustroubleshootlib/galaxy/webapps/galaxy/api/lib/galaxy/schema//galaxy-api-endpoint credentials/galaxy-api-endpoint workflows/galaxy-api-endpoint [resource-name]/galaxy-api-endpoint credentialslib/galaxy/webapps/galaxy/api/lib/galaxy/schema//galaxy-api-endpoint credentials/galaxy-api-endpoint workflows/galaxy-api-endpoint [资源名称]/galaxy-api-endpoint credentialstest/lib/galaxy_test//galaxy-testing run/galaxy-testing write/galaxy-testing api/galaxy-testing runrunwriteapitest/lib/galaxy_test//galaxy-testing run/galaxy-testing write/galaxy-testing api/galaxy-testing runrunwriteapi/galaxy-linting check/galaxy-linting fix/galaxy-linting python/galaxy-linting mypy/galaxy-linting full/galaxy-linting client/galaxy-linting fix/galaxy-linting fix/galaxy-lintingcheckfixpythonclientmypyfull/galaxy-linting check/galaxy-linting fix/galaxy-linting python/galaxy-linting mypy/galaxy-linting full/galaxy-linting client/galaxy-linting fix/galaxy-linting fix/galaxy-lintingcheckfixpythonclientmypyfullsubagent_type="galaxy-explorer"subagent_type="galaxy-explorer"undefinedundefined
**Why:**
- Sets up Galaxy test database
- Configures Galaxy-specific fixtures
- Manages test isolation
- Handles Galaxy configuration
**原因:**
- 配置Galaxy测试数据库
- 设置Galaxy特定测试夹具
- 管理测试隔离
- 处理Galaxy配置client/src/api/schema/schema.tslib/galaxy/model/__init__.pylib/galaxy/tools/__init__.pylib/galaxy/schema/schema.pyclient/src/api/schema/schema.tslib/galaxy/model/__init__.pylib/galaxy/tools/__init__.pylib/galaxy/schema/schema.pylib/galaxy/managers/{Resource}ManagerWorkflowsManagerlib/galaxy/managers/{资源名称}ManagerWorkflowsManagerlib/galaxy/webapps/galaxy/api/*.pylib/galaxy/schema/*.pylib/galaxy_test/api/test_*.pylib/galaxy/webapps/galaxy/api/*.pylib/galaxy/schema/*.pylib/galaxy_test/api/test_*.pylib/galaxy/
├── model/ # SQLAlchemy models
│ └── migrations/ # Alembic migrations
├── managers/ # Business logic (Manager pattern)
├── schema/ # Pydantic API schemas
├── webapps/galaxy/api/ # FastAPI routers
├── tools/ # Tool execution engine
└── workflow/ # Workflow enginelib/galaxy/
├── model/ # SQLAlchemy模型
│ └── migrations/ # Alembic迁移文件
├── managers/ # 业务逻辑(管理器模式)
├── schema/ # Pydantic API模型
├── webapps/galaxy/api/ # FastAPI路由
├── tools/ # 工具执行引擎
└── workflow/ # 工作流引擎client/src/
├── components/ # Vue components
├── stores/ # Pinia stores
├── composables/ # Composition functions
└── api/ # API client + generated schemasclient/src/
├── components/ # Vue组件
├── stores/ # Pinia状态管理
├── composables/ # 组合式函数
└── api/ # API客户端 + 生成的模型test/
├── unit/ # Fast unit tests
├── integration/ # Integration tests
└── integration_selenium/ # E2E browser tests
lib/galaxy_test/
└── api/ # API endpoint teststest/
├── unit/ # 快速单元测试
├── integration/ # 集成测试
└── integration_selenium/ # 端到端浏览器测试
lib/galaxy_test/
└── api/ # API端点测试Read: lib/galaxy/managers/workflows.py
Read: client/src/stores/workflowStore.ts
Read: test/unit/test_workflows.pyRead: lib/galaxy/managers/workflows.py
Read: client/src/stores/workflowStore.ts
Read: test/unit/test_workflows.pyGrep: pattern="class Workflow\(" path="lib/galaxy/model/__init__.py" output_mode="content" -A=20Grep: pattern="class Workflow\(" path="lib/galaxy/model/__init__.py" output_mode="content" -A=20devmainmake diff-formatdevmainmake diff-format