Skip to content

Vuln Remediation - #299

Merged
sfreeman422 merged 3 commits into
masterfrom
feature/bump-vulns
Oct 6, 2026
Merged

sfreeman422 merged 3 commits into
masterfrom
feature/bump-vulns

Conversation

@sfreeman422

@sfreeman422 sfreeman422 commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

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:

  • Updated key backend dependencies in packages/backend/package.json, including express to 4.22.3, sharp to 0.35.5, typeorm to 0.3.31, and uuid to 11.1.1, along with devDependency upgrades for @vitest/coverage-v8 and vitest. [1] [2] [3]
  • Upgraded frontend devDependencies @vitest/coverage-v8 and vitest to 4.1.11 in packages/frontend/package.json. [1] [2]

Dockerfile & Build Improvements:

  • Changed the backend Dockerfile's working directory to 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:

  • Modified the CI workflow to include all nested node_modules directories in the artifact, ensuring better dependency caching.
  • Added a new CI step to verify runtime dependency resolution for critical packages (typeorm, sharp, uuid) inside the built Docker image.

Other Notable Changes:

  • Updated a base64-encoded PNG buffer in a backend test to a new value for improved test reliability.
  • Removed the npm run test:coverage:all step from the pre-commit hook, likely to speed up local commits.

Copilot AI lite review requested due to automatic review settings October 2, 2026 00:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@sfreeman422
sfreeman422 merged commit 093310d into master Oct 6, 2026
11 checks passed
sfreeman422 added a commit that referenced this pull request Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants