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

Verify feature flag and enable prior to deployment #3653

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

nturinski
Copy link
Member

Fixes #3559

@nturinski nturinski requested a review from a team as a code owner April 21, 2023 18:00
remoteProperties[azureWebJobsFeatureFlags] = featureFlagArray.join(',');
}

context.telemetry.properties.addedRunFromPackage = String(shouldAddSetting);
Copy link
Contributor

Choose a reason for hiding this comment

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

Either remove this line or change addedRunFromPackage to something more accurate - depending if you want to track this in telemetry

@@ -32,6 +44,8 @@ export async function verifyAppSettings(context: IActionContext, node: SlotTreeI
if (node.site.isLinux) {
const remoteBuildSettingsChanged = verifyLinuxRemoteBuildSettings(context, appSettings.properties, bools);
updateAppSettings ||= remoteBuildSettingsChanged;
} else if (isNodeV4Plus(options)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This also applies when isPythonV2Plus

@@ -32,6 +44,8 @@ export async function verifyAppSettings(context: IActionContext, node: SlotTreeI
if (node.site.isLinux) {
const remoteBuildSettingsChanged = verifyLinuxRemoteBuildSettings(context, appSettings.properties, bools);
updateAppSettings ||= remoteBuildSettingsChanged;
} else if (isNodeV4Plus(options)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be its own if case instead of in an else if. The new Node.js programming model can be run on both windows and linux

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah doh, obviously.

@nturinski
Copy link
Member Author

getting code reviewed by the boss

@nturinski nturinski merged commit 4bf7d25 into main Apr 21, 2023
@nturinski nturinski deleted the nat/validateEnableWorkerIndexing branch April 21, 2023 19:53
@microsoft microsoft locked and limited conversation to collaborators Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node model v4: AppSetting validation
2 participants