Skip to content

Chore/security OSV triage safe upgrades#95

Open
nazarli-shabnam wants to merge 5 commits intomainfrom
chore/security-osv-triage-safe-upgrades
Open

Chore/security OSV triage safe upgrades#95
nazarli-shabnam wants to merge 5 commits intomainfrom
chore/security-osv-triage-safe-upgrades

Conversation

@nazarli-shabnam
Copy link
Copy Markdown
Member

This pull request updates both backend and frontend dependencies to address security, compatibility, and stability. The backend (api) receives minor Go version and dependency upgrades, while the frontend (ui) updates several npm packages, including important libraries like axios and vite. These changes help ensure the project stays current with upstream improvements and security patches.

Backend (Go) dependency and environment updates:

  • Updated Go version in both api/go.mod and api/Dockerfile from 1.25.5/1.25-alpine to 1.25.9/1.25.9-alpine, ensuring the latest minor release is used. [1] [2]
  • Upgraded several Go dependencies for improved stability and security, including github.com/jackc/pgx/v5 (v5.6.0 → v5.9.2), github.com/quic-go/qpack (v0.5.1 → v0.6.0), and github.com/quic-go/quic-go (v0.54.0 → v0.57.0). [1] [2]

Frontend (npm) dependency updates:

  • Upgraded axios from ^1.13.5 to ^1.15.2 in both ui/package.json and ui/package-lock.json, including its dependency proxy-from-env and follow-redirects, to address potential vulnerabilities and bugs. [1] [2] [3] [4] [5]
  • Upgraded vite from ^7.3.1 to ^7.3.2 for the build system, which may include bug fixes and performance improvements. [1] [2] [3]

Other npm dependency bumps:

  • Updated postcss (8.5.6 → 8.5.12) and brace-expansion (multiple minor version bumps), which are indirect dependencies, to pull in upstream fixes and improvements. [1] [2] [3]

@nazarli-shabnam nazarli-shabnam added this to the Deadline milestone May 1, 2026
@nazarli-shabnam nazarli-shabnam self-assigned this May 1, 2026
Copilot AI review requested due to automatic review settings May 1, 2026 14:32
@nazarli-shabnam nazarli-shabnam added enhancement New feature or request Vulnerability labels May 1, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates backend and frontend dependencies to incorporate security/stability fixes and keep the project aligned with upstream patch releases.

Changes:

  • Bumps Go toolchain image/tag and refreshes Go module dependencies (pgx, quic-go, etc.).
  • Updates UI dependencies including axios and vite, with corresponding package-lock.json refresh.
  • Pulls in various indirect dependency updates (e.g., postcss, brace-expansion, follow-redirects, proxy-from-env).

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
api/go.mod Updates Go version directive and several indirect module versions.
api/go.sum Updates module checksums to match refreshed dependencies.
api/Dockerfile Bumps Go builder image patch version.
ui/package.json Updates direct npm dependency versions (axios, vite).
ui/package-lock.json Updates resolved npm dependency graph for the bumped packages.
Files not reviewed (1)
  • ui/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread api/go.mod
module github.com/Devlaner/devlane/api

go 1.25.5
go 1.25.9
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

The go directive in go.mod should be major.minor only (e.g., go 1.25). Using a patch version (1.25.9) is not valid syntax for the go directive and can break go mod/CI. If you need to pin the exact toolchain patch level, keep go 1.25 and add a toolchain go1.25.9 directive instead.

Suggested change
go 1.25.9
go 1.25
toolchain go1.25.9

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

@nazarli-shabnam nazarli-shabnam left a comment

Choose a reason for hiding this comment

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

@nazarli-shabnam nazarli-shabnam requested a review from a team May 1, 2026 15:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 5 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • ui/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants