sdk/cosmosdb/cosmos/MultiRegionWriteSample/ConflictWorker.ts (9 lines): - line 104: const newDef = { regionId: index++, regionEndpoint: clientRegion, ...itemBase }; // TODO: ReadEndpoint? - line 144: const item = { regionId: 0, regionEndpoint: initialRegionName, ...itemBase }; // TODO: ReadEndpoint? - line 204: const item = { regionId: 0, regionEndpoint: initialRegionName, ...itemBase }; // TODO: ReadEndpoint? - line 322: const newDef = { regionId: index++, regionEndpoint: clientRegion, ...itemBase }; // TODO: ReadEndpoint? - line 346: const item = { regionId: 0, regionEndpoint: initialRegionName, ...itemBase }; // TODO: ReadEndpoint? - line 390: const item = { regionId: 0, regionEndpoint: initialRegionName, ...itemBase }; // TODO: ReadEndpoint? - line 516: const newDef = { regionId: index++, regionEndpoint: clientRegion, ...itemBase }; // TODO: ReadEndpoint? - line 539: const item = { regionId: 0, regionEndpoint: initialRegionName, ...itemBase }; // TODO: ReadEndpoint? - line 582: const item = { regionId: 0, regionEndpoint: initialRegionName, ...itemBase }; // TODO: ReadEndpoint? sdk/cosmosdb/cosmos/src/queryExecutionContext/orderByDocumentProducerComparator.ts (6 lines): - line 5: // TODO: this smells funny - line 38: constructor(public sortOrder: string[]) {} // TODO: This should be an enum - line 62: // TODO: once V1 order by on different types is fixed this need to change - line 81: // TODO: This smells funny - line 149: // TODO: any item? - line 161: // TODO: any res? sdk/cosmosdb/cosmos/src/auth.ts (6 lines): - line 45: clientOptions.resourceTokens[id] = (permission as any)._token; // TODO: any - line 79: // TODO This should live in cosmos-sign - line 92: // TODO: Resource tokens - line 113: // TODO: This should throw an error - line 129: // TODO remove in v4: This is legacy behavior that lets someone use a resource token pointing ONLY at an ID - line 142: // TODO: This should throw an error sdk/storage/storage-file-datalake/src/models.ts (5 lines): - line 190: // TODO: Leverage interface definitions from blob package directly, or duplicate create a copy here which will not have generation benefits - line 677: permissions?: string; // TODO: model or string? - line 678: umask?: string; // TODO: model or string? - line 1322: permissions?: string; // TODO: model or string? - line 1331: umask?: string; // TODO: model or string? sdk/storage/storage-file-share/src/Clients.ts (4 lines): - line 2786: // TODO: Protocol layer issue that when handle list is in returned XML - line 4117: // TODO: Default value or make it a required parameter? - line 4145: ...this.shareClientConfig, // TODO: confirm whether this is needed - line 5258: // TODO: Protocol layer issue that when handle list is in returned XML sdk/cosmosdb/cosmos/src/queryExecutionContext/defaultQueryExecutionContext.ts (4 lines): - line 33: private resources: any[]; // TODO: any resources - line 37: private options: FeedOptions; // TODO: any options - line 38: public continuationToken: string; // TODO: any continuation - line 193: // TODO: Error and data being returned is an antipattern, this might broken sdk/cosmosdb/cosmos/src/routing/CollectionRoutingMapFactory.ts (3 lines): - line 25: const rangeById: any = {}; // TODO: any - line 26: const rangeByInfo: any = {}; // TODO: any - line 51: // TODO: any sdk/cosmosdb/cosmos/src/routing/inMemoryCollectionRoutingMap.ts (3 lines): - line 11: // TODO: chrande made this public, even though it is implementation detail for a test - line 36: // TODO This code has all kinds of smells. Multiple iterations and sorts just to grab overlapping ranges - line 41: const minToPartitionRange: any = {}; // TODO: any sdk/cosmosdb/cosmos/src/common/helper.ts (3 lines): - line 25: // TODO: better way for this? Not sure. - line 210: // TODO: fix strictness issues so that caller contexts respects the types of the functions - line 239: // TODO: fix strictness issues so that caller contexts respects the types of the functions sdk/servicebus/service-bus/src/core/managementClient.ts (3 lines): - line 575: const omitMessageBodyKey = "omit-message-body"; // TODO: Service Bus specific. Put it somewhere - line 592: // TODO: it'd be nice to attribute this peek request to the actual receiver that made it. So have them pass in a - line 1037: // TODO: mgmt link retry<> will come in the next PR. sdk/cosmosdb/cosmos/src/retry/retryUtility.ts (3 lines): - line 56: // TODO: any response - line 118: // TODO: any error - line 159: const newUrl = (results as any)[1]; // TODO: any hack sdk/eventhub/event-hubs/src/eventHubSender.ts (3 lines): - line 189: // TODO: Consider rejecting promise in trySendBatch() or createBatch() - line 198: // TODO: Consider rejecting promise in trySendBatch() or createBatch() - line 464: // TODO: (jeremymeng) A or B sdk/metricsadvisor/ai-metrics-advisor/src/models.ts (3 lines): - line 1379: timestamp?: number; // TODO: why optional? - line 1383: createdOn?: Date; // TODO: why optional? - line 1387: modifiedOn?: Date; // TODO: why optional? sdk/servicebus/service-bus/src/core/messageSender.ts (3 lines): - line 85: // TODO: Consider rejecting promise in trySendBatch() or createBatch() - line 98: // TODO: Consider rejecting promise in trySendBatch() or createBatch() - line 338: // TODO: this body of logic is really similar to what's in sendMessages. Unify what we can. sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts (3 lines): - line 96: // TODO: Not exposed in Swagger, need to update def - line 135: // TODO: Location IP TBD for non server spans - line 240: // TODO: Remove special logic when Azure UX supports OpenTelemetry dbSystem sdk/cosmosdb/cosmos/src/queryExecutionContext/parallelQueryExecutionContextBase.ts (3 lines): - line 44: // TODO: update type of buffer from any --> generic can be used here - line 134: // TODO: any partitionTargetRange - line 262: // TODO: any error sdk/cosmosdb/cosmos/src/ClientContext.ts (3 lines): - line 60: public partitionKeyDefinitionCache: { [containerUrl: string]: any }; // TODO: PartitionKeyDefinitionCache - line 914: // TODO: move - line 965: : undefined, // TODO: Move this check from here to PartitionKey sdk/monitor/monitor-query/src/index.ts (2 lines): - line 46: // TODO: these are the generated model names. We probably want to run them - line 55: // TODO: these are the generated model names. We probably want to run them sdk/cosmosdb/cosmos/src/queryExecutionContext/headerUtils.ts (2 lines): - line 11: // TODO: docs - line 44: // TODO: The name of this method isn't very accurate to what it does sdk/cosmosdb/cosmos/src/queryExecutionContext/documentProducer.ts (2 lines): - line 59: // TODO: any options - line 165: // TODO: error sdk/servicebus/service-bus/src/sender.ts (2 lines): - line 85: // TODO: Commented out to come up with an alternative name - line 373: // // TODO: Pass tracing options too sdk/servicebus/service-bus/src/core/autoLockRenewer.ts (2 lines): - line 175: // TODO: We can run into problems with clock skew between the client and the server. - line 253: // TODO: messageId doesn't actually need to be unique. Perhaps we should use lockToken sdk/cosmosdb/cosmos/src/queryExecutionContext/orderByComparator.ts (2 lines): - line 83: // TODO: any item? - line 95: // TODO: https://github.com/Azure/azure-sdk-for-js/issues/30122 sdk/communication/communication-phone-numbers/samples-dev/siprouting/manageSipRoutingConfiguration.ts (2 lines): - line 20: // TODO replace with real FQDN - line 22: // TODO replace with real FQDN sdk/servicebus/service-bus/src/session/messageSession.ts (2 lines): - line 282: // TODO: https://github.com/Azure/azure-sdk-for-js/issues/9775 to figure out why this code path indeed gets hit. - line 289: // TODO: Check why the service would not throw an error or just timeout instead of giving a misleading successful receiver sdk/storage/storage-blob/src/Clients.ts (2 lines): - line 1282: // TODO: Default value or make it a required parameter? - line 4369: // TODO: Hook with convenience layer progress event in finer level sdk/cosmosdb/cosmos/src/client/Offer/OfferDefinition.ts (2 lines): - line 5: offerType?: string; // TODO: enum? - line 6: offerVersion?: string; // TODO: enum? sdk/cosmosdb/cosmos/src/session/sessionContainer.ts (2 lines): - line 46: // TODO: we check the master logic a few different places. Might not need it. - line 144: // TODO: have a assert if the type doesn't mastch known types sdk/cosmosdb/cosmos/src/routing/smartRoutingMapProvider.ts (2 lines): - line 77: // validate if the list is non- overlapping and sorted TODO: any PartitionKeyRanges - line 82: let partitionKeyRanges: any[] = []; // TODO: any ParitionKeyRanges sdk/cosmosdb/cosmos/src/globalEndpointManager.ts (2 lines): - line 302: // TODO: Tracing - line 321: // TODO: Tracing sdk/servicebus/service-bus/src/serviceBusMessage.ts (2 lines): - line 296: * TODO: this is a bit complicated. - line 312: // TODO: it seems sensible that we'd also do this for AMQPAnnotated message. sdk/cosmosdb/cosmos/src/client/Database/Databases.ts (2 lines): - line 177: const path = "/dbs"; // TODO: constant - line 257: // TODO: DatabaseResponse for QueryIterator? sdk/monitor/monitor-opentelemetry/src/metrics/quickpulse/utils.ts (2 lines): - line 182: // TODO: remove the metric points with the old metric names after - line 345: // TODO: Remove special logic when Azure UX supports OpenTelemetry dbSystem sdk/monitor/monitor-opentelemetry/src/traces/sampler.ts (1 line): - line 4: * TODO: Remove this sampler in favor of the implementation in the AzMon Exporter once we support M2M approach for standard metrics. sdk/test-utils/perf/src/utils/utils.ts (1 line): - line 33: // TODO: Doesn't work currently sdk/healthdataaiservices/azure-health-deidentification/test-resources-post.ps1 (1 line): - line 39: # FIXME Remove once vpn team fixes the network acl issue sdk/cosmosdb/cosmos/src/documents/DatabaseAccount.ts (1 line): - line 71: // TODO: body - any sdk/servicebus/service-bus/src/receivers/sessionReceiver.ts (1 line): - line 507: // TODO - receiverOptions for subscribe?? sdk/keyvault/keyvault-admin/src/mappings.ts (1 line): - line 70: * TODO: move this to keyvault-common once everything is merged. sdk/test-utils/recorder/src/recorder.ts (1 line): - line 304: // TODO: remove once everyone has migrated to asset sync sdk/identity/test-resources-pre.ps1 (1 line): - line 33: # TODO: Remove this once auto-cloud config downloads are supported locally sdk/servicebus/service-bus/src/constructorHelpers.ts (1 line): - line 58: // TODO: extract parseEndpoint and setCustomEndpointAddress into core-amqp sdk/web-pubsub/web-pubsub-client/src/webPubSubClient.ts (1 line): - line 224: // TODO: Maybe we need a better logic for stopping control sdk/servicebus/service-bus/src/modelsToBeSharedWithEventHubs.ts (1 line): - line 4: // TODO: this code is a straight-copy from EventHubs. Need to merge. sdk/monitor/monitor-opentelemetry/src/metrics/performanceCounters.ts (1 line): - line 408: // TODO: Add Process I/O Rate sdk/keyvault/keyvault-secrets/src/transformations.ts (1 line): - line 85: * TODO: move this to keyvault-common once everything is merged common/smoke-test/run.js (1 line): - line 65: // TODO: Don't do it this way if possible? sdk/monitor/monitor-query/src/models/publicLogsModels.ts (1 line): - line 118: // TODO: having both this and the workspaceId field co-exist on the same model seems really sdk/servicebus/service-bus/src/dataTransformer.ts (1 line): - line 48: // TODO: Expose value_section from `rhea` similar to the data_section and sequence_section. Right now there isn't a way to create a value section officially. sdk/identity/identity/src/msal/nodeFlows/msalClient.ts (1 line): - line 265: // TODO: move and reuse getIdentityClientAuthorityHost sdk/servicebus/service-bus/src/core/batchingReceiver.ts (1 line): - line 478: // TODO: this appears to be aggravating a bug that we need to look into more deeply. sdk/identity/test-resources-post.ps1 (1 line): - line 72: # TODO: The deployment step runs into 504 Gateway Timeout error sdk/formrecognizer/ai-form-recognizer/src/documentAnalysisClient.ts (1 line): - line 708: // TODO: what should we do if resumeFrom.modelId is different from initialModelId? sdk/core/core-sse/src/utils.ts (1 line): - line 12: /** TODO: remove these polyfills once all supported runtimes support them */ sdk/identity/identity/src/index.ts (1 line): - line 28: // TODO: Export again once we're ready to release this feature. common/tools/dev-tool/src/util/testProxyUtils.ts (1 line): - line 183: // TODO: this crashes the _whole_ program if the executable isn't on the system. sdk/cosmosdb/cosmos/src/queryExecutionContext/FetchResult.ts (1 line): - line 25: // TODO: feedResponse/error sdk/identity/identity/src/credentials/clientSecretCredentialOptions.ts (1 line): - line 15: // TODO: Export again once we're ready to release this feature. sdk/cosmosdb/cosmos/src/ChangeFeedIterator.ts (1 line): - line 133: }) as Promise); // TODO: some funky issues with query feed. Probably need to change it up. sdk/communication/communication-common/src/credential/connectionString.ts (1 line): - line 21: // TODO: update when connection string format is finalized eng/common/scripts/Helpers/Resource-Helpers.ps1 (1 line): - line 78: # TODO: Remove try/catch handler for Get-AzKeyVault - https://github.com/Azure/azure-sdk-tools/issues/5315 sdk/identity/identity/src/constants.ts (1 line): - line 13: // TODO: temporary - this is the Azure CLI clientID - we'll replace it when sdk/identity/identity/src/credentials/clientCertificateCredentialOptions.ts (1 line): - line 20: // TODO: Export again once we're ready to release this feature. sdk/monitor/monitor-ingestion/src/logsIngestionClient.ts (1 line): - line 78: // TODO: Do we need to worry about memory issues when loading data for 100GB ?? JS max allocation is 1 or 2GB eng/common/scripts/TypeSpec-Project-Process.ps1 (1 line): - line 130: # TODO support the branch name in url then get the commithash from branch name sdk/cosmosdb/cosmos/src/queryExecutionContext/pipelinedQueryExecutionContext.ts (1 line): - line 53: // TODO: Currently we don't get any field from backend to determine streaming queries sdk/cosmosdb/cosmos/src/documents/PartitionKeyInternal.ts (1 line): - line 13: * Internal Representation Of Partition Key. TODO: Make sure {@link ClientContext} working with only {@link PartitionKeyInternal} sdk/eventhub/event-hubs/src/dataTransformer.ts (1 line): - line 43: // TODO: Expose value_section from `rhea` similar to the data_section and sequence_section. eng/common/scripts/Helpers/Metadata-Helpers.ps1 (1 line): - line 50: # TODO: Use taxonomy for service name -- https://github.com/Azure/azure-sdk-tools/issues/1442 sdk/cosmosdb/cosmos/src/encryption/EncryptionKeyResolver/AzureKeyVaultEncryptionKeyResolver.ts (1 line): - line 81: // TODO: improve this method to extract key name and version from the url common/tools/dev-tool/src/commands/run/update-snippets.ts (1 line): - line 361: // TODO: how can we run this on the TS source without emitting to JS? sdk/cosmosdb/cosmos/src/retry/resourceThrottleRetryPolicy.ts (1 line): - line 50: // TODO: any custom error object sdk/batch/batch-rest/src/batchClient.ts (1 line): - line 53: // TODO: remove after service remove certificate feature completely sdk/cosmosdb/cosmos/src/utils/SasToken.ts (1 line): - line 152: // TODO: utcMilllisecondsSinceEpoch sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts (1 line): - line 291: // TODO: why would this _ever_ happen considering we're not trying the silent request in this flow? sdk/cosmosdb/cosmos/src/retry/endpointDiscoveryRetryPolicy.ts (1 line): - line 23: private static readonly maxTries = 120; // TODO: Constant? sdk/storage/storage-internal-avro/src/AvroReader.ts (1 line): - line 4: // TODO: Do a review of non-interfaces sdk/cognitivelanguage/ai-language-text/src/lro.ts (1 line): - line 297: // FIXME: remove this mitigation when the service API is fixed sdk/cosmosdb/cosmos/src/client/Permission/PermissionDefinition.ts (1 line): - line 12: resourcePartitionKey?: string | any[]; // TODO: what's allowed here? sdk/cosmosdb/cosmos/src/queryMetrics/queryMetricsUtils.ts (1 line): - line 38: metrics: { [key: string]: any } /* TODO: any */, sdk/cosmosdb/cosmos/src/common/platform.ts (1 line): - line 21: // TODO: Standardize across other platforms from @azure/core-util sdk/keyvault/test-resources-post.ps1 (1 line): - line 59: # TODO: Add any KUs necessary to $req.CertificateExtensions sdk/eventhub/event-hubs/src/batchingPartitionChannel.ts (1 line): - line 226: // TODO: Report MaxMesageSizeExceeded error. Mimic service's error. sdk/servicebus/service-bus/src/util/utils.ts (1 line): - line 635: * TODO: remove this and use toHttpResponse() directly sdk/servicebus/service-bus/src/core/receiverHelper.ts (1 line): - line 117: // TODO: should we throw? sdk/attestation/test-resources-pre.ps1 (1 line): - line 104: # TODO: Add any KUs necessary to $req.CertificateExtensions sdk/keyvault/keyvault-admin/src/lro/models.ts (1 line): - line 4: // TODO: merge with backupClientModels common/tools/dev-tool/src/commands/admin/migrate-package.ts (1 line): - line 230: // TODO: Clean up the betaTrimmedFilePath sdk/keyvault/keyvault-keys/src/transformations.ts (1 line): - line 200: * TODO: move this to keyvault-common once everything is merged eng/common/scripts/Update-DocsMsMetadata.ps1 (1 line): - line 62: # TODO: Use taxonomy for service name -- https://github.com/Azure/azure-sdk-tools/issues/1442 sdk/apimanagement/api-management-custom-widgets-scaffolder/rollup.config.bin.mjs (1 line): - line 107: // TODO ESM output becomes default sdk/cosmosdb/cosmos/src/session/VectorSessionToken.ts (1 line): - line 65: // TODO: log error sdk/storage/storage-blob/samples-browser/largeFileUploads.js (1 line): - line 58: // TODO: You need to implement this eng/common/TestResources/New-TestResources.ps1 (1 line): - line 207: # TODO: find a better way to detect the language sdk/servicebus/service-bus/src/connectionContext.ts (1 line): - line 75: * TODO: Track the right receiver on the message instead of the ConnectionContext to remove sdk/test-utils/recorder/src/utils/utils.ts (1 line): - line 257: * TODO: To be tested with scenarios, not to be used yet. sdk/storage/storage-internal-avro/src/AvroParser.ts (1 line): - line 4: // TODO: Do a review of the Object usage and non-interfaces sdk/identity/identity/src/credentials/authorizationCodeCredential.ts (1 line): - line 121: // TODO: Validate tenant if provided sdk/formrecognizer/ai-form-recognizer/src/error.ts (1 line): - line 52: // TODO: We used to unwrap FR errors this way, but is it still necessary