User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 35acc587-d219-4c10-b5f3-39e2b7912b91
Description
What happened:
In pkg/api/handlers/nightly_e2e.go:335, 427, 568, and 624, githubAPIBase is a hardcoded constant used across fetchWorkflowRuns, detectGPUFailure, fetchGuideYAMLFiles, and fetchBlob. The FeedbackHandler correctly uses resolveGitHubAPIBase() to honour GITHUB_URL. All nightly E2E GitHub API calls silently break in GitHub Enterprise environments.
What I expected:
All GitHub API calls in NightlyE2EHandler should use resolveGitHubAPIBase() consistent with FeedbackHandler.
Steps to reproduce:
- Set
GITHUB_URL to a GitHub Enterprise instance
- Trigger any nightly E2E endpoint
- Observe requests go to api.github.com instead of the configured GHE host
This issue was automatically created from the KubeStellar Console.
User Request
Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: 35acc587-d219-4c10-b5f3-39e2b7912b91
Description
What happened:
In
pkg/api/handlers/nightly_e2e.go:335,427,568, and624,githubAPIBaseis a hardcoded constant used acrossfetchWorkflowRuns,detectGPUFailure,fetchGuideYAMLFiles, andfetchBlob. TheFeedbackHandlercorrectly usesresolveGitHubAPIBase()to honourGITHUB_URL. All nightly E2E GitHub API calls silently break in GitHub Enterprise environments.What I expected:
All GitHub API calls in
NightlyE2EHandlershould useresolveGitHubAPIBase()consistent withFeedbackHandler.Steps to reproduce:
GITHUB_URLto a GitHub Enterprise instanceThis issue was automatically created from the KubeStellar Console.