Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 13, 2026

GitHub Enterprise Cloud data residency in Japan (GA Dec 18, 2025) introduced a new regional status endpoint at https://jp.githubstatus.com/. The status check functions now support querying this region.

Changes

  • StatusBaseURL.ps1: Added Japan = 'https://jp.githubstatus.com' entry
  • Status functions: Extended -Stamp parameter ValidateSet to include 'Japan' in:
    • Get-GitHubStatus.ps1
    • Get-GitHubScheduledMaintenance.ps1
    • Get-GitHubStatusComponent.ps1
    • Get-GitHubStatusIncident.ps1
  • Tests: Updated GitHub.Tests.ps1 to include Japan in test iteration

Usage

Get-GitHubStatus -Stamp Japan
Get-GitHubStatusComponent -Stamp Japan
Get-GitHubScheduledMaintenance -Stamp Japan -Active
Get-GitHubStatusIncident -Stamp Japan -Unresolved

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • jp.githubstatus.com
    • Triggering command: /usr/bin/pwsh pwsh -Command . ./src/variables/private/StatusBaseURL.ps1 . ./src/functions/private/Utilities/Stack/Get-PSCallStackPath.ps1 . ./src/functions/public/Status/Get-GitHubStatus.ps1 Get-GitHubStatus -Stamp Japan (dns block)
    • Triggering command: /usr/bin/curl curl -I REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Add support for 'jp' region in GitHub status check functions</issue_title>
<issue_description>## Summary
Add support for the Japan ('jp') region in the GitHub status check functions.

Background

GitHub Enterprise Cloud data residency in Japan is now generally available (announced December 18, 2025). This introduces a new regional status endpoint for Japan-based GitHub Enterprise Cloud customers.

Details

The PSModule/GitHub status check functions should be updated to support the 'jp' region alongside any existing regions, allowing users to check the status of GitHub services in Japan.

Expected Behavior

Users should be able to query the Japan region status using a parameter like -Region jp or similar, which would check the status from https://jp.githubstatus.com/.

References

  • GitHub Enterprise Cloud with data residency in Japan allows customers to store their code and repository data in Japan
  • This helps customers meet their compliance, regulatory, or data residency needs in the region</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Jan 13, 2026
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for jp region in GitHub status check functions Add support for Japan region in GitHub status check functions Jan 13, 2026
Copilot AI requested a review from MariusStorhaug January 13, 2026 22:54
@MariusStorhaug MariusStorhaug marked this pull request as ready for review January 13, 2026 23:14
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner January 13, 2026 23:14
Copilot AI review requested due to automatic review settings January 13, 2026 23:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds support for the Japan region in GitHub status check functions following the general availability announcement of GitHub Enterprise Cloud data residency in Japan (December 18, 2025). The changes enable users to query the Japan-specific status endpoint at https://jp.githubstatus.com/.

Changes:

  • Added Japan region support to the StatusBaseURL configuration
  • Extended all status-related functions to accept 'Japan' as a valid stamp parameter
  • Updated test suite to include Japan region in status check iterations

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/variables/private/StatusBaseURL.ps1 Added Japan region URL mapping (https://jp.githubstatus.com)
src/functions/public/Status/Get-GitHubStatus.ps1 Extended ValidateSet to include 'Japan' stamp option
src/functions/public/Status/Get-GitHubScheduledMaintenance.ps1 Extended ValidateSet to include 'Japan' stamp option
src/functions/public/Status/Get-GitHubStatusComponent.ps1 Extended ValidateSet to include 'Japan' stamp option
src/functions/public/Status/Get-GitHubStatusIncident.ps1 Extended ValidateSet to include 'Japan' stamp option
tests/GitHub.Tests.ps1 Added Japan to the status test iteration to ensure comprehensive test coverage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Add support for 'jp' region in GitHub status check functions

2 participants