You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to bypass Runtime Config API calls during function deploys (#8944)
* feat: introduce mode where function deploy to never call runtime config API.
* fix few issues
* run formatter
* style nits
* Handle missing credentials gracefully in internaltesting:functions:discover
Default to runtimeConfigApiEnabled=false when API check fails (e.g., no credentials)
* Update src/deploy/functions/prepare.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Simplify runtime config loading implementation
- Remove maybeLoadCodebasesWithConfig function and inline logic
- Remove two-pass discovery strategy that had backward compatibility issues
- Simplify to a straightforward on/off switch controlled by experiment flag
- Remove unnecessary unit tests for the removed function
- Update internaltesting:functions:discover to use simplified approach
The experiment now serves as a migration flag:
- Enabled (default): Loads runtime config for backward compatibility
- Disabled: Skips runtime config entirely as part of deprecation path
* reformat
* Remove unused someEndpoint function from build.ts
This function was added during two-pass discovery implementation but is no longer needed
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
0 commit comments