mcli-framework 8.0.69__tar.gz → 8.0.71__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.
- {mcli_framework-8.0.69/src/mcli_framework.egg-info → mcli_framework-8.0.71}/PKG-INFO +1 -1
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/pyproject.toml +1 -1
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/credential_manager.py +5 -5
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/constants/__init__.py +2 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/constants/defaults.py +16 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/constants/messages.py +10 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/toml/toml.py +6 -9
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/ci/act_runner.py +65 -19
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/ci/ci.py +4 -3
- {mcli_framework-8.0.69 → mcli_framework-8.0.71/src/mcli_framework.egg-info}/PKG-INFO +1 -1
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/LICENSE +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/MANIFEST.in +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/README.md +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/llms-full.txt +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/llms.txt +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/mcli_rust/Cargo.toml +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/mcli_rust/src/command_parser.rs +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/mcli_rust/src/file_watcher.rs +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/mcli_rust/src/lib.rs +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/mcli_rust/src/process_manager.rs +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/mcli_rust/src/tfidf.rs +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/setup.cfg +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/__main__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/completion_helpers.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/context_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/delete_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/edit_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/import_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/init_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/list_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/main.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/model/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/model/model.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/model_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/mv_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/new_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/search_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/services_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/setup_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/source_sync_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/sync_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/video/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/app/video/video.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/config.toml +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/api/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/api/api.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/api/daemon_client.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/api/daemon_client_local.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/api/daemon_decorator.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/api/mcli_decorators.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/auth.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/aws_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/azure_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/gcp_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/key_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/mcli_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/token_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/auth/token_util.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/config/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/config/config.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/config/settings.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/constants/commands.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/constants/env.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/constants/paths.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/constants/scripts.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/constants/storage.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/custom_commands.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/discovery/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/discovery/command_discovery.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/erd/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/erd/erd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/erd/generate_graph.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/errors.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/feature_detection.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/files/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/files/files.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/folder_workflows.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/fs/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/fs/fs.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/ipfs_sync.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/ipfs_utils.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/ipns_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/lib.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/logger/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/logger/correlation.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/logger/logger.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/logger/structured.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/optional_deps.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/paths.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/performance/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/performance/optimizer.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/performance/rust_bridge.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/performance/uvloop_config.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/pickles/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/pickles/pickles.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/pyenv/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/pyenv/deps.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/pyenv/manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/pyenv/venv.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/script_loader.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/script_sync.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/script_watcher.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/search/cached_vectorizer.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/secrets/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/secrets/commands.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/secrets/manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/secrets/repl.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/secrets/store.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/config.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/data_pipeline.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/health.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/lsh_client.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/redis_service.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/registry.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/state.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/services/supervisor.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/shell/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/shell/exceptions.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/shell/shell.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/sync_key_store.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/templates/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/templates/command_templates.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/toml/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/types.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/ui/styling.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/ui/visual_effects.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/watcher/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/watcher/watcher.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/workflow_models.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/workflow_runtime.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/lib/workspace_registry.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/mygroup/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/mygroup/test_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/public/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/public/commands/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/public/oi/oi.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/public/public.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/completion_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/env_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/health_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/ipfs_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/logs_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/migrate_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/release_notes_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/self_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/store_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/test_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/self/workflows_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/backends/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/backends/ipfs_backend.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/base.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/cache.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/encryption.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/factory.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/registry.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/storage/storacha_cli.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/ci/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/ci/act_lock.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/ci/runner_status.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/ci/workflow_transform.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/async_command_database.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/async_process_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/client.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/daemon.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/daemon_api.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/enhanced_daemon.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/process_cli.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/process_manager.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/daemon/test_daemon.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/doc_convert.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/docker/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/docker/docker.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/file/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/gcloud/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/gcloud/config.toml +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/gcloud/gcloud.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/git_commit/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/git_commit/ai_service.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/interview/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/lsh_integration.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/client.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/download_and_run_efficient_models.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/lightweight_embedder.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/lightweight_model_server.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/lightweight_test.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/model_service.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/ollama_efficient_runner.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/openai_adapter.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/pdf_processor.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/test_efficient_runner.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/test_example.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/test_integration.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/model_service/test_new_features.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/notebook/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/notebook/command_loader.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/notebook/converter.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/notebook/executor.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/notebook/notebook_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/notebook/schema.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/notebook/validator.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/openai/openai.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/registry/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/registry/registry.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/repo/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/repo/repo.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/scheduler/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/scheduler/cron_parser.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/scheduler/job.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/scheduler/models.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/scheduler/monitor.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/scheduler/persistence.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/scheduler/scheduler.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/scheduler/validation.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/search/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/secrets/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/secrets/secrets_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/storage/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/storage/storage_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/sync/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/sync/test_cmd.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/videos/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/wakatime/__init__.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/wakatime/wakatime.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli/workflow/workflow.py +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli_framework.egg-info/SOURCES.txt +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli_framework.egg-info/dependency_links.txt +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli_framework.egg-info/entry_points.txt +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli_framework.egg-info/requires.txt +0 -0
- {mcli_framework-8.0.69 → mcli_framework-8.0.71}/src/mcli_framework.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcli-framework
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.71
|
|
4
4
|
Summary: Portable workflow framework - transform any script into a versioned, schedulable command. Store in ~/.mcli/workflows/, version with lockfile, run as daemon or cron job.
|
|
5
5
|
Author-email: Luis Fernandez de la Vara <luis@lefv.io>
|
|
6
6
|
Maintainer-email: Luis Fernandez de la Vara <luis@lefv.io>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "mcli-framework"
|
|
3
|
-
version = "8.0.
|
|
3
|
+
version = "8.0.71"
|
|
4
4
|
description = "Portable workflow framework - transform any script into a versioned, schedulable command. Store in ~/.mcli/workflows/, version with lockfile, run as daemon or cron job."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -7,6 +7,7 @@ from pathlib import Path
|
|
|
7
7
|
from typing import Any, Dict, Optional
|
|
8
8
|
|
|
9
9
|
from mcli.lib.config import DEV_SECRETS_ROOT
|
|
10
|
+
from mcli.lib.constants import InfoMessages
|
|
10
11
|
from mcli.lib.fs import get_absolute_path
|
|
11
12
|
from mcli.lib.logger.logger import get_logger
|
|
12
13
|
|
|
@@ -30,7 +31,6 @@ class CredentialManager:
|
|
|
30
31
|
self.config_dir = Path.home() / ".config" / app_name
|
|
31
32
|
self.config_file = self.config_dir / config_filename
|
|
32
33
|
self._ensure_config_dir()
|
|
33
|
-
# logger.info("config file:", self.config_file)
|
|
34
34
|
|
|
35
35
|
def _ensure_config_dir(self):
|
|
36
36
|
"""
|
|
@@ -38,8 +38,8 @@ class CredentialManager:
|
|
|
38
38
|
Ensures parent directories exist and sets proper access modes.
|
|
39
39
|
"""
|
|
40
40
|
logger.info("Insure of ensure config dir")
|
|
41
|
-
logger.info(
|
|
42
|
-
logger.info(
|
|
41
|
+
logger.info(InfoMessages.CONFIG_FILE_PATH, self.config_file)
|
|
42
|
+
logger.info(InfoMessages.CONFIG_DIRECTORY_PATH, self.config_dir)
|
|
43
43
|
try:
|
|
44
44
|
# Create parent directories if they don't exist
|
|
45
45
|
# 0o700 means read, write, execute permissions for owner only
|
|
@@ -59,7 +59,7 @@ class CredentialManager:
|
|
|
59
59
|
Dict[str, Any]: Configuration dictionary, empty if file doesn't exist or is invalid.
|
|
60
60
|
"""
|
|
61
61
|
try:
|
|
62
|
-
logger.info(
|
|
62
|
+
logger.info(InfoMessages.READING_CONFIG_PATH, self.config_file)
|
|
63
63
|
if not self.config_file.exists():
|
|
64
64
|
return {}
|
|
65
65
|
|
|
@@ -178,7 +178,7 @@ class CredentialManager:
|
|
|
178
178
|
filepath = get_absolute_path(DEV_SECRETS_ROOT + "thirdParty/" + thirdPartyApiKind + ".txt")
|
|
179
179
|
with open(filepath, "w") as f:
|
|
180
180
|
f.write(json.dumps(str(creds)))
|
|
181
|
-
logger.info(thirdPartyApiKind
|
|
181
|
+
logger.info(InfoMessages.CREDENTIALS_PERSISTED_PATH, thirdPartyApiKind, filepath)
|
|
182
182
|
|
|
183
183
|
@staticmethod
|
|
184
184
|
def create_key_auth_token(user_id, private_key_path):
|
|
@@ -21,6 +21,7 @@ from .commands import (
|
|
|
21
21
|
DefaultIncludedDirs,
|
|
22
22
|
)
|
|
23
23
|
from .defaults import (
|
|
24
|
+
ActOutputMarkers,
|
|
24
25
|
DateFormats,
|
|
25
26
|
Editors,
|
|
26
27
|
Encoding,
|
|
@@ -114,6 +115,7 @@ __all__ = [
|
|
|
114
115
|
"ServiceDefaults",
|
|
115
116
|
"IpfsDefaults",
|
|
116
117
|
"ImportDefaults",
|
|
118
|
+
"ActOutputMarkers",
|
|
117
119
|
# Commands
|
|
118
120
|
"CommandKeys",
|
|
119
121
|
"CommandGroups",
|
|
@@ -170,6 +170,22 @@ class IpfsDefaults:
|
|
|
170
170
|
DAEMON_POLL_INTERVAL_MS = 500
|
|
171
171
|
|
|
172
172
|
|
|
173
|
+
class ActOutputMarkers:
|
|
174
|
+
"""Patterns in `act` output that `mcli ci preflight` classifies (#247)."""
|
|
175
|
+
|
|
176
|
+
# act prints one per job it actually executed (runner/job_executor.go).
|
|
177
|
+
JOB_RESULT_PATTERN = r"\U0001F3C1\s+Job (succeeded|failed)"
|
|
178
|
+
JOB_SUCCEEDED = "succeeded"
|
|
179
|
+
JOB_FAILED = "failed"
|
|
180
|
+
# Lower-case substrings meaning the container runtime could not be reached.
|
|
181
|
+
DOCKER_UNREACHABLE = (
|
|
182
|
+
"cannot connect to the docker daemon",
|
|
183
|
+
"is the docker daemon running",
|
|
184
|
+
"error during connect",
|
|
185
|
+
"failed to connect to the docker api",
|
|
186
|
+
)
|
|
187
|
+
|
|
188
|
+
|
|
173
189
|
class ImportDefaults:
|
|
174
190
|
"""Import command default values."""
|
|
175
191
|
|
|
@@ -9,6 +9,9 @@ internationalization easier in the future.
|
|
|
9
9
|
class ErrorMessages:
|
|
10
10
|
"""Error message constants."""
|
|
11
11
|
|
|
12
|
+
CI_GATE_FAILED = "❌ Local CI gate failed — fix before opening PR."
|
|
13
|
+
CI_GATE_PR_REFUSED = "Local CI gate failed; not opening PR."
|
|
14
|
+
|
|
12
15
|
EDITOR_NOT_FOUND = (
|
|
13
16
|
"No editor found. Please set the EDITOR environment variable or install vim/nano."
|
|
14
17
|
)
|
|
@@ -34,6 +37,8 @@ class ErrorMessages:
|
|
|
34
37
|
class SuccessMessages:
|
|
35
38
|
"""Success message constants."""
|
|
36
39
|
|
|
40
|
+
CI_GATE_PASSED = "✅ Local CI gate passed — OK to open PR."
|
|
41
|
+
|
|
37
42
|
INITIALIZED_GIT_REPO = "Initialized git repository at {path}"
|
|
38
43
|
COMMAND_STORE_INITIALIZED = "Command store initialized at {path}"
|
|
39
44
|
CREATED_COMMAND = "Created portable custom command: {name}"
|
|
@@ -65,6 +70,11 @@ class WarningMessages:
|
|
|
65
70
|
class InfoMessages:
|
|
66
71
|
"""Informational message constants."""
|
|
67
72
|
|
|
73
|
+
CONFIG_FILE_PATH = "Config file: %s"
|
|
74
|
+
CONFIG_DIRECTORY_PATH = "Config directory: %s"
|
|
75
|
+
READING_CONFIG_PATH = "Reading config file: %s"
|
|
76
|
+
CREDENTIALS_PERSISTED_PATH = "%s secrets have been persisted into: %s"
|
|
77
|
+
|
|
68
78
|
COPYING_COMMANDS = "Copying commands from {source} to {dest}..."
|
|
69
79
|
NO_CHANGES_TO_COMMIT = "No changes to commit"
|
|
70
80
|
WORKFLOW_CRASH_LOCATION = " in {location}"
|
|
@@ -14,20 +14,17 @@ def read_from_toml(file_path: str, key: str) -> Optional[Any]:
|
|
|
14
14
|
|
|
15
15
|
Raises:
|
|
16
16
|
FileNotFoundError: If the specified file does not exist.
|
|
17
|
-
tomllib.TOMLDecodeError or
|
|
17
|
+
tomllib.TOMLDecodeError or tomli.TOMLDecodeError: If the file contains invalid TOML.
|
|
18
18
|
"""
|
|
19
19
|
try:
|
|
20
20
|
# Attempt to use the built-in tomllib (available in Python 3.11+)
|
|
21
|
-
import tomllib
|
|
22
|
-
|
|
23
|
-
with open(file_path, "rb") as file:
|
|
24
|
-
config_data = tomllib.load(file)
|
|
21
|
+
import tomllib as parser
|
|
25
22
|
except ModuleNotFoundError:
|
|
26
|
-
#
|
|
27
|
-
import
|
|
23
|
+
# tomli is already a declared core dependency and uses the same binary API.
|
|
24
|
+
import tomli as parser
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
with open(file_path, "rb") as file:
|
|
27
|
+
config_data = parser.load(file)
|
|
31
28
|
|
|
32
29
|
# Return the value for the provided key, or None if the key is not found.
|
|
33
30
|
return config_data.get(key)
|
|
@@ -12,6 +12,7 @@ import time
|
|
|
12
12
|
from enum import Enum
|
|
13
13
|
from pathlib import Path
|
|
14
14
|
|
|
15
|
+
from mcli.lib.constants import ActOutputMarkers
|
|
15
16
|
from mcli.workflow.ci.act_lock import LOCK_TIMEOUT_ENV, act_lock, resolve_timeout
|
|
16
17
|
|
|
17
18
|
# Docker Hub returns these when the unauthenticated image-pull rate limit is hit.
|
|
@@ -30,6 +31,16 @@ _RATE_LIMIT_MARKERS = (
|
|
|
30
31
|
# no job ran at all (#242).
|
|
31
32
|
_NO_STAGES_MARKERS = ("could not find any stages to run",)
|
|
32
33
|
|
|
34
|
+
# act prints one of these per job it actually executed (runner/job_executor.go).
|
|
35
|
+
# Exit 0 alone is not evidence: when every job is skipped (an `if:` guard, or a
|
|
36
|
+
# `runs-on` act has no platform for) act runs nothing and still exits 0 (#247).
|
|
37
|
+
# A PASS therefore needs >=1 "Job succeeded" and no "Job failed".
|
|
38
|
+
_JOB_RESULT_RE = re.compile(ActOutputMarkers.JOB_RESULT_PATTERN)
|
|
39
|
+
|
|
40
|
+
# act or the container runtime could not be reached. An environment problem,
|
|
41
|
+
# not a test failure: classified UNREACHABLE when no job ran.
|
|
42
|
+
_DOCKER_UNREACHABLE_MARKERS = ActOutputMarkers.DOCKER_UNREACHABLE
|
|
43
|
+
|
|
33
44
|
# Backoff (seconds) between docker rate-limit retries; the last value repeats.
|
|
34
45
|
_RETRY_BACKOFF = (15, 45)
|
|
35
46
|
_MAX_RETRIES = 2
|
|
@@ -73,6 +84,20 @@ def _has_no_stages(output: str) -> bool:
|
|
|
73
84
|
return any(marker in low for marker in _NO_STAGES_MARKERS)
|
|
74
85
|
|
|
75
86
|
|
|
87
|
+
def _job_results(output: str) -> tuple[int, int]:
|
|
88
|
+
"""(succeeded, failed) job counts from act's `🏁 Job …` result lines."""
|
|
89
|
+
results = _JOB_RESULT_RE.findall(output or "")
|
|
90
|
+
return (
|
|
91
|
+
results.count(ActOutputMarkers.JOB_SUCCEEDED),
|
|
92
|
+
results.count(ActOutputMarkers.JOB_FAILED),
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
def _is_docker_unreachable(output: str) -> bool:
|
|
97
|
+
low = (output or "").lower()
|
|
98
|
+
return any(marker in low for marker in _DOCKER_UNREACHABLE_MARKERS)
|
|
99
|
+
|
|
100
|
+
|
|
76
101
|
def act_available() -> bool:
|
|
77
102
|
return shutil.which("act") is not None
|
|
78
103
|
|
|
@@ -269,15 +294,12 @@ def _run_with_retries(
|
|
|
269
294
|
if output:
|
|
270
295
|
sys.stdout.write(output if output.endswith("\n") else output + "\n")
|
|
271
296
|
|
|
272
|
-
|
|
273
|
-
|
|
297
|
+
# No job matches this event (e.g. workflow_dispatch-only). run_act
|
|
298
|
+
# decides whether a dispatch fallback exists.
|
|
299
|
+
if proc.returncode != 0 and _has_no_stages(output):
|
|
300
|
+
return PreflightResult.NOT_VALIDATED, output
|
|
274
301
|
|
|
275
|
-
|
|
276
|
-
# provisional — run_act decides whether a dispatch fallback exists.
|
|
277
|
-
if _has_no_stages(output):
|
|
278
|
-
return PreflightResult.PASS, output
|
|
279
|
-
|
|
280
|
-
if _is_docker_rate_limited(output):
|
|
302
|
+
if proc.returncode != 0 and _is_docker_rate_limited(output):
|
|
281
303
|
if attempt < retries:
|
|
282
304
|
delay = backoff[min(attempt, len(backoff) - 1)]
|
|
283
305
|
sys.stdout.write(
|
|
@@ -293,7 +315,25 @@ def _run_with_retries(
|
|
|
293
315
|
)
|
|
294
316
|
return PreflightResult.UNREACHABLE, output
|
|
295
317
|
|
|
296
|
-
|
|
318
|
+
succeeded, failed = _job_results(output)
|
|
319
|
+
if proc.returncode != 0 or failed:
|
|
320
|
+
return PreflightResult.FAIL, output
|
|
321
|
+
if succeeded:
|
|
322
|
+
return PreflightResult.PASS, output
|
|
323
|
+
|
|
324
|
+
# act exited 0 but reported no job result: nothing ran (#247).
|
|
325
|
+
if _is_docker_unreachable(output):
|
|
326
|
+
sys.stdout.write(
|
|
327
|
+
"⚠️ act could not reach the container runtime (Docker/Podman) — "
|
|
328
|
+
"no job ran; cannot validate locally.\n"
|
|
329
|
+
)
|
|
330
|
+
return PreflightResult.UNREACHABLE, output
|
|
331
|
+
sys.stdout.write(
|
|
332
|
+
"⚠️ act exited 0 but no job ran (no '🏁 Job succeeded' line): every job "
|
|
333
|
+
"was skipped by an `if:` condition or an unsupported `runs-on`. This is "
|
|
334
|
+
"NOT a pass.\n"
|
|
335
|
+
)
|
|
336
|
+
return PreflightResult.NOT_VALIDATED, output
|
|
297
337
|
|
|
298
338
|
|
|
299
339
|
def run_act(
|
|
@@ -303,10 +343,13 @@ def run_act(
|
|
|
303
343
|
) -> PreflightResult:
|
|
304
344
|
"""Run act for `event` and classify the outcome.
|
|
305
345
|
|
|
306
|
-
- exit 0 -> PASS.
|
|
346
|
+
- exit 0 with >=1 ``🏁 Job succeeded`` line and no ``Job failed`` -> PASS.
|
|
347
|
+
- exit 0 with no job result line (every job skipped by an ``if:`` or an
|
|
348
|
+
unsupported ``runs-on``) -> not a pass: try the dispatch gates below,
|
|
349
|
+
else NOT_VALIDATED (#247). If the runtime was unreachable -> UNREACHABLE.
|
|
307
350
|
- non-zero whose output shows a Docker Hub pull rate limit
|
|
308
351
|
(``toomanyrequests``) -> retried; if still limited, UNREACHABLE.
|
|
309
|
-
- any other non-zero exit -> FAIL.
|
|
352
|
+
- any other non-zero exit, or any ``Job failed`` line -> FAIL.
|
|
310
353
|
|
|
311
354
|
Migrated repos are ``workflow_dispatch``-only, so the default
|
|
312
355
|
``pull_request`` event matches no jobs. Rather than hollow-pass, discover
|
|
@@ -322,10 +365,11 @@ def run_act(
|
|
|
322
365
|
arch = default_container_arch()
|
|
323
366
|
result, output = _run_with_retries(build_act_command(event, arch=arch), retries, backoff)
|
|
324
367
|
|
|
325
|
-
if
|
|
368
|
+
if result != PreflightResult.NOT_VALIDATED:
|
|
326
369
|
return result
|
|
327
370
|
|
|
328
|
-
# No
|
|
371
|
+
# No job ran for the requested event (no stages, or every job skipped) —
|
|
372
|
+
# try safe workflow_dispatch gates.
|
|
329
373
|
workflows = dispatch_workflows()
|
|
330
374
|
if not workflows:
|
|
331
375
|
sys.stdout.write(
|
|
@@ -348,11 +392,9 @@ def run_act(
|
|
|
348
392
|
continue
|
|
349
393
|
|
|
350
394
|
sys.stdout.write(
|
|
351
|
-
f"ℹ️ No '{event}'
|
|
352
|
-
f"{workflow} {jobs} via workflow_dispatch…\n"
|
|
395
|
+
f"ℹ️ No '{event}' job ran; running {workflow} {jobs} via workflow_dispatch…\n"
|
|
353
396
|
)
|
|
354
397
|
for job in jobs:
|
|
355
|
-
ran_job = True
|
|
356
398
|
result, output = _run_with_retries(
|
|
357
399
|
build_act_command("workflow_dispatch", workflow=workflow, job=job, arch=arch),
|
|
358
400
|
retries,
|
|
@@ -362,13 +404,17 @@ def run_act(
|
|
|
362
404
|
return PreflightResult.UNREACHABLE
|
|
363
405
|
# We KNOW this job exists (it came from `act --list`), so "no stages"
|
|
364
406
|
# here means act ran nothing — a failure, not a no-op. Do not pass.
|
|
365
|
-
if result
|
|
407
|
+
if result == PreflightResult.FAIL or _has_no_stages(output):
|
|
366
408
|
return PreflightResult.FAIL
|
|
409
|
+
# A job act skipped (its `if:`, or `runs-on` act cannot serve) ran
|
|
410
|
+
# nothing; only a job that really succeeded counts toward a pass.
|
|
411
|
+
if result == PreflightResult.PASS:
|
|
412
|
+
ran_job = True
|
|
367
413
|
|
|
368
414
|
if not ran_job:
|
|
369
415
|
sys.stdout.write(
|
|
370
|
-
f"⚠️ No '{event}'
|
|
371
|
-
"
|
|
416
|
+
f"⚠️ No '{event}' job ran, and no workflow_dispatch job in "
|
|
417
|
+
f"{', '.join(workflows)} ran either — nothing was validated.\n"
|
|
372
418
|
)
|
|
373
419
|
return PreflightResult.NOT_VALIDATED
|
|
374
420
|
|
|
@@ -9,6 +9,7 @@ from pathlib import Path
|
|
|
9
9
|
|
|
10
10
|
import click
|
|
11
11
|
|
|
12
|
+
from mcli.lib.constants import ErrorMessages, SuccessMessages
|
|
12
13
|
from mcli.workflow.ci.act_lock import DEFAULT_LOCK_TIMEOUT_SECONDS, LOCK_TIMEOUT_ENV
|
|
13
14
|
from mcli.workflow.ci.act_runner import PreflightResult, act_available, docker_running
|
|
14
15
|
from mcli.workflow.ci.act_runner import preflight as preflight_fn
|
|
@@ -115,10 +116,10 @@ def preflight(event, lock_timeout):
|
|
|
115
116
|
slug = current_repo_slug()
|
|
116
117
|
result = preflight_fn(slug, event, lock_timeout=lock_timeout)
|
|
117
118
|
if result == PreflightResult.PASS:
|
|
118
|
-
click.echo(
|
|
119
|
+
click.echo(SuccessMessages.CI_GATE_PASSED)
|
|
119
120
|
raise SystemExit(0)
|
|
120
121
|
if result == PreflightResult.FAIL:
|
|
121
|
-
click.echo(
|
|
122
|
+
click.echo(ErrorMessages.CI_GATE_FAILED)
|
|
122
123
|
raise SystemExit(1)
|
|
123
124
|
if result == PreflightResult.NOT_VALIDATED:
|
|
124
125
|
click.echo(
|
|
@@ -149,7 +150,7 @@ def pr():
|
|
|
149
150
|
subprocess.run(["gh", "pr", "create", "--fill", "--base", "main"], check=False)
|
|
150
151
|
return
|
|
151
152
|
if result == PreflightResult.FAIL:
|
|
152
|
-
click.echo(
|
|
153
|
+
click.echo(ErrorMessages.CI_GATE_PR_REFUSED)
|
|
153
154
|
raise SystemExit(1)
|
|
154
155
|
if result == PreflightResult.NOT_VALIDATED:
|
|
155
156
|
click.echo("act ran no job; refusing to open an unvalidated PR.")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcli-framework
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.71
|
|
4
4
|
Summary: Portable workflow framework - transform any script into a versioned, schedulable command. Store in ~/.mcli/workflows/, version with lockfile, run as daemon or cron job.
|
|
5
5
|
Author-email: Luis Fernandez de la Vara <luis@lefv.io>
|
|
6
6
|
Maintainer-email: Luis Fernandez de la Vara <luis@lefv.io>
|
|
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
|
|
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
|