Fix CI pytest failure, add .dockerignore, complete render.yaml - #4
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/Trojan3877/SentinelAI/sessions/6917488b-47cc-4241-a17c-15e90e5cd30a Co-authored-by: Trojan3877 <182694928+Trojan3877@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add deployment-ready structure for the application
Fix CI pytest failure, add .dockerignore, complete render.yaml
Apr 11, 2026
CoreyLeath-code
marked this pull request as ready for review
April 11, 2026 17:56
23 tasks
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.
CI was broken due to
pytest: command not found(exit code 127) —pip installplaces the binary in~/.local/binwhich isn't guaranteed on$PATHin GitHub runners. Render deployment config was a stub. No.dockerignoreexisted, meaning Docker builds included.git, secrets templates, Terraform state, and other noise.Changes
CI (
ci.yml)pytest tests/ -v→python -m pytest tests/ -v— bypasses PATH resolution entirely.dockerignore(new)Excludes from all image builds:
.git/,.github/,*.md,LICENSE.env,.env.*(secrets —!.env.examplekept)terraform/,helm/,k8s/,monitoring/(infra-only, mounted as volumes in compose)render.yamlExpanded from a 5-line stub to define all 4 Docker services with correct
dockerfilePath,dockerContext,healthCheckPath, and env vars. Sensitive values (DATABASE_URL,OLLAMA_HOST) markedsync: falsefor secure injection via the Render dashboard.sentinel-dashboardstreamlit-dashboard/Dockerfile/_stcore/healthsentinel-ingestioningestion-service/Dockerfile/healthsentinel-drift-enginedrift-engine/Dockerfile/healthsentinel-llm-guardllm-guard/Dockerfile/health