❌[Blocked] Add support for Japan region in GitHub status check functions#543
❌[Blocked] Add support for Japan region in GitHub status check functions#543
Conversation
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
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.
|
The Japan status page is different than the rest. Holding this PR in draft until it is resolved. (If ever). |
ad98f64 to
3dbdfc3
Compare
|
Closing after contact with GH support. No changes planned for this. No info if the others will move over to the same. Opening a PR to remove the tests and function for AU as well, as that is also not working. |
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.