Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 6m59s
CICD / Build and Push CICD Image (push) Successful in 18m14s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Source Checks (push) Successful in 15m52s
CICD / Frontend Dependency Audit (push) Failing after 54s
CICD / Source Lanes Failure Postmortem (push) Has been skipped
CICD / Backend Dependency Audit (push) Failing after 18m59s
CICD / CICD Tests Complete (push) Successful in 4s
CICD / Build Backend Base Image (push) Successful in 3m36s
CICD / Build Integration Tester Image (push) Successful in 3m49s
CICD / Build E2E Tester Image (push) Successful in 6m23s
CICD / Build Backend Main Image (push) Successful in 2m42s
CICD / Build Frontend Base Image (push) Successful in 13m55s
CICD / Build Frontend Main Image (push) Successful in 11m59s
CICD / Production Image Failures Postmortem (push) Has been skipped
CICD / Production Images Complete (push) Successful in 3s
CICD / Runtime Black-Box Integration Tests (push) Successful in 51s
CICD / Integration Tests Failure Postmortem (push) Has been skipped
CICD / End-to-End Tests (push) Successful in 11m46s
CICD / E2E Tests Failure Postmortem (push) Has been skipped
Renovate Dependency Updates / Renovate Dependencies (push) Successful in 26m25s
## Summary This PR fixes backend test breakage caused by stale runtime compatibility pins and updates CI behavior so dependency audits remain informative without blocking delivery. ## What Changed - Updated backend runtime compatibility package pins to match current dependency versions. - Updated backend tests to align with the new compatibility expectations and restore coverage compliance. - Expanded backend unit coverage around runtime policy and health-check behavior. - Changed frontend and backend dependency audit lanes in CI to be non-blocking: - They still run in the same workflow position. - Failures are logged clearly. - Pipeline completion is no longer gated on audit pass/fail. ## Why - Recent dependency updates caused runtime policy startup validation to fail in tests. - Audit jobs are useful for visibility, but they should not prevent system completion when they detect issues. ## Validation - Pre-commit hooks passed on commit. - Backend unit tests with coverage pass, including fail-under threshold. - Branch pushed successfully: `fix/backend-runtime-policy-tests`. ## Notes - Audit failures now signal actionable dependency risk without stopping the release flow. Co-authored-by: copilotcoder <copilotcoder@darkhelm.org> Reviewed-on: #81
38 lines
778 B
Docker
38 lines
778 B
Docker
# Frontend Dockerfile for Vue/Vite TypeScript project
|
|
FROM node:24-alpine AS deps
|
|
|
|
WORKDIR /app
|
|
|
|
COPY frontend/package.json frontend/yarn.lock frontend/.yarnrc.yml ./
|
|
RUN set -eux; \
|
|
retry() { \
|
|
attempts="$1"; shift; \
|
|
n=1; \
|
|
while [ "$n" -le "$attempts" ]; do \
|
|
if "$@"; then \
|
|
return 0; \
|
|
fi; \
|
|
if [ "$n" -lt "$attempts" ]; then \
|
|
sleep "$((3 * n))"; \
|
|
fi; \
|
|
n=$((n + 1)); \
|
|
done; \
|
|
return 1; \
|
|
}; \
|
|
retry 5 npm install -g --force @yarnpkg/cli-dist@4.10.3; \
|
|
retry 5 yarn install --immutable
|
|
|
|
FROM deps AS build
|
|
|
|
COPY frontend/ .
|
|
RUN yarn build
|
|
|
|
FROM nginx:alpine AS production
|
|
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
COPY frontend/nginx.conf /etc/nginx/nginx.conf
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|