cog
415d87c2 - Remove deprecated fast/monobase build system (#2675)

Commit
5 days ago
Remove deprecated fast/monobase build system (#2675) * Remove fast/monobase/monobeam build system and cog_runtime config Remove the deprecated fast build system that used monobase/monobeam. This functionality was experimental, never shipped to users, and is being removed. Removed: - pkg/monobeam/ package (monobeam client) - pkg/docker/fast_push.go, monobase.go (fast push logic) - pkg/dockerfile/fast_generator.go, monobase_matrix.go - pkg/weights/fast_weights.go (fast weights handling) - --x-fast CLI flag from all commands - build.fast, build.cog_runtime, build.python_overrides config fields - Related integration tests (fast_build.txtar, run_fast_build.txtar, overrides.txtar) Also fixed: - Removed incorrect [cog_dataclass] and [coglet_rust] skip directives from --use-cog-base-image tests. These were incorrectly labeled as monobase tests. - Renamed cog_runtime_int/float tests to int/float_input_output (removed cog_runtime: true from cog.yaml) - Updated README references from 'monobase' to '--use-cog-base-image' - Updated stale 'Monobase' comment in version_check.go The standard build path is now the only path. Wheel selection is controlled via COG_WHEEL env var (cog, coglet, URL, or file path). * Add missing [coglet_rust] skip directives to integration tests Tests that were only validated with fast build mode now skip for coglet_rust: - complex_types.txtar - complex_types_list.txtar - install_requires_packaging.txtar - local_whl_install.txtar Also re-add [cog_dataclass] and [coglet_rust] skips to build_cog_version_match due to version date mismatch causing flaky test failures. * Remove monobase-only integration tests and fix flaky version test Delete integration tests that relied on monobase/fast build system features: - complex_types.txtar: used cog.coder module (monobase-only) - complex_types_list.txtar: used cog.coder module (monobase-only) - install_requires_packaging.txtar: monobase-specific packaging handling - local_whl_install.txtar: monobase-specific local wheel handling Add [cog] condition to test framework and skip build_cog_version_match for all wheel types due to flaky date mismatch when CI runs cross day boundaries from wheel build time.
Author
Parents
Loading