Skip to content

Conversation

@dannimad
Copy link
Contributor

@dannimad dannimad commented Oct 2, 2025

PR that exclusively adds more testing to frozen container. It adds the same tests as #25562 solving comments on that PR by adding an initialization function and removing the snapshot refresh change.

Copilot AI review requested due to automatic review settings October 2, 2025 20:49
@github-actions github-actions bot added area: tests Tests to add, test infrastructure improvements, etc dependencies Pull requests that update a dependency file base: main PRs targeted against main branch labels Oct 2, 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

This PR adds comprehensive test coverage for the loadFrozenContainerFromPendingState functionality. It refactors the existing test by extracting an initialization function and adds three new test cases to verify frozen container behavior.

  • Refactored existing test by extracting a reusable initialize() function for setup
  • Added test coverage for loading DDS (Distributed Data Structures) from frozen containers
  • Added test coverage for blob handling in frozen containers, including upload restrictions

Reviewed Changes

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

File Description
loadFrozenContainerFromPendingState.spec.ts Refactored initialization logic and added three new test cases for frozen container functionality
package.json Added @fluid-internal/client-utils dependency for buffer/string conversion utilities
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

isFluidHandle(value) ? toFluidHandleInternal(value).absolutePath : value,
]);

// initialize loader and create a container function
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

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

[nitpick] The comment 'initialize loader and create a container function' is unclear. Consider changing to 'Initialize test environment and create a container' to better describe what the function does.

Suggested change
// initialize loader and create a container function
// Initialize test environment and create a container

Copilot uses AI. Check for mistakes.
@dannimad dannimad merged commit e80028d into microsoft:main Oct 2, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants