[storage-file-datalake] Migrate to core-rest-pipeline#24835
[storage-file-datalake] Migrate to core-rest-pipeline#24835xirzec merged 24 commits intoAzure:mainfrom
Conversation
|
API change check APIView has identified API level changes in this PR and created following API reviews. |
|
/azp run js - storage-file-datalake - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run js - storage-file-datalake - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@xirzec , I'm looking into this PR and may need to run some case manually. We have several cases which requires manually setting environments. About the SAS token case failures, will you look into them? Or do you need me to look into the them? |
|
@EmmaZhu I have an update for the failing tests and I have been looking into an issue with the browser in live mode. I hope to have an updated version pushed soon. I'll ping you when the live tests are passing and it's in a good state for manual testing. I appreciate you helping validate! 👍 |
|
/azp run js - storage-file-datalake - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@EmmaZhu I think it should be good for testing now! 👍 |
|
|
||
| - Migrated dependency on `@azure/core-http` to `@azure/core-rest-pipeline`. | ||
|
|
||
| ## 12.13.0 (Unreleased) |
There was a problem hiding this comment.
remove this 12.13.0?
|
|
||
| - Migrated dependency on `@azure/core-http` to `@azure/core-rest-pipeline`. | ||
|
|
||
| ## 12.12.0 (Unreleased) |
There was a problem hiding this comment.
I wasn't sure if this was going to ship out of the stable branch or not, definitely have to fix up the changelog before we release out of main
|
Hi @xirzec , I'm working on the validation. I also see some failure in one of the large file uploading case. I think I can send a PR to your branch later. |
How strange. Do you know which files are having issues? I'm surprised it built in CI with untracked changes.
Sure! Also happy to take a look at a repro if you have a consistent one. 👍 |
| parsedHeaders: FileSystemListPathsHeaders; | ||
| }; | ||
| }; | ||
| export type ListPathsSegmentResponse = FileSystemListPathsHeaders & PathListModel; |
There was a problem hiding this comment.
Would this interface miss row response?
Would have the same question on several below response definitions like: PathCreateResponse, PathDeleteResponse, PathFlushDataResponse...
There was a problem hiding this comment.
Looking into this, it seems that ListPathsSegmentResponse was not actually used anywhere in the public API surface, presumably because only FileSystemListPathsResponse is used instead. I've removed this unnecessary type.
I also fixed up the typings where _response wasn't being typed correctly for headers-only response models, namely:
PathCreateResponse
PathDeleteResponse
FileFlushResponse
FileUploadResponse
PathSetAccessControlResponse
PathSetPermissionsResponse
|
The failure is in test case The 'git clean -dxf' issue might be caused by my local environment, the issue has gone on a totally new cloned environment. I left one comment. We'd need to run some perf/resource consumption testing before releasing, but I don't think it's a blocking for this PR. |
Yes, thank you for this! It was a good catch. @HarshaNalluru do we have existing perf tests for this package? |
|
@xirzec triggered the pipeline https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2596390&view=results |
### Packages impacted by this PR `@azure/storage-file-share` ### Issues associated with this PR #15813 ### Describe the problem that is addressed by this PR This PR migrates storage-file-share to the new core pipeline in the same way that storage-blob and storage-file-datalake were migrated. There are no changes to the public surface and existing recorded tests still pass. ### Provide a list of related PRs _(if any)_ #24141, #24835
### Packages impacted by this PR `@azure/storage-file-share` ### Issues associated with this PR Azure#15813 ### Describe the problem that is addressed by this PR This PR migrates storage-file-share to the new core pipeline in the same way that storage-blob and storage-file-datalake were migrated. There are no changes to the public surface and existing recorded tests still pass. ### Provide a list of related PRs _(if any)_ Azure#24141, Azure#24835
Packages impacted by this PR
@azure/storage-file-datalakeIssues associated with this PR
#15813
Describe the problem that is addressed by this PR
This PR migrates storage-file-datalake to the new core pipeline in the same fashion that storage-blob was recently migrated. There are no changes to the public surface and existing recorded tests still pass.
Provide a list of related PRs (if any)
#24141