chore: remove unused workflow

This commit is contained in:
jdx 2025-10-31 10:00:58 -05:00
parent e82281ebcf
commit aecb23d92f
No known key found for this signature in database
GPG key ID: 584DADE86724B407
4 changed files with 66 additions and 265 deletions

View file

@ -1,30 +0,0 @@
name: Auto-update Distribution
on:
pull_request:
permissions:
contents: read
jobs:
update-dist:
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build and package
run: npm run all
- name: autofix.ci
uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c

278
dist/index.js generated vendored
View file

@ -64800,7 +64800,6 @@ function getCoreClientOptions(pipeline) {
corePipeline.removePolicy({ name: core_rest_pipeline_1.decompressResponsePolicyName });
corePipeline.addPolicy((0, StorageCorrectContentLengthPolicy_js_1.storageCorrectContentLengthPolicy)());
corePipeline.addPolicy((0, StorageRetryPolicyV2_js_1.storageRetryPolicy)(restOptions.retryOptions), { phase: "Retry" });
corePipeline.addPolicy((0, storage_common_1.storageRequestFailureDetailsParserPolicy)());
corePipeline.addPolicy((0, StorageBrowserPolicyV2_js_1.storageBrowserPolicy)());
const downlevelResults = processDownlevelPipeline(pipeline);
if (downlevelResults) {
@ -65890,27 +65889,6 @@ exports.StorageError = {
name: "String",
},
},
copySourceStatusCode: {
serializedName: "CopySourceStatusCode",
xmlName: "CopySourceStatusCode",
type: {
name: "Number",
},
},
copySourceErrorCode: {
serializedName: "CopySourceErrorCode",
xmlName: "CopySourceErrorCode",
type: {
name: "String",
},
},
copySourceErrorMessage: {
serializedName: "CopySourceErrorMessage",
xmlName: "CopySourceErrorMessage",
type: {
name: "String",
},
},
code: {
serializedName: "Code",
xmlName: "Code",
@ -71245,20 +71223,6 @@ exports.BlobStartCopyFromURLExceptionHeaders = {
name: "String",
},
},
copySourceErrorCode: {
serializedName: "x-ms-copy-source-error-code",
xmlName: "x-ms-copy-source-error-code",
type: {
name: "String",
},
},
copySourceStatusCode: {
serializedName: "x-ms-copy-source-status-code",
xmlName: "x-ms-copy-source-status-code",
type: {
name: "Number",
},
},
},
},
};
@ -71376,20 +71340,6 @@ exports.BlobCopyFromURLExceptionHeaders = {
name: "String",
},
},
copySourceErrorCode: {
serializedName: "x-ms-copy-source-error-code",
xmlName: "x-ms-copy-source-error-code",
type: {
name: "String",
},
},
copySourceStatusCode: {
serializedName: "x-ms-copy-source-status-code",
xmlName: "x-ms-copy-source-status-code",
type: {
name: "Number",
},
},
},
},
};
@ -72416,20 +72366,6 @@ exports.PageBlobUploadPagesFromURLExceptionHeaders = {
name: "String",
},
},
copySourceErrorCode: {
serializedName: "x-ms-copy-source-error-code",
xmlName: "x-ms-copy-source-error-code",
type: {
name: "String",
},
},
copySourceStatusCode: {
serializedName: "x-ms-copy-source-status-code",
xmlName: "x-ms-copy-source-status-code",
type: {
name: "Number",
},
},
},
},
};
@ -73191,20 +73127,6 @@ exports.AppendBlobAppendBlockFromUrlExceptionHeaders = {
name: "String",
},
},
copySourceErrorCode: {
serializedName: "x-ms-copy-source-error-code",
xmlName: "x-ms-copy-source-error-code",
type: {
name: "String",
},
},
copySourceStatusCode: {
serializedName: "x-ms-copy-source-status-code",
xmlName: "x-ms-copy-source-status-code",
type: {
name: "Number",
},
},
},
},
};
@ -73497,20 +73419,6 @@ exports.BlockBlobPutBlobFromUrlExceptionHeaders = {
name: "String",
},
},
copySourceErrorCode: {
serializedName: "x-ms-copy-source-error-code",
xmlName: "x-ms-copy-source-error-code",
type: {
name: "String",
},
},
copySourceStatusCode: {
serializedName: "x-ms-copy-source-status-code",
xmlName: "x-ms-copy-source-status-code",
type: {
name: "Number",
},
},
},
},
};
@ -73701,20 +73609,6 @@ exports.BlockBlobStageBlockFromURLExceptionHeaders = {
name: "String",
},
},
copySourceErrorCode: {
serializedName: "x-ms-copy-source-error-code",
xmlName: "x-ms-copy-source-error-code",
type: {
name: "String",
},
},
copySourceStatusCode: {
serializedName: "x-ms-copy-source-status-code",
xmlName: "x-ms-copy-source-status-code",
type: {
name: "Number",
},
},
},
},
};
@ -74019,7 +73913,7 @@ exports.timeoutInSeconds = {
exports.version = {
parameterPath: "version",
mapper: {
defaultValue: "2025-11-05",
defaultValue: "2025-07-05",
isConstant: true,
serializedName: "x-ms-version",
type: {
@ -78926,7 +78820,7 @@ class StorageClient extends coreHttpCompat.ExtendedServiceClient {
const defaults = {
requestContentType: "application/json; charset=utf-8",
};
const packageDetails = `azsdk-js-azure-storage-blob/12.29.1`;
const packageDetails = `azsdk-js-azure-storage-blob/12.28.0`;
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
: `${packageDetails}`;
@ -78942,7 +78836,7 @@ class StorageClient extends coreHttpCompat.ExtendedServiceClient {
// Parameter assignments
this.url = url;
// Assigning values to Constant parameters
this.version = options.version || "2025-11-05";
this.version = options.version || "2025-07-05";
this.service = new index_js_1.ServiceImpl(this);
this.container = new index_js_1.ContainerImpl(this);
this.blob = new index_js_1.BlobImpl(this);
@ -80262,20 +80156,21 @@ class StorageRetryPolicy extends RequestPolicy_js_1.BaseRequestPolicy {
return true;
}
}
if (response) {
// Retry select Copy Source Error Codes.
if (response?.status >= 400) {
const copySourceError = response.headers.get(constants_js_1.HeaderConstants.X_MS_CopySourceErrorCode);
if (copySourceError !== undefined) {
switch (copySourceError) {
case "InternalError":
case "OperationTimedOut":
case "ServerBusy":
return true;
}
}
}
}
// [Copy source error code] Feature is pending on service side, skip retry on copy source error for now.
// if (response) {
// // Retry select Copy Source Error Codes.
// if (response?.status >= 400) {
// const copySourceError = response.headers.get(HeaderConstants.X_MS_CopySourceErrorCode);
// if (copySourceError !== undefined) {
// switch (copySourceError) {
// case "InternalError":
// case "OperationTimedOut":
// case "ServerBusy":
// return true;
// }
// }
// }
// }
if (err?.code === "PARSE_ERROR" && err?.message.startsWith(`Error "Error: Unclosed root tag`)) {
log_js_1.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");
return true;
@ -80427,20 +80322,21 @@ function storageRetryPolicy(options = {}) {
return true;
}
}
if (response) {
// Retry select Copy Source Error Codes.
if (response?.status >= 400) {
const copySourceError = response.headers.get(constants_js_1.HeaderConstants.X_MS_CopySourceErrorCode);
if (copySourceError !== undefined) {
switch (copySourceError) {
case "InternalError":
case "OperationTimedOut":
case "ServerBusy":
return true;
}
}
}
}
// [Copy source error code] Feature is pending on service side, skip retry on copy source error for now.
// if (response) {
// // Retry select Copy Source Error Codes.
// if (response?.status >= 400) {
// const copySourceError = response.headers.get(HeaderConstants.X_MS_CopySourceErrorCode);
// if (copySourceError !== undefined) {
// switch (copySourceError) {
// case "InternalError":
// case "OperationTimedOut":
// case "ServerBusy":
// return true;
// }
// }
// }
// }
return false;
}
function calculateDelay(isPrimaryRetry, attempt) {
@ -83546,8 +83442,8 @@ function isLessThan(lhs, rhs) {
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.PathStylePorts = exports.BlobDoesNotUseCustomerSpecifiedEncryption = exports.BlobUsesCustomerSpecifiedEncryptionMsg = exports.StorageBlobLoggingAllowedQueryParameters = exports.StorageBlobLoggingAllowedHeaderNames = exports.DevelopmentConnectionString = exports.EncryptionAlgorithmAES25 = exports.HTTP_VERSION_1_1 = exports.HTTP_LINE_ENDING = exports.BATCH_MAX_PAYLOAD_IN_BYTES = exports.BATCH_MAX_REQUEST = exports.SIZE_1_MB = exports.ETagAny = exports.ETagNone = exports.HeaderConstants = exports.HTTPURLConnection = exports.URLConstants = exports.StorageOAuthScopes = exports.REQUEST_TIMEOUT = exports.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS = exports.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES = exports.DEFAULT_BLOCK_BUFFER_SIZE_BYTES = exports.BLOCK_BLOB_MAX_BLOCKS = exports.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = exports.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = exports.SERVICE_VERSION = exports.SDK_VERSION = void 0;
exports.SDK_VERSION = "12.29.1";
exports.SERVICE_VERSION = "2025-11-05";
exports.SDK_VERSION = "12.28.0";
exports.SERVICE_VERSION = "2025-07-05";
exports.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB
exports.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = 4000 * 1024 * 1024; // 4000MB
exports.BLOCK_BLOB_MAX_BLOCKS = 50000;
@ -85558,7 +85454,6 @@ tslib_1.__exportStar(__nccwpck_require__(78178), exports);
tslib_1.__exportStar(__nccwpck_require__(35369), exports);
tslib_1.__exportStar(__nccwpck_require__(53233), exports);
tslib_1.__exportStar(__nccwpck_require__(77321), exports);
tslib_1.__exportStar(__nccwpck_require__(24174), exports);
//# sourceMappingURL=index.js.map
/***/ }),
@ -85843,51 +85738,6 @@ function storageCorrectContentLengthPolicy() {
/***/ }),
/***/ 24174:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.storageRequestFailureDetailsParserPolicyName = void 0;
exports.storageRequestFailureDetailsParserPolicy = storageRequestFailureDetailsParserPolicy;
/**
* The programmatic identifier of the StorageRequestFailureDetailsParserPolicy.
*/
exports.storageRequestFailureDetailsParserPolicyName = "storageRequestFailureDetailsParserPolicy";
/**
* StorageRequestFailureDetailsParserPolicy
*/
function storageRequestFailureDetailsParserPolicy() {
return {
name: exports.storageRequestFailureDetailsParserPolicyName,
async sendRequest(request, next) {
try {
const response = await next(request);
return response;
}
catch (err) {
if (typeof err === "object" &&
err !== null &&
err.response &&
err.response.parsedBody) {
if (err.response.parsedBody.code === "InvalidHeaderValue" &&
err.response.parsedBody.HeaderName === "x-ms-version") {
err.message =
"The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n";
}
}
throw err;
}
},
};
}
//# sourceMappingURL=StorageRequestFailureDetailsParserPolicy.js.map
/***/ }),
/***/ 27734:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
@ -86068,20 +85918,21 @@ class StorageRetryPolicy extends RequestPolicy_js_1.BaseRequestPolicy {
return true;
}
}
if (response) {
// Retry select Copy Source Error Codes.
if (response?.status >= 400) {
const copySourceError = response.headers.get(constants_js_1.HeaderConstants.X_MS_CopySourceErrorCode);
if (copySourceError !== undefined) {
switch (copySourceError) {
case "InternalError":
case "OperationTimedOut":
case "ServerBusy":
return true;
}
}
}
}
// [Copy source error code] Feature is pending on service side, skip retry on copy source error for now.
// if (response) {
// // Retry select Copy Source Error Codes.
// if (response?.status >= 400) {
// const copySourceError = response.headers.get(HeaderConstants.X_MS_CopySourceErrorCode);
// if (copySourceError !== undefined) {
// switch (copySourceError) {
// case "InternalError":
// case "OperationTimedOut":
// case "ServerBusy":
// return true;
// }
// }
// }
// }
if (err?.code === "PARSE_ERROR" && err?.message.startsWith(`Error "Error: Unclosed root tag`)) {
log_js_1.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");
return true;
@ -86233,20 +86084,21 @@ function storageRetryPolicy(options = {}) {
return true;
}
}
if (response) {
// Retry select Copy Source Error Codes.
if (response?.status >= 400) {
const copySourceError = response.headers.get(constants_js_1.HeaderConstants.X_MS_CopySourceErrorCode);
if (copySourceError !== undefined) {
switch (copySourceError) {
case "InternalError":
case "OperationTimedOut":
case "ServerBusy":
return true;
}
}
}
}
// [Copy source error code] Feature is pending on service side, skip retry on copy source error for now.
// if (response) {
// // Retry select Copy Source Error Codes.
// if (response?.status >= 400) {
// const copySourceError = response.headers.get(HeaderConstants.X_MS_CopySourceErrorCode);
// if (copySourceError !== undefined) {
// switch (copySourceError) {
// case "InternalError":
// case "OperationTimedOut":
// case "ServerBusy":
// return true;
// }
// }
// }
// }
return false;
}
function calculateDelay(isPrimaryRetry, attempt) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

21
dist/licenses.txt generated vendored
View file

@ -360,27 +360,6 @@ SOFTWARE.
@azure/storage-common
MIT
The MIT License (MIT)
Copyright (c) 2018 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@fastify/busboy
MIT