Skip to content

ignore emulator and local yaml files during local builds - #10968

Open
falahat wants to merge 1 commit into
mainfrom
fix-local-build-env-loader
Open

ignore emulator and local yaml files during local builds#10968
falahat wants to merge 1 commit into
mainfrom
fix-local-build-env-loader

Conversation

@falahat

@falahat falahat commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Description

Fix for #10956

Scenarios Tested

Sample Commands

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces an includeLocalConfigs parameter (defaulting to true) to getAppHostingConfiguration to control whether emulator and local configuration files are loaded. During deployment preparation, this parameter is set to false. Corresponding unit tests have been added and updated. Feedback on the changes suggests reducing the nesting of if statements in src/apphosting/config.ts by combining the includeLocalConfigs check with the individual file path checks, which aligns with the repository style guide's recommendation to keep the main logic flat.

Comment thread src/apphosting/config.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants