Remove deprecated fast/monobase build system#2675
Merged
mfainberg-cf merged 3 commits intomainfrom Feb 3, 2026
Merged
Conversation
markphelps
approved these changes
Feb 2, 2026
Contributor
markphelps
left a comment
There was a problem hiding this comment.
one q. otherwise lgtm!!
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).
867664f to
a34191d
Compare
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.
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.
mfainberg-cf
approved these changes
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove the deprecated fast/monobase/monobeam build system and
cog_runtimeconfig option. This functionality was experimental, never shipped to users, and is being removed.Removed
pkg/monobeam/packagepkg/docker/fast_push.go,monobase.gopkg/dockerfile/fast_generator.go,monobase_matrix.gopkg/weights/fast_weights.go--x-fastCLI flagbuild.fast,build.cog_runtime,build.python_overridesconfig fieldsResult
62 files changed, ~2500 lines removed. The standard build path is now the only path.