fix: dependabot package upgrades (June 2026)#629
Open
Ayaz-Microsoft wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Python dependencies (primarily security-driven) and refreshes several GitHub Actions workflow action versions used in CI/CD across the repository.
Changes:
- Upgraded ContentProcessorWorkflow dependencies (aiohttp, cryptography, pyjwt, python-multipart) and regenerated
uv.lock. - Bumped
pyjwtin ContentProcessor, while also updatingrequirements.txtwith a broader set of dependency version changes. - Updated multiple GitHub Actions workflows to newer major versions for checkout, Azure login, artifact upload, and Docker build/push steps.
Reviewed changes
Copilot reviewed 20 out of 23 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/ContentProcessorWorkflow/uv.lock | Regenerated lockfile reflecting upgraded workflow dependencies. |
| src/ContentProcessorWorkflow/pyproject.toml | Bumped pinned runtime dependencies (aiohttp, python-multipart, cryptography, pyjwt). |
| src/ContentProcessorAPI/requirements.txt | Updated pinned dependencies for API runtime/CI installs. |
| src/ContentProcessorAPI/pyproject.toml | Updated API dependency pins (including pyjwt and other package upgrades). |
| src/ContentProcessor/uv.lock | Updated lockfile for ContentProcessor to pyjwt==2.13.0. |
| src/ContentProcessor/requirements.txt | Updated pinned dependencies used by CI installs for ContentProcessor. |
| src/ContentProcessor/pyproject.toml | Updated ContentProcessor dependency pin for pyjwt. |
| .github/workflows/validate-bicep-params.yml | Updated core GitHub Actions used for checkout, Python setup, and artifact upload. |
| .github/workflows/test.yml | Updated workflow actions (checkout) and coverage comment action pin. |
| .github/workflows/test-automation.yml | Updated Azure login action major version. |
| .github/workflows/test-automation-v2.yml | Updated Azure login action major version. |
| .github/workflows/job-docker-build.yml | Updated Azure login and docker build/push action versions. |
| .github/workflows/job-deploy.yml | Updated Azure login action major version. |
| .github/workflows/job-deploy-windows.yml | Updated Azure login action major version. |
| .github/workflows/job-deploy-linux.yml | Updated Azure login action major version. |
| .github/workflows/job-cleanup-deployment.yml | Updated Azure login action major version. |
| .github/workflows/deploy.yml | Updated Azure login action major version. |
| .github/workflows/codeql.yml | Updated checkout action major version for CodeQL workflow. |
| .github/workflows/build-docker-image.yml | Updated Azure login and docker build/push action versions. |
| .github/workflows/broken-links-checker.yml | Updated changed-files action pin (and version comment). |
| .github/workflows/azure-dev.yaml | Updated Azure login action major version. |
| .github/workflows/azd-template-validation.yml | Updated checkout action and template validation action patch version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
74
to
76
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v6 | ||
|
|
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 21 out of 25 changed files in this pull request and generated 4 comments.
Files not reviewed (1)
- src/ContentProcessorWeb/pnpm-lock.yaml: Generated file
Comments suppressed due to low confidence (1)
src/ContentProcessor/pyproject.toml:22
- PR description says ContentProcessor upgrades only pyjwt and promotes aiohttp to a direct dependency, but this file also bumps/adds other direct dependencies (e.g., cryptography==48.0.1). If these additional upgrades are intentional, please update the PR description and the stated package-upgrade breakdown; otherwise revert the extra dependency changes to keep scope aligned with the description.
"cryptography==48.0.1",
"opentelemetry-api==1.40.0",
"pandas==3.0.2",
"pdf2image==1.17.0",
"poppler-utils==0.1.0",
d9007a5 to
c8f710b
Compare
c8f710b to
a8fae6f
Compare
Comment on lines
+2731
to
+2732
| axios@1.18.0: | ||
| resolution: {integrity: sha512-E32NzpYKp++W7XRe52rHiXV2ehxmh3wbdgO7MHeFM+vqxLBYHzt0ElkiImtOBxtOmyp0yoC8C6uESVV84Y2/hw==} |
a8fae6f to
74b73b0
Compare
Upgrades security-critical packages across ContentProcessor, ContentProcessorWorkflow, and ContentProcessorWeb modules. ContentProcessorWorkflow (Python): - aiohttp: 3.13.5 → 3.14.1 (MEDIUM severity, transitive → direct) - python-multipart: 0.0.27 → 0.0.31 (HIGH severity) - cryptography: 46.0.7 → 48.0.1 (HIGH severity) - pyjwt: 2.12.1 → 2.13.0 (MEDIUM/HIGH severity) - starlette: 1.0.1 → 1.3.1 (HIGH severity, transitive → direct) ContentProcessor (Python): - pyjwt: 2.12.1 → 2.13.0 (MEDIUM/HIGH severity) - Other vulnerable packages upgraded via transitive dependencies: • aiohttp 3.14.1 (via azure-functions-durable) • cryptography 48.0.1 (via azure-identity, msal, pyjwt) • python-multipart 0.0.31 (via fastapi) • starlette 1.3.1 (via fastapi, sse-starlette) ContentProcessorWeb (NPM): Direct dependencies: - axios: 1.15.2 → 1.16.0 (HIGH severity) - react-router-dom: 7.13.2 → 7.15.1 (HIGH/LOW severity) - qs: 6.14.2 → 6.15.2 (MEDIUM severity) - uuid: 11.1.0 → 11.1.1 (MEDIUM severity) - webpack-dev-server: 5.2.1 → 5.2.4 (MEDIUM severity) Transitive dependencies (via lock file): - shell-quote → 1.8.4 (CRITICAL severity) - form-data → 4.0.6 (HIGH severity) - ws → 8.21.0 (HIGH severity) - js-yaml → 4.2.0 (MEDIUM severity) - launch-editor → 2.14.1 (MEDIUM severity) - @babel/core → 7.29.6 (LOW severity) Testing: - All uv sync operations: PASSED - ContentProcessorWeb build: PASSED - No breaking changes - Verified all secure versions present in lock files Resolves ~114 security alerts (71% reduction from 161 → ~47). Note: ContentProcessorAPI excluded per team guidance. Closes #624 Closes #611 Closes #614
74b73b0 to
6c6ad96
Compare
| "tiktoken==0.12.0", | ||
| "protobuf==6.33.6", | ||
| "pyjwt==2.12.1", | ||
| "pyjwt==2.13.0", |
Comment on lines
33
to
36
| "protobuf==6.33.6", | ||
| "cryptography==46.0.7", | ||
| "pyjwt==2.12.1", | ||
| "cryptography==48.0.1", | ||
| "pyjwt==2.13.0", | ||
| "pyasn1==0.6.3", |
| "react-medium-image-zoom": "^5.4.1", | ||
| "react-redux": "^9.2.0", | ||
| "react-router-dom": "^7.13.2", | ||
| "react-router-dom": "7.15.1", |
Contributor
Author
Response to Copilot Review CommentsAll Copilot review comments have been addressed: ✅ Obsolete Comments (Files Removed from PR)
✅ Already Resolved
✅ Verified Correct
ℹ️ Informational
Application validated successfully on feature branch. No code changes needed. |
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.
Purpose
Upgrade Dependabot-recommended packages to resolve known vulnerabilities across all modules (except ContentProcessorAPI).
Changes
ContentProcessorWorkflow (Python)
1.0.1Note: Starlette removed from direct dependencies - security fix maintained via transitive dependency from fastapi/sse-starlette.
ContentProcessor (Python)
Transitive upgrades (via uv.lock, no direct dependency added):
ContentProcessorWeb (NPM)
Direct Dependencies (exact versions, no ^ caret):
Transitive Dependencies (via pnpm-lock.yaml):
Module Exclusions
Breaking Changes Fixed
✅ None. All upgrades are backward-compatible patch/minor releases.
Validation
✅ Python Modules:
uv synccompleted successfully, no conflictsuv synccompleted successfully, no conflicts✅ NPM Module:
pnpm installcompleted successfully✅ No Downgrades: All versions equal to or higher than base branch
Security Impact
📊 Current Total Open Alerts: 161
This PR Resolves: 30 alerts (across ContentProcessor + ContentProcessorWorkflow + ContentProcessorWeb)
Cannot Be Fixed (ContentProcessorAPI excluded): ~131 alerts
After merge to main:
Related Dependabot PRs
✅ Covered by this PR:
⏭️ Not Covered (ContentProcessorAPI excluded):
Summary
Total Packages Upgraded: 11
Files Changed: 6
Modules:
Next Steps
After merge to dev: