Repository navigation
Vuln Remediation - #299
Merged
Merged
Vuln Remediation#299
Conversation
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Broad dependency, Docker, and CI changes warrant final human validation.
Review effort: Lite
Findings: None
What changed in this PR
Vulnerability remediation updates dependencies and improves backend container and CI handling.
Changes:
- Upgrades backend/frontend dependencies and lockfile.
- Revises Docker runtime paths and dependency packaging.
- Adds CI dependency checks and removes pre-commit coverage execution.
- Updates a backend test fixture.
| File | Summary |
|---|---|
packages/frontend/package.json |
Upgrades Vitest tooling. |
packages/backend/src/ai/ai.service.spec.ts |
Updates the PNG test fixture. |
packages/backend/package.json |
Upgrades backend dependencies. |
packages/backend/Dockerfile |
Revises runtime layout and module paths. |
package-lock.json |
Records dependency tree updates. |
.husky/pre-commit |
Removes local coverage execution. |
.github/workflows/ci.yml |
Improves dependency caching and Docker checks. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
This pull request includes several improvements and updates across the backend and frontend, focusing on dependency upgrades, Dockerfile adjustments, CI workflow enhancements, and minor test and configuration tweaks. The most important changes are grouped below:
Dependency Upgrades:
packages/backend/package.json, includingexpressto 4.22.3,sharpto 0.35.5,typeormto 0.3.31, anduuidto 11.1.1, along with devDependency upgrades for@vitest/coverage-v8andvitest. [1] [2] [3]@vitest/coverage-v8andvitestto 4.1.11 inpackages/frontend/package.json. [1] [2]Dockerfile & Build Improvements:
packages/backend, adjusted paths for copying build artifacts and node modules, and updated the default command to point to the new location.CI Workflow Enhancements:
node_modulesdirectories in the artifact, ensuring better dependency caching.typeorm,sharp,uuid) inside the built Docker image.Other Notable Changes:
npm run test:coverage:allstep from the pre-commit hook, likely to speed up local commits.