-
Notifications
You must be signed in to change notification settings - Fork 469
Enabling worker indexing for Logic Apps app kind behind an enviornment setting #11378
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
base: dev
Are you sure you want to change the base?
Changes from 1 commit
77ca4cd
ac03557
fd0ae0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Azure.WebJobs.Script | ||
|
@@ -155,6 +155,8 @@ public static class EnvironmentSettingNames | |
|
||
public const string AppKind = "APP_KIND"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove empty line 157 and add a comment for LA settings - // Logic apps settings
public const string AppKind = "APP_KIND";
public const string LogicAppCodefulModeEnabled = "WORKFLOW_CODEFUL_ENABLED"; |
||
|
||
public const string LogicAppCodefulModeEnabled = "WORKFLOW_CODEFUL_ENABLED"; | ||
|
||
public const string DrainOnApplicationStopping = "FUNCTIONS_ENABLE_DRAIN_ON_APP_STOPPING"; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,4 +1,4 @@ | ||||||
// Copyright (c) .NET Foundation. All rights reserved. | ||||||
// Copyright (c) .NET Foundation. All rights reserved. | ||||||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||||||
|
||||||
using System; | ||||||
|
@@ -803,7 +803,7 @@ internal async Task<Collection<FunctionDescriptor>> GetFunctionDescriptorsAsync( | |||||
Collection<FunctionDescriptor> functionDescriptors = new Collection<FunctionDescriptor>(); | ||||||
if (!cancellationToken.IsCancellationRequested) | ||||||
{ | ||||||
bool throwOnWorkerRuntimeAndPayloadMetadataMismatch = true; | ||||||
bool throwOnWorkerRuntimeAndPayloadMetadataMismatch = _environment.IsLogicApp() && _environment.IsLogicAppCodefulModeEnabled() ? false : true; | ||||||
|
bool throwOnWorkerRuntimeAndPayloadMetadataMismatch = _environment.IsLogicApp() && _environment.IsLogicAppCodefulModeEnabled() ? false : true; | |
bool throwOnWorkerRuntimeAndPayloadMetadataMismatch = !(_environment.IsLogicApp() && _environment.IsLogicAppCodefulModeEnabled()); |
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the full qualified name
EnvironmentSettingNames.LogicAppCodefulModeEnabled
instead of the unqualified constant name to improve code clarity and follow C# best practices.Copilot generated this review using guidance from repository custom instructions.