❌[Blocked] Add support for Japan region in GitHub status check functions#543
Open
❌[Blocked] Add support for Japan region in GitHub status check functions#543
Conversation
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
Contributor
There was a problem hiding this comment.
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.
Member
|
The Japan status page is different than the rest. Holding this PR in draft until it is resolved. (If ever). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Japan = 'https://jp.githubstatus.com'entry-Stampparameter ValidateSet to include'Japan'in:Get-GitHubStatus.ps1Get-GitHubScheduledMaintenance.ps1Get-GitHubStatusComponent.ps1Get-GitHubStatusIncident.ps1GitHub.Tests.ps1to include Japan in test iterationUsage
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/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)/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
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.