Skip to content

Change the default App Hosting region to us-east4#10271

Open
inlined wants to merge 3 commits intomainfrom
inlined.fah-use4
Open

Change the default App Hosting region to us-east4#10271
inlined wants to merge 3 commits intomainfrom
inlined.fah-use4

Conversation

@inlined
Copy link
Copy Markdown
Member

@inlined inlined commented Apr 6, 2026

Aligns with other products

@inlined inlined requested a review from bkendall April 6, 2026 22:34
Copy link
Copy Markdown
Contributor

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

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 updates the default App Hosting location from us-central1 to us-east4 and adjusts the associated unit tests. The reviewer noted that this user-facing change requires a CHANGELOG.md entry and a specific PR description format according to the repository's style guide. Additionally, it was suggested to retain us-central1 in the test mock data to ensure the selection logic is still verified against multiple regions.

@@ -1,3 +1,3 @@
export const DEFAULT_LOCATION = "us-central1";
export const DEFAULT_LOCATION = "us-east4";
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.

medium

This change modifies the default location for App Hosting, which is a user-facing change. Please ensure you have updated CHANGELOG.md as required by the repository style guide (Rule 58). Additionally, the pull request description should follow the required structure (including ### Description, ### Scenarios Tested, and ### Sample Commands) as specified in Rule 53.

References
  1. For any user-facing change (new features, bug fixes, deprecations), add a corresponding entry to CHANGELOG.md. (link)
  2. Structure commit messages and PR descriptions to include specific sections like ### Description, ### Scenarios Tested, and ### Sample Commands. (link)

describe("promptLocation", () => {
const supportedLocations = [
{ name: "us-central1", locationId: "us-central1" },
{ name: "us-east4", locationId: "us-east4" },
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.

medium

Consider retaining us-central1 in the mock data while adding us-east4. This ensures the test continues to verify the selection logic in a more realistic scenario where multiple common regions are available.

References
  1. Test error cases and edge conditions, not just the 'happy path'. (link)

default: "us-east4",
message: "Please select a location:",
choices: ["us-central1", "us-west1"],
choices: ["us-east4", "us-west1"],
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.

medium

Update the expected choices to include us-central1 to match the suggested change in the mock data.

References
  1. Test error cases and edge conditions, not just the 'happy path'. (link)

@inlined inlined marked this pull request as ready for review April 6, 2026 22:44
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