Skip to content

fix(full): replace abandoned azure-storage-blob with azure-oss/storage#154

Merged
CybotTM merged 1 commit into
mainfrom
fix/azure-oss-storage
Jun 20, 2026
Merged

fix(full): replace abandoned azure-storage-blob with azure-oss/storage#154
CybotTM merged 1 commit into
mainfrom
fix/azure-oss-storage

Conversation

@CybotTM

@CybotTM CybotTM commented Jun 20, 2026

Copy link
Copy Markdown
Member

Removes the abandoned microsoft/azure-storage-blob SDK from the full image by adopting phpbu 6.0.32's migration to the maintained azure-oss/storage.

Background

microsoft/azure-storage-blob is abandoned upstream (Microsoft archived it; Packagist abandoned: true, no replacement). It was a direct require in the full image only because phpbu's Azure Blob sync adapter was hardwired to it. That's now fixed at the root: phpbu migrated the adapter to azure-oss/storage in sebastianfeldmann/phpbu#402, released in phpbu 6.0.32.

What changed (app/full/composer.json + lock)

  • phpbu/phpbu ^6.0^6.0.32 (the release whose Azure adapter uses azure-oss).
  • Direct require microsoft/azure-storage-blob: ^1.4azure-oss/storage: ^1.9 (phpbu lists azure-oss as suggest/require-dev, so the full image still declares it explicitly to enable the adapter).
  • composer update removed microsoft/azure-storage-blob + microsoft/azure-storage-common entirely; pulled azure-oss/storage 1.9.0, azure-oss/storage-common, azure-oss/identity.

Verification

  • composer validate clean; no abandoned packages remain in the lock; composer audit reports no advisories.
  • phpbu 6.0.32's azureblob sync runs in --simulate under PHP 8.5: loads AzureOss\Storage\Blob\BlobServiceClient (no "SDK not loaded") and masks the credential (connectionString: ********).
  • The Security Scan (Trivy) runs on this PR and rebuilds the full image — it should now be clean of the abandonment finding.

Supersedes

This replaces the documentation-only workaround in #153 (which explained why the abandoned package was kept). With the package removed, that note is obsolete — closing #153 in favour of this fix.

phpbu 6.0.32 migrated its Azure Blob sync adapter from the abandoned
microsoft/azure-storage-blob SDK to the maintained azure-oss/storage
(sebastianfeldmann/phpbu#402). Bump phpbu to ^6.0.32 and swap the direct
require accordingly, removing the abandoned microsoft/azure-storage-*
packages from the full image entirely.

Verified: composer resolves cleanly under PHP 8.5 (no abandoned packages
in the lock, no security advisories) and phpbu's azureblob sync loads
AzureOss\Storage\Blob\BlobServiceClient in --simulate.

Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de>

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the project's dependencies in composer.json and composer.lock. Specifically, it replaces the abandoned microsoft/azure-storage-blob package with azure-oss/storage (v1.9) and its associated dependencies (azure-oss/identity, azure-oss/storage-common, caseyamcl/guzzle_retry_middleware, and php-http/discovery). Additionally, the phpbu/phpbu package is updated from version 6.0.31 to 6.0.32. There are no review comments, and I have no further feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@github-actions github-actions Bot 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.

Automated approval for maintainer PR

All automated quality gates passed. See SECURITY_CONTROLS.md for compensating controls.

@CybotTM CybotTM merged commit 7bd1ba2 into main Jun 20, 2026
20 checks passed
@CybotTM CybotTM deleted the fix/azure-oss-storage branch June 20, 2026 16:52
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant