Skip to content

Conversation

@agarwal-navin
Copy link
Contributor

Description

Removed deprecated properties from "IRuntimeStorageService" and "IContainerStorageService"

The following deprecated properties have been removed from IRuntimeStorageService:

  • disposed
  • dispose
  • policies
  • getSnapshotTree
  • getSnapshot
  • getVersions
  • createBlob
  • uploadSummaryWithContext
  • downloadSummary

The following deprecated properties have been removed from IContainerStorageService:

  • downloadSummary
  • disposed
  • dispose

Breaking Changes

This is a breaking change. The deprecations were announced in release 2.52.0 here.

@agarwal-navin agarwal-navin requested review from a team as code owners October 15, 2025 18:59
Copilot AI review requested due to automatic review settings October 15, 2025 18:59
@github-actions github-actions bot added area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: loader Loader related issues area: runtime Runtime related issues area: tests Tests to add, test infrastructure improvements, etc changeset-present public api change Changes to a public API base: main PRs targeted against main branch labels Oct 15, 2025
Copy link
Contributor

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

Removes previously deprecated members from IRuntimeStorageService and IContainerStorageService, finalizing the breaking change announced in 2.52.0. Supporting updates adjust type validation metadata, API reports, tests, and adapters to align with the leaner interfaces.

  • Remove deprecated storage APIs (disposed, dispose, policies, snapshot/version APIs, createBlob, uploadSummaryWithContext, downloadSummary) from IRuntimeStorageService
  • Remove deprecated disposed / dispose / downloadSummary from IContainerStorageService and update consuming code/tests
  • Update type validation artifacts, API reports, and add a comprehensive new blob manager test suite

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/runtime/runtime-definitions/src/protocol.ts Removes deprecated members from IRuntimeStorageService
packages/common/container-definitions/src/runtime.ts Removes deprecated members from IContainerStorageService
*.generated.ts / package.json typeValidation blocks Marks expected breaking type changes with @ts-expect-error and updates broken maps
api-report/*.api.md Syncs API surface with removed members
containerStorageAdapter.ts / container.ts Removes now-invalid downloadSummary and updates parameter types
storageServiceWithAttachBlobs.ts Simplifies proxy to only support readBlob per new interface
deRehydrateContainerTests.spec.ts Drops test depending on removed snapshot methods
blobHandles.spec.ts Updates tests to use IContainerStorageService subset typings
blobManager.spec.ts Adds extensive new test coverage for blob lifecycle scenarios
containerRuntime.spec.ts Switches test storage mock to IContainerStorageService
.changeset/heavy-bugs-thank.md Records breaking change announcement

@agarwal-navin agarwal-navin force-pushed the test/breaks/client/2.70/cleanupStorageService branch from c33f0a7 to afb8f1c Compare October 15, 2025 19:19
- `disposed`
- `dispose`

The deprecations were announced in release 2.52.0 [here](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.52.0).
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
The deprecations were announced in release 2.52.0 [here](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.52.0).
The deprecations were announced in version [2.52.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.52.0).

"@fluidframework/runtime-definitions": minor
"__section": breaking
---
Removed deprecated properties from "IRuntimeStorageService" and "IContainerStorageService"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Removed deprecated properties from "IRuntimeStorageService" and "IContainerStorageService"
Deprecated properties have been removed from IRuntimeStorageService and IContainerStorageService

Comment on lines 10 to 18
- `disposed`
- `dispose`
- `policies`
- `getSnapshotTree`
- `getSnapshot`
- `getVersions`
- `createBlob`
- `uploadSummaryWithContext`
- `downloadSummary`
Copy link
Member

Choose a reason for hiding this comment

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

nit: alphabetize

Comment on lines 22 to 24
- `downloadSummary`
- `disposed`
- `dispose`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- `downloadSummary`
- `disposed`
- `dispose`
- `dispose`
- `disposed`
- `downloadSummary`

@agarwal-navin
Copy link
Contributor Author

Closing in favor of #25708

@agarwal-navin
Copy link
Contributor Author

@tylerbutler FYI, I closed this in favor of #25708 since I created the test branch in my fork instead of the main repo.

@agarwal-navin agarwal-navin deleted the test/breaks/client/2.70/cleanupStorageService branch December 17, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: loader Loader related issues area: runtime Runtime related issues area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch changeset-present public api change Changes to a public API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove deprecated properties from "IRuntimeStorageService" and "IContainerStorageService"

2 participants