Repository navigation
fix(compose): layer tier0 memory overlay in compose resolver - #6077
Closed
vaibhavsrv wants to merge 1 commit into
Closed
vaibhavsrv wants to merge 1 commit into
vaibhavsrv wants to merge 1 commit into
Conversation
This was referenced Sep 20, 2026
5 of 17 tasks
This was referenced Sep 29, 2026
Collaborator
|
Thanks for this contribution. |
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.
Fixes #5466
Why this matters
docker-compose.tier0.ymldefines capped memory limits for low-RAM machines (<8GB RAM): capping llama-server at 4G (instead of 6G), dashboard containers at 512M (instead of 2G), and Open WebUI at 1G (instead of 4G). Whileinstallers/lib/compose-select.shlogs that it includes this overlay whenTIER=0, subsequent phases and the CLI re-resolve the stack viascripts/resolve-compose-stack.sh, which previously lacked handling fordocker-compose.tier0.yml. As a result, the overlay was discarded, and low-RAM machines ran with higher baseline limits that exceeded available host memory.This change teaches
resolve-compose-stack.shto layerdocker-compose.tier0.ymlwhenevertieris resolved as0orT0(matching installer convention) and the file is present in the compose directory. Higher tiers and non-Tier 0 configurations remain untouched.Validation
resolve-compose-stack.sh --tier 0 --gpu-backend cpuomitteddocker-compose.tier0.yml, outputting only base and cpu compose files.ods/tests/test_resolve_compose_tier0_overlay.pyconfirms that--tier 0and--tier T0include-f docker-compose.tier0.yml, whereas--tier 1cleanly excludes it.test_resolve_compose_tier0_overlay.pypasses cleanly (exit code 0). Wired into Linux CI workflow under compose resolution tests.Overlap check
Risk / AI disclosure
AI-assisted investigation, implementation, and test regressions. This aligns
resolve-compose-stack.shwith existing installer expectations incompose-select.sh. Independent human review and platform/runtime qualification remain gates. No running configuration, deployment or upstream merge changed.Follow-up integration evidence
Composed with #5871, #5951, #5952, #5953, and #6076 at HEAD without conflicts. Production and test diffs passed together; resolver and compose contracts remain intact.
Backlog composition was local-only (production/test diffs, excluding workflow/Makefile wiring); it is not an upstream merge or independent human approval. Declared live-review gates remain open.