Loosening our restrictions a little.
Some checks failed
Tests / Build and Push CICD Image (push) Failing after 14m15s
Tests / Darglint Docstring Check (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / Prettier Format Check (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Some checks failed
Tests / Build and Push CICD Image (push) Failing after 14m15s
Tests / Darglint Docstring Check (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / Prettier Format Check (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -156,22 +156,19 @@ RUN echo "# CI optimizations for ARM64 memory constraints" >> .yarnrc.yml && \
|
||||
echo "enableScripts: false" >> .yarnrc.yml && \
|
||||
echo "preferDeferredVersions: true" >> .yarnrc.yml
|
||||
|
||||
# Install frontend dependencies with extreme memory constraints for ARM64
|
||||
RUN export NODE_OPTIONS="--max-old-space-size=512 --max-semi-space-size=64 --initial-old-space-size=128 --optimize-for-size" && \
|
||||
# Install frontend dependencies with conservative memory management
|
||||
RUN export NODE_OPTIONS="--max-old-space-size=800 --max-semi-space-size=64 --optimize-for-size" && \
|
||||
export UV_WORKERS=1 && \
|
||||
ulimit -v 1048576 2>/dev/null || true && \
|
||||
echo "Memory info before install:" && \
|
||||
free -h || true && \
|
||||
for i in 1 2 3; do \
|
||||
echo "Attempt $i: Installing frontend dependencies with minimal memory..." && \
|
||||
sync && echo 3 > /proc/sys/vm/drop_caches 2>/dev/null || true && \
|
||||
timeout 3600 yarn install --immutable --mode=skip-build \
|
||||
echo "Attempt $i: Installing frontend dependencies with conservative memory..." && \
|
||||
timeout 2400 yarn install --immutable --mode=skip-build \
|
||||
&& break || \
|
||||
(echo "Attempt $i failed, cleaning up and waiting for memory recovery..." && \
|
||||
(echo "Attempt $i failed, cleaning up and retrying..." && \
|
||||
rm -rf node_modules .yarn/cache .yarn/install-state.gz && \
|
||||
yarn cache clean --all 2>/dev/null || true && \
|
||||
sync && echo 3 > /proc/sys/vm/drop_caches 2>/dev/null || true && \
|
||||
sleep 60); \
|
||||
sleep 45); \
|
||||
done && \
|
||||
rm -rf .yarn/cache && \
|
||||
swapoff /tmp/swapfile 2>/dev/null || true && \
|
||||
|
||||
Reference in New Issue
Block a user