imbi-api 2.43.0__tar.gz → 2.43.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {imbi_api-2.43.0 → imbi_api-2.43.1}/PKG-INFO +2 -2
- {imbi_api-2.43.0 → imbi_api-2.43.1}/pyproject.toml +2 -2
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_deployments.py +11 -14
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/projects.py +47 -13
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_deployments.py +65 -9
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_projects_drift_ranges.py +73 -7
- {imbi_api-2.43.0 → imbi_api-2.43.1}/.gitignore +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/README.md +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/moon.yml +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/README.md +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/agent_tasks/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/agent_tasks/log.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/agent_tasks/schemata.toml +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/agent_tasks/store.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/agent_tasks/sweeper.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/agent_tools.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/app.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/agent_api.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/agent_api_routes.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/authorization_codes.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/autonomous.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/internal_services.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/local_auth.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/login_providers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/membership.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/oauth_clients.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/organizations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/password.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/permissions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/principals.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/seed.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/sessions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/tokens.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/auth/totp.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/backfill_embeddings.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/blueprint_attributes.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/blueprint_compliance.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/commit_pushed_at_repair.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/commit_sync/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/commit_sync/queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/commit_sync/service.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/component_facts.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/deployment_status_repair.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/deployment_sweeper.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/deployment_sync/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/deployment_sync/queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/deployment_sync/service.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/documents/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/documents/read_sweeper.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/domain/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/domain/models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/domain/scoring.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/drift.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/client.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/dependencies.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/templates/base.html +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/templates/base.txt +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/templates/password_reset.html +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/templates/password_reset.txt +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/templates/welcome.html +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/templates/welcome.txt +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/email/templates.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_credentials.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_document_events.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_document_history.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_document_reads.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_document_scope.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_helpers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_json_fields.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_pagination.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_request_urls.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/_search_index.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/admin.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/admin_plugins.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/agent_platform.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/agent_task_harness.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/agent_tasks.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/agent_usage.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/agents.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/ai_models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/ai_providers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/api_keys.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/auth.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/auth_providers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/blueprints.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/client_credentials.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/comments.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/components.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/dashboard.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/document_analytics.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/document_likes.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/document_presence.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/document_templates.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/document_versions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/documents.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/environments.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/events.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/graph_query.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/harness.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/iggy_connectors.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/integrations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/link_definitions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/local_auth.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/maintenance.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/mcp_servers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/mfa.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/oauth_metadata.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/operations_log.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/organizations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/plugin_edges.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/plugin_entities.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/plugins.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_analysis.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_commit_sync.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_configuration.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_incidents.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_integrations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_lifecycle.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_logs.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_plugins.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_pr_sync.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/project_types.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/prompts.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/pull_requests.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/releases.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/roles.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/sa_api_keys.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/scoring.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/scoring_policies.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/search.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/secret_broker.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/service_accounts.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/status.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/tags.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/teams.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/uploads.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/user_activity.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/users.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/webhooks.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/workflow_runs.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/endpoints/workflows.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/entrypoint.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/graph_ids.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/graph_sql.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/auth.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/egress.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/marketplaces.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/metrics.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/platform.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/schemata.toml +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/store.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/sweeper.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/harness/tokens.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/attribution.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/endpoints.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/errors.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/flows.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/host_integration.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/repository.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/resolution.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/state.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/identity/sweeper.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/iggy_metrics.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/lifespans.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/llm/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/llm/dependencies.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/maintenance/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/maintenance/log.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/maintenance/operations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/maintenance/registry.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/maintenance/state.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/maintenance/worker.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/mcp_test.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/middleware/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/middleware/rate_limit.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/openapi.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/orphan_releases.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/assignment_writer.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/assignments.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/credentials.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/installer.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/lifecycle.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/lifecycle_dispatch.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/reload.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/resolution.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/plugins/schemas.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/pr_sync/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/pr_sync/queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/pr_sync/service.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/prompts/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/prompts/release_notes_system.md +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/prompts/seed.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/py.typed +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/relationships.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/release_promote/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/release_promote/queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/release_promote/service.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/sbom.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/scoring/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/scoring/queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/secret_broker/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/secret_broker/audit.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/secret_broker/broker.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/secret_broker/providers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/secret_broker/schemata.toml +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/secret_broker/store.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/settings.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/storage/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/storage/client.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/storage/dependencies.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/storage/thumbnails.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/storage/validation.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/user_document_orgs.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/workflows/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/workflows/runs.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/workflows/runtime_schemata.toml +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/workflows/schemata.toml +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/workflows/store.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/src/imbi/api/workflows/sweeper.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_authentication.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_authorization.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_encryption.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_internal_services.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_login_providers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_membership.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_oauth_server.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_organizations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_permissions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_seed.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_sessions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/auth/test_totp.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/clickhouse/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/clickhouse/test_client.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/clickhouse/test_init.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/clickhouse/test_privacy.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/email/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/email/test_audit_clickhouse.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/email/test_client.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/email/test_init.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/email/test_integration.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/email/test_models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/email/test_templates.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_admin.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_admin_plugins.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agent_api.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agent_platform.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agent_task_actions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agent_task_harness.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agent_task_log.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agent_task_relations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agent_tasks.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agent_usage.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_agents.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_ai_models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_ai_providers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_api_keys.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_auth.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_auth_providers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_blueprints.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_client_credentials.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_comments.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_components.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_credentials.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_cross_org_reads.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_dashboard.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_document_analytics.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_document_likes.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_document_presence.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_document_reads.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_document_reads_sql.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_document_templates.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_document_versions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_documents.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_environments.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_events.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_github_app_repository.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_graph_query.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_harness.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_harness_egress.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_harness_secrets.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_iggy_connectors.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_init.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_integrations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_json_fields.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_link_definitions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_local_auth.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_maintenance.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_mcp_servers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_mfa.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_operations_log.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_organizations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_pagination.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_plugin_label_validation.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_plugins.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_analysis.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_commit_sync.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_configuration.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_deployments_autonomous.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_incidents.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_integrations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_lifecycle.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_logs.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_plugins.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_response_surfacing.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_project_types.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_projects.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_projects_helpers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_prompt_decisions.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_prompts.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_pull_requests.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_releases.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_request_urls.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_roles.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_sa_api_keys.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_scoring.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_scoring_policies.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_search.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_search_index.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_secret_broker.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_service_accounts.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_service_writeback.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_status.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_tags.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_teams.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_uploads.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_user_activity.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_users.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_webhooks.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_workflow_run_history.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_workflow_runs.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_workflow_triggers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/endpoints/test_workflows.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/fixtures/marketplaces/claude-code.json +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/fixtures/sbom/npm-realistic.json +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/fixtures/sbom/pypi-realistic.json +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/fixtures/sbom/tiny.json +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/test_endpoints.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/test_errors.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/test_flows.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/test_host_integration.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/test_repository.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/test_resolution.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/test_state.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/identity/test_sweeper.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/middleware/test_rate_limit.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/secret_support.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/storage/__init__.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/storage/test_client.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/storage/test_init.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/storage/test_thumbnails.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/storage/test_validation.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/support.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_agent_platform.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_agent_task_events_e2e.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_agent_tools.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_app.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_assignment_writer.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_auth_settings.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_backfill_embeddings.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_blueprint_attributes.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_blueprint_compliance.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_blueprints.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_commit_pushed_at_repair.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_commit_sync_queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_commit_sync_service.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_component_facts.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_deployment_status_repair.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_deployment_sweeper.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_deployment_sync_queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_deployment_sync_service.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_drift.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_entrypoint.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_graph_ids.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_graph_sql.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_identity_attribution.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_iggy_metrics.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_init.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_installer.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_lifecycle_dispatch.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_lifespans.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_maintenance_log.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_maintenance_operations.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_maintenance_state.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_maintenance_worker.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_models.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_openapi.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_orphan_releases.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_plugin_schemas.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_plugins.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_plugins_assignments.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_plugins_credentials.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_pr_sync_queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_pr_sync_service.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_prompt_seed.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_pull_requests_pending_deploy.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_release_promote_service.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_sbom.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_scoring_queue.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_scoring_triggers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_secret_broker.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_secret_github_app.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_secret_providers.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_settings.py +0 -0
- {imbi_api-2.43.0 → imbi_api-2.43.1}/tests/test_workflow_reconcile.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: imbi-api
|
|
3
|
-
Version: 2.43.
|
|
3
|
+
Version: 2.43.1
|
|
4
4
|
Summary: Imbi is a DevOps Service Management Platform designed to provide an efficient way to manage a large environment that contains many services and applications.
|
|
5
5
|
Author-email: Alex Campbell <alexc@aweber.com>, Dave Shawley <daves@aweber.com>, "Gavin M. Roy" <gavinr@aweber.com>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -19,7 +19,7 @@ Requires-Dist: cyclonedx-python-lib<12,>=11.7
|
|
|
19
19
|
Requires-Dist: fastapi
|
|
20
20
|
Requires-Dist: filetype
|
|
21
21
|
Requires-Dist: httpx<1,>=0.28.1
|
|
22
|
-
Requires-Dist: imbi-common[databases,llm,mcp,sentry,server]==2.43.
|
|
22
|
+
Requires-Dist: imbi-common[databases,llm,mcp,sentry,server]==2.43.1
|
|
23
23
|
Requires-Dist: jinja2
|
|
24
24
|
Requires-Dist: jsonpatch>=1.33
|
|
25
25
|
Requires-Dist: limits<6,>=5
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "imbi-api"
|
|
3
|
-
version = "2.43.
|
|
3
|
+
version = "2.43.1"
|
|
4
4
|
description = "Imbi is a DevOps Service Management Platform designed to provide an efficient way to manage a large environment that contains many services and applications."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.14"
|
|
@@ -28,7 +28,7 @@ dependencies = [
|
|
|
28
28
|
"fastapi",
|
|
29
29
|
"filetype",
|
|
30
30
|
"httpx>=0.28.1,<1",
|
|
31
|
-
"imbi-common[databases,llm,mcp,sentry,server]==2.43.
|
|
31
|
+
"imbi-common[databases,llm,mcp,sentry,server]==2.43.1",
|
|
32
32
|
"jinja2",
|
|
33
33
|
"jsonpatch>=1.33",
|
|
34
34
|
"limits>=5,<6",
|
|
@@ -7079,8 +7079,8 @@ async def get_release_history(
|
|
|
7079
7079
|
"""Release history: ClickHouse tags joined to their ``Release`` nodes.
|
|
7080
7080
|
|
|
7081
7081
|
A ``Release`` node whose tag ClickHouse has not synced is listed too,
|
|
7082
|
-
flagged ``tag_synced=False``
|
|
7083
|
-
|
|
7082
|
+
flagged ``tag_synced=False`` -- see :func:`_unsynced_release_entry`
|
|
7083
|
+
for why it cannot be left out. Entries are newest tag first.
|
|
7084
7084
|
|
|
7085
7085
|
``ci_status`` comes from the synced ``commits`` table, which the
|
|
7086
7086
|
deployment sync fills by walking ``DEPLOYED_TO`` edges. A project
|
|
@@ -7131,20 +7131,17 @@ async def get_release_history(
|
|
|
7131
7131
|
for name, node in nodes.items()
|
|
7132
7132
|
if name not in synced
|
|
7133
7133
|
)
|
|
7134
|
-
#
|
|
7135
|
-
#
|
|
7136
|
-
#
|
|
7137
|
-
#
|
|
7138
|
-
#
|
|
7139
|
-
|
|
7140
|
-
# place in history, does not exist for it.
|
|
7141
|
-
authored_by_sha = _authored_by_sha(facts_by_sha)
|
|
7134
|
+
# Newest tag first, then the tag itself (numerically when it parses as
|
|
7135
|
+
# a release version). An unsynced release sorts by its node's
|
|
7136
|
+
# ``created_at``, so one in flight or failed today is at the top and
|
|
7137
|
+
# an old orphaned node is at the bottom. An entry with no time is
|
|
7138
|
+
# last.
|
|
7139
|
+
undated = datetime.datetime.min.replace(tzinfo=datetime.UTC)
|
|
7142
7140
|
entries.sort(
|
|
7143
7141
|
key=lambda e: (
|
|
7144
|
-
|
|
7145
|
-
versioning.
|
|
7146
|
-
|
|
7147
|
-
),
|
|
7142
|
+
e.published_at or undated,
|
|
7143
|
+
versioning.release_version_key(e.tag) or (),
|
|
7144
|
+
e.tag,
|
|
7148
7145
|
),
|
|
7149
7146
|
reverse=True,
|
|
7150
7147
|
)
|
|
@@ -294,9 +294,10 @@ class ProjectListItem(pydantic.BaseModel):
|
|
|
294
294
|
#: which the client must fail closed on and show.
|
|
295
295
|
drift_ranges: dict[str, bool] = pydantic.Field(default_factory=dict)
|
|
296
296
|
#: ``"<base>..<head>"`` -> when the oldest commit that needs action
|
|
297
|
-
#: in that range landed. Only ranges that
|
|
298
|
-
#: ``true`` from their commits have an entry:
|
|
299
|
-
#: action only because it could not be evaluated
|
|
297
|
+
#: in that range landed on the default branch. Only ranges that
|
|
298
|
+
#: ``drift_ranges`` marks ``true`` from their commits have an entry:
|
|
299
|
+
#: a range that needs action only because it could not be evaluated
|
|
300
|
+
#: has no date.
|
|
300
301
|
drift_range_oldest: dict[str, datetime.datetime] = pydantic.Field(
|
|
301
302
|
default_factory=dict
|
|
302
303
|
)
|
|
@@ -963,10 +964,23 @@ async def _fetch_current_releases(
|
|
|
963
964
|
return CurrentReleaseState(current, in_flight)
|
|
964
965
|
|
|
965
966
|
|
|
967
|
+
class ActionableCommit(typing.NamedTuple):
|
|
968
|
+
"""One commit :func:`_fetch_actionable_commit_times` returned.
|
|
969
|
+
|
|
970
|
+
``at`` is the commit time the range is evaluated by; ``landed`` is
|
|
971
|
+
when the commit reached the default branch, which is what a range
|
|
972
|
+
that needs action is dated by.
|
|
973
|
+
"""
|
|
974
|
+
|
|
975
|
+
sha: str
|
|
976
|
+
at: datetime.datetime
|
|
977
|
+
landed: datetime.datetime
|
|
978
|
+
|
|
979
|
+
|
|
966
980
|
async def _fetch_actionable_commit_times(
|
|
967
981
|
windows: dict[str, tuple[datetime.datetime, datetime.datetime]],
|
|
968
|
-
) -> dict[str, list[
|
|
969
|
-
"""Return {project_id: [
|
|
982
|
+
) -> dict[str, list[ActionableCommit]] | None:
|
|
983
|
+
"""Return {project_id: [commits in the window not proven clean]}.
|
|
970
984
|
|
|
971
985
|
Actionable means the verdict is ``true`` or there is no verdict at
|
|
972
986
|
all -- the rule suppresses a commit only when CI positively said
|
|
@@ -986,6 +1000,14 @@ async def _fetch_actionable_commit_times(
|
|
|
986
1000
|
:func:`_fetch_release_summaries`: a rebase or cherry-pick leaves the
|
|
987
1001
|
author date pointing before the release it landed after.
|
|
988
1002
|
|
|
1003
|
+
``pushed_at`` rides along as ``landed``: when the commit reached the
|
|
1004
|
+
default branch, which is what the caller dates a range by. Neither
|
|
1005
|
+
commit date says that for a merged pull request's own commits --
|
|
1006
|
+
they keep the dates they were made with on the branch, and the
|
|
1007
|
+
merge that brought them onto the mainline can be hours or days
|
|
1008
|
+
later. The sync only records pushes to the default branch, so the
|
|
1009
|
+
merge push is what stamps every commit it carried.
|
|
1010
|
+
|
|
989
1011
|
Errors are swallowed and return ``None`` -- distinct from "no
|
|
990
1012
|
actionable commits" -- so the caller can mark every evaluable range
|
|
991
1013
|
actionable instead of clean. Failing closed: an unavailable verdict
|
|
@@ -997,7 +1019,8 @@ async def _fetch_actionable_commit_times(
|
|
|
997
1019
|
try:
|
|
998
1020
|
rows = await clickhouse.query(
|
|
999
1021
|
'SELECT c.project_id AS project_id, c.short_sha AS short_sha,'
|
|
1000
|
-
' COALESCE(c.committed_at, c.authored_at) AS at'
|
|
1022
|
+
' COALESCE(c.committed_at, c.authored_at) AS at,'
|
|
1023
|
+
' c.pushed_at AS landed'
|
|
1001
1024
|
' FROM commits AS c FINAL'
|
|
1002
1025
|
' LEFT ANTI JOIN (SELECT project_id, sha'
|
|
1003
1026
|
' FROM commit_drift FINAL'
|
|
@@ -1020,13 +1043,16 @@ async def _fetch_actionable_commit_times(
|
|
|
1020
1043
|
except Exception: # noqa: BLE001
|
|
1021
1044
|
LOGGER.warning('Failed to fetch actionable commits', exc_info=True)
|
|
1022
1045
|
return None
|
|
1023
|
-
out: dict[str, list[
|
|
1046
|
+
out: dict[str, list[ActionableCommit]] = {}
|
|
1024
1047
|
for row in rows:
|
|
1025
1048
|
pid = str(row.get('project_id') or '')
|
|
1026
1049
|
sha = str(row.get('short_sha') or '')
|
|
1027
1050
|
at = clickhouse.as_utc_or_none(row.get('at'))
|
|
1051
|
+
landed = clickhouse.as_utc_or_none(row.get('landed'))
|
|
1028
1052
|
if pid and at is not None:
|
|
1029
|
-
out.setdefault(pid, []).append(
|
|
1053
|
+
out.setdefault(pid, []).append(
|
|
1054
|
+
ActionableCommit(sha, at, landed if landed else at)
|
|
1055
|
+
)
|
|
1030
1056
|
return out
|
|
1031
1057
|
|
|
1032
1058
|
|
|
@@ -1142,8 +1168,12 @@ async def _evaluate_environment_drift(
|
|
|
1142
1168
|
is inclusive and only the base commit itself is excluded, by sha.
|
|
1143
1169
|
|
|
1144
1170
|
The oldest date comes from the same in-range commits, so it needs no
|
|
1145
|
-
third read.
|
|
1146
|
-
|
|
1171
|
+
third read. Membership goes by commit time, the date by when the
|
|
1172
|
+
commit *landed* on the default branch: a merged pull request's
|
|
1173
|
+
commits keep their branch-era commit dates, so dating the range by
|
|
1174
|
+
those over-reports how long it has waited by however long the pull
|
|
1175
|
+
request was open. A range that needs action only because its
|
|
1176
|
+
endpoints are unorderable or the verdict read failed gets no date.
|
|
1147
1177
|
"""
|
|
1148
1178
|
ranges_by_pid: dict[str, list[tuple[str, str]]] = {}
|
|
1149
1179
|
for project_data in project_data_list:
|
|
@@ -1194,8 +1224,8 @@ async def _evaluate_environment_drift(
|
|
|
1194
1224
|
out.setdefault(pid, {})[key] = True
|
|
1195
1225
|
continue
|
|
1196
1226
|
in_range = [
|
|
1197
|
-
|
|
1198
|
-
for sha, at in marks
|
|
1227
|
+
landed
|
|
1228
|
+
for sha, at, landed in marks
|
|
1199
1229
|
if (lo < at <= hi) or (at == lo and sha != base)
|
|
1200
1230
|
]
|
|
1201
1231
|
out.setdefault(pid, {})[key] = bool(in_range)
|
|
@@ -1511,6 +1541,10 @@ async def _fetch_release_summaries(
|
|
|
1511
1541
|
# LEFT JOIN cannot distinguish "no verdict row" from a
|
|
1512
1542
|
# real ``false`` -- Bool defaults to 0 -- so the
|
|
1513
1543
|
# subquery carries an explicit ``answered`` marker.
|
|
1544
|
+
# ``oldest_actionable_at`` is ``pushed_at``, not a
|
|
1545
|
+
# commit date: a merged pull request's commits keep
|
|
1546
|
+
# their branch-era dates, and the push that merged
|
|
1547
|
+
# them is when they started waiting for a release.
|
|
1514
1548
|
count_rows = await clickhouse.query(
|
|
1515
1549
|
'SELECT c.project_id AS project_id,'
|
|
1516
1550
|
' count() AS c,'
|
|
@@ -1519,7 +1553,7 @@ async def _fetch_release_summaries(
|
|
|
1519
1553
|
' countIf(d.answered = 1) AS answered,'
|
|
1520
1554
|
' countIf(d.answered = 0 OR d.drift_detected)'
|
|
1521
1555
|
' AS actionable,'
|
|
1522
|
-
' minIf(
|
|
1556
|
+
' minIf(c.pushed_at,'
|
|
1523
1557
|
' d.answered = 0 OR d.drift_detected)'
|
|
1524
1558
|
' AS oldest_actionable_at'
|
|
1525
1559
|
' FROM commits AS c FINAL'
|
|
@@ -5904,13 +5904,11 @@ class ReleasesTabEndpointsTestCase(ProjectDeploymentsTestCase):
|
|
|
5904
5904
|
self.assertIsNone(data[1]['notes_markdown'])
|
|
5905
5905
|
self.assertEqual(data[1]['ci_status'], 'not_applicable')
|
|
5906
5906
|
|
|
5907
|
-
def
|
|
5908
|
-
"""
|
|
5907
|
+
def test_release_history_head_is_newest_tag(self) -> None:
|
|
5908
|
+
"""The most recently tagged release heads the list.
|
|
5909
5909
|
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
late-synced lower version (newer timestamp) must not out-rank the
|
|
5913
|
-
highest semver tag, mirroring the drift base selection.
|
|
5910
|
+
The tag time decides before the version, so a lower version
|
|
5911
|
+
tagged later ranks first.
|
|
5914
5912
|
"""
|
|
5915
5913
|
older = datetime.datetime(2026, 1, 1, tzinfo=datetime.UTC)
|
|
5916
5914
|
newer = datetime.datetime(2026, 6, 1, tzinfo=datetime.UTC)
|
|
@@ -5943,7 +5941,7 @@ class ReleasesTabEndpointsTestCase(ProjectDeploymentsTestCase):
|
|
|
5943
5941
|
response = client.get(f'{self._BASE}/release-history')
|
|
5944
5942
|
self.assertEqual(response.status_code, 200)
|
|
5945
5943
|
data = response.json()
|
|
5946
|
-
self.assertEqual([e['tag'] for e in data], ['
|
|
5944
|
+
self.assertEqual([e['tag'] for e in data], ['v4.1.3', 'v7.1.0'])
|
|
5947
5945
|
|
|
5948
5946
|
def test_release_history_head_follows_the_commit_history(self) -> None:
|
|
5949
5947
|
"""The tag on the newest synced commit heads the list.
|
|
@@ -6809,8 +6807,7 @@ class ReleaseBlockTestCase(ProjectDeploymentsTestCase):
|
|
|
6809
6807
|
response = client.get(f'{self._BASE}/release-history')
|
|
6810
6808
|
self.assertEqual(response.status_code, 200, response.text)
|
|
6811
6809
|
data = response.json()
|
|
6812
|
-
# The unsynced release leads
|
|
6813
|
-
# and all three need the operator before anything older does.
|
|
6810
|
+
# The unsynced release leads because it is the newest.
|
|
6814
6811
|
self.assertEqual(['2.9.0', '2.8.6'], [e['tag'] for e in data])
|
|
6815
6812
|
unsynced = data[0]
|
|
6816
6813
|
self.assertFalse(unsynced['tag_synced'])
|
|
@@ -6831,6 +6828,65 @@ class ReleaseBlockTestCase(ProjectDeploymentsTestCase):
|
|
|
6831
6828
|
self.assertEqual(synced['tag_url'], 'https://gh/releases/tag/2.8.6')
|
|
6832
6829
|
self.assertFalse(synced['blocked'])
|
|
6833
6830
|
|
|
6831
|
+
def test_release_history_old_unsynced_release_sorts_by_its_age(
|
|
6832
|
+
self,
|
|
6833
|
+
) -> None:
|
|
6834
|
+
"""An old ``Release`` node with no synced tag does not lead.
|
|
6835
|
+
|
|
6836
|
+
Legacy nodes (``saml``, ``0.26.0``) with no ``tags`` row went to
|
|
6837
|
+
the top of every history, above the current release.
|
|
6838
|
+
"""
|
|
6839
|
+
when = datetime.datetime(2026, 11, 4, tzinfo=datetime.UTC)
|
|
6840
|
+
query = mock.AsyncMock(
|
|
6841
|
+
side_effect=[
|
|
6842
|
+
[
|
|
6843
|
+
{
|
|
6844
|
+
'name': '2.43.0',
|
|
6845
|
+
'sha': 'e42e585aa6a2896ba29b96151f89c12d88c2542',
|
|
6846
|
+
'tagged_at': when,
|
|
6847
|
+
'tagger_name': 'Rel Bot',
|
|
6848
|
+
'url': '',
|
|
6849
|
+
'recorded_at': when,
|
|
6850
|
+
},
|
|
6851
|
+
],
|
|
6852
|
+
[], # ci_status lookup
|
|
6853
|
+
]
|
|
6854
|
+
)
|
|
6855
|
+
|
|
6856
|
+
def _execute(
|
|
6857
|
+
statement: str, params: typing.Any, columns: typing.Any
|
|
6858
|
+
) -> list[dict[str, typing.Any]]:
|
|
6859
|
+
del params, columns
|
|
6860
|
+
if 'BLOCKED_BY' in statement:
|
|
6861
|
+
return []
|
|
6862
|
+
return [
|
|
6863
|
+
{
|
|
6864
|
+
'release': json.dumps(
|
|
6865
|
+
{
|
|
6866
|
+
'tag': tag,
|
|
6867
|
+
'committish': '',
|
|
6868
|
+
'title': tag,
|
|
6869
|
+
'created_at': created_at,
|
|
6870
|
+
}
|
|
6871
|
+
)
|
|
6872
|
+
}
|
|
6873
|
+
for tag, created_at in (
|
|
6874
|
+
('saml', '2024-10-01T00:00:00+00:00'),
|
|
6875
|
+
('0.26.0', '2025-10-01T00:00:00+00:00'),
|
|
6876
|
+
)
|
|
6877
|
+
]
|
|
6878
|
+
|
|
6879
|
+
self.mock_db.execute = mock.AsyncMock(side_effect=_execute)
|
|
6880
|
+
with (
|
|
6881
|
+
mock.patch(f'{_MODULE}.clickhouse.query', new=query),
|
|
6882
|
+
testclient.TestClient(self.test_app) as client,
|
|
6883
|
+
):
|
|
6884
|
+
response = client.get(f'{self._BASE}/release-history')
|
|
6885
|
+
self.assertEqual(response.status_code, 200, response.text)
|
|
6886
|
+
self.assertEqual(
|
|
6887
|
+
['2.43.0', '0.26.0', 'saml'], [e['tag'] for e in response.json()]
|
|
6888
|
+
)
|
|
6889
|
+
|
|
6834
6890
|
def test_release_history_limit_keeps_the_newest_synced_release(
|
|
6835
6891
|
self,
|
|
6836
6892
|
) -> None:
|
|
@@ -32,6 +32,20 @@ def _release(sha: str) -> projects.ReleaseInfo:
|
|
|
32
32
|
return projects.ReleaseInfo(deployed_at=_at(1), committish=sha)
|
|
33
33
|
|
|
34
34
|
|
|
35
|
+
#: ``(sha, at)`` for a commit that landed when it was made, or
|
|
36
|
+
#: ``(sha, at, landed)`` for one that reached the default branch later.
|
|
37
|
+
Mark = (
|
|
38
|
+
tuple[str, datetime.datetime]
|
|
39
|
+
| tuple[str, datetime.datetime, datetime.datetime]
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def _commit(mark: Mark) -> projects.ActionableCommit:
|
|
44
|
+
sha, at = mark[0], mark[1]
|
|
45
|
+
landed = mark[2] if len(mark) == 3 else at
|
|
46
|
+
return projects.ActionableCommit(sha, at, landed)
|
|
47
|
+
|
|
48
|
+
|
|
35
49
|
#: testing sorts first and tracks HEAD; staging and production run tags.
|
|
36
50
|
PIPELINE = [_env('testing', 1), _env('staging', 2), _env('production', 3)]
|
|
37
51
|
|
|
@@ -121,7 +135,7 @@ class EvaluateEnvironmentDriftTests(unittest.IsolatedAsyncioTestCase):
|
|
|
121
135
|
def _patch(
|
|
122
136
|
self,
|
|
123
137
|
times: dict[tuple[str, str], datetime.datetime],
|
|
124
|
-
actionable: dict[str, list[
|
|
138
|
+
actionable: dict[str, list[projects.ActionableCommit]] | None,
|
|
125
139
|
) -> typing.Any:
|
|
126
140
|
return (
|
|
127
141
|
mock.patch.object(
|
|
@@ -138,21 +152,21 @@ class EvaluateEnvironmentDriftTests(unittest.IsolatedAsyncioTestCase):
|
|
|
138
152
|
|
|
139
153
|
async def _run(
|
|
140
154
|
self,
|
|
141
|
-
actionable: list[
|
|
155
|
+
actionable: list[Mark] | None,
|
|
142
156
|
times: dict[tuple[str, str], datetime.datetime] | None = None,
|
|
143
157
|
) -> dict[str, dict[str, bool]]:
|
|
144
158
|
return (await self._evaluate(actionable, times)).ranges
|
|
145
159
|
|
|
146
160
|
async def _oldest(
|
|
147
161
|
self,
|
|
148
|
-
actionable: list[
|
|
162
|
+
actionable: list[Mark] | None,
|
|
149
163
|
times: dict[tuple[str, str], datetime.datetime] | None = None,
|
|
150
164
|
) -> dict[str, dict[str, datetime.datetime]]:
|
|
151
165
|
return (await self._evaluate(actionable, times)).oldest
|
|
152
166
|
|
|
153
167
|
async def _evaluate(
|
|
154
168
|
self,
|
|
155
|
-
actionable: list[
|
|
169
|
+
actionable: list[Mark] | None,
|
|
156
170
|
times: dict[tuple[str, str], datetime.datetime] | None,
|
|
157
171
|
) -> projects.EnvironmentDrift:
|
|
158
172
|
resolved = (
|
|
@@ -161,7 +175,10 @@ class EvaluateEnvironmentDriftTests(unittest.IsolatedAsyncioTestCase):
|
|
|
161
175
|
else times
|
|
162
176
|
)
|
|
163
177
|
a, b = self._patch(
|
|
164
|
-
resolved,
|
|
178
|
+
resolved,
|
|
179
|
+
{'p1': [_commit(m) for m in actionable]}
|
|
180
|
+
if actionable is not None
|
|
181
|
+
else None,
|
|
165
182
|
)
|
|
166
183
|
with a, b:
|
|
167
184
|
return await projects._evaluate_environment_drift([self.PROJECT])
|
|
@@ -270,6 +287,29 @@ class EvaluateEnvironmentDriftTests(unittest.IsolatedAsyncioTestCase):
|
|
|
270
287
|
await self._oldest([('base', _at(10)), ('twin', _at(10))]),
|
|
271
288
|
)
|
|
272
289
|
|
|
290
|
+
async def test_oldest_is_when_the_commit_landed_not_when_made(
|
|
291
|
+
self,
|
|
292
|
+
) -> None:
|
|
293
|
+
# A pull request's commits keep the dates they were made with on
|
|
294
|
+
# the branch; the merge push is when they reached the default
|
|
295
|
+
# branch and started waiting. Dating the range by the commit
|
|
296
|
+
# date over-reported the wait by the pull request's whole life.
|
|
297
|
+
self.assertEqual(
|
|
298
|
+
{'p1': {'base..head': _at(17)}},
|
|
299
|
+
await self._oldest(
|
|
300
|
+
[('branch', _at(12), _at(17)), ('merge', _at(17))]
|
|
301
|
+
),
|
|
302
|
+
)
|
|
303
|
+
|
|
304
|
+
async def test_membership_still_goes_by_commit_time(self) -> None:
|
|
305
|
+
# ``landed`` dates the range; it does not decide what is in it.
|
|
306
|
+
# A commit made before the base but pushed after it is still
|
|
307
|
+
# behind the base endpoint.
|
|
308
|
+
self.assertEqual(
|
|
309
|
+
{},
|
|
310
|
+
await self._oldest([('old', _at(5), _at(15))]),
|
|
311
|
+
)
|
|
312
|
+
|
|
273
313
|
async def test_a_clean_range_has_no_oldest(self) -> None:
|
|
274
314
|
self.assertEqual({}, await self._oldest([]))
|
|
275
315
|
|
|
@@ -334,12 +374,35 @@ class FetchActionableCommitTimesTests(unittest.IsolatedAsyncioTestCase):
|
|
|
334
374
|
sql, params = query.await_args.args
|
|
335
375
|
self.assertIn('COALESCE(c.committed_at, c.authored_at) >=', sql)
|
|
336
376
|
self.assertIn('c.short_sha AS short_sha', sql)
|
|
377
|
+
self.assertIn('c.pushed_at AS landed', sql)
|
|
337
378
|
self.assertEqual(
|
|
338
379
|
{'project_ids': ['p1'], 'los': [_at(10)], 'his': [_at(20)]},
|
|
339
380
|
params,
|
|
340
381
|
)
|
|
341
382
|
|
|
342
|
-
async def
|
|
383
|
+
async def test_rows_come_back_as_actionable_commits(self) -> None:
|
|
384
|
+
query = mock.AsyncMock(
|
|
385
|
+
return_value=[
|
|
386
|
+
{
|
|
387
|
+
'project_id': 'p1',
|
|
388
|
+
'short_sha': 'twin',
|
|
389
|
+
'at': _at(10),
|
|
390
|
+
'landed': _at(12),
|
|
391
|
+
}
|
|
392
|
+
]
|
|
393
|
+
)
|
|
394
|
+
with mock.patch.object(clickhouse, 'query', query):
|
|
395
|
+
result = await projects._fetch_actionable_commit_times(
|
|
396
|
+
{'p1': (_at(10), _at(20))}
|
|
397
|
+
)
|
|
398
|
+
self.assertEqual(
|
|
399
|
+
{'p1': [projects.ActionableCommit('twin', _at(10), _at(12))]},
|
|
400
|
+
result,
|
|
401
|
+
)
|
|
402
|
+
|
|
403
|
+
async def test_a_missing_push_time_falls_back_to_the_commit_time(
|
|
404
|
+
self,
|
|
405
|
+
) -> None:
|
|
343
406
|
query = mock.AsyncMock(
|
|
344
407
|
return_value=[
|
|
345
408
|
{'project_id': 'p1', 'short_sha': 'twin', 'at': _at(10)}
|
|
@@ -349,4 +412,7 @@ class FetchActionableCommitTimesTests(unittest.IsolatedAsyncioTestCase):
|
|
|
349
412
|
result = await projects._fetch_actionable_commit_times(
|
|
350
413
|
{'p1': (_at(10), _at(20))}
|
|
351
414
|
)
|
|
352
|
-
self.assertEqual(
|
|
415
|
+
self.assertEqual(
|
|
416
|
+
{'p1': [projects.ActionableCommit('twin', _at(10), _at(10))]},
|
|
417
|
+
result,
|
|
418
|
+
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|