Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repro stashed upload blob issue when processing reuploaded blob #22981

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dannimad
Copy link
Contributor

@dannimad dannimad commented Nov 5, 2024

This is a test repro of AB#4630.
To reproduce such issue, I had to fake the localId generation using uuidOverride constructor method in the blob manager so we could aim at a unique pending blob: such pending blob was: 1 stashed, 2 reapplied to a different blob manager simulating rehydration, 3 processed and 4 reuploaded by stashing workflow, which ends up in the issue described in the ADO item.
In order to wait for the reupload I had to create a different blob manager method waitForStashedBlobs() since the one we have hasPendingStashedUploads() uses pendingBlobs array as reference, which blob entry would be removed by the processing step.
A fix will follow up this PR.

@github-actions github-actions bot added area: runtime Runtime related issues base: main PRs targeted against main branch labels Nov 5, 2024
Copy link
Collaborator

@msfluid-bot msfluid-bot left a comment

Choose a reason for hiding this comment

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

Code Coverage Summary

↑ packages.runtime.container-runtime.src:
Line Coverage Change: 0.01%    Branch Coverage Change: No change
Metric NameBaseline coveragePR coverageCoverage Diff
Branch Coverage 92.90% 92.90% → No change
Line Coverage 94.50% 94.51% ↑ 0.01%
↑ packages.runtime.container-runtime.src.blobManager:
Line Coverage Change: 0.02%    Branch Coverage Change: 0.14%
Metric NameBaseline coveragePR coverageCoverage Diff
Branch Coverage 96.66% 96.80% ↑ 0.14%
Line Coverage 99.14% 99.16% ↑ 0.02%

Baseline commit: 75937e1
Baseline build: 304279
Happy Coding!!

Code coverage comparison check passed!!

@msfluid-bot
Copy link
Collaborator

msfluid-bot commented Nov 5, 2024

@fluid-example/bundle-size-tests: +2.06 KB
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 464.21 KB 464.7 KB +502 Bytes
azureClient.js 562.45 KB 562.95 KB +516 Bytes
connectionState.js 724 Bytes 724 Bytes No change
containerRuntime.js 261.86 KB 262.33 KB +481 Bytes
fluidFramework.js 424.73 KB 424.75 KB +14 Bytes
loader.js 134.17 KB 134.19 KB +14 Bytes
map.js 42.71 KB 42.71 KB +7 Bytes
matrix.js 148.54 KB 148.55 KB +7 Bytes
odspClient.js 528.3 KB 528.8 KB +516 Bytes
odspDriver.js 97.84 KB 97.86 KB +21 Bytes
odspPrefetchSnapshot.js 42.81 KB 42.83 KB +14 Bytes
sharedString.js 164.76 KB 164.76 KB +7 Bytes
sharedTree.js 415.19 KB 415.2 KB +7 Bytes
Total Size 3.36 MB 3.36 MB +2.06 KB

Baseline commit: 0b57176

Generated by 🚫 dangerJS against 573bd42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: runtime Runtime related issues base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants