-
Notifications
You must be signed in to change notification settings - Fork 22
Fix with alexa 516 #522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix with alexa 516 #522
Changes from all commits
0c5dd98
8b2d45c
3d81544
585f68c
d2d1f72
5335b76
5857a55
7445ee3
3725894
db3cd9f
74af8ef
b35e43c
606670d
4d2d5eb
4312db5
d20bda4
5ce6cbd
8ea9411
ecdfc83
64dd365
539622d
cc65c04
e0b03c3
02d92dd
1be4fbd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -119,7 +119,7 @@ function get_last_passed_commit { | |
|
|
||
| else | ||
| # Capture response and HTTP code to handle GitHub API failures (e.g. 401, 403) | ||
| response=$(curl -u "${API_USER}:${API_PAT}" -s -w "%{http_code}" "https://api.github.com/repos/osbuild/osbuild-composer/commits?per_page=100") | ||
| response=$(curl -u "${API_USER}:${API_PAT}" -s -w "%{http_code}" "https://api.github.com/repos/osbuild/osbuild-composer/commits?per_page=10") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Reducing With only 10 commits, any last passing commit older than those 10 (e.g., after several failing builds or high commit volume) won’t be found, which may change downstream behavior. If this is about reducing payload size, consider a higher limit (e.g., 50–100) or add pagination instead of dropping to 10. |
||
| http_code="${response: -3}" | ||
| body="${response::-3}" | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question (bug_risk): Removing EUSC-specific endpoint mapping may reintroduce DNS issues for those regions.
This change removes the explicit mapping of
eusc-*regions to.amazonaws.euendpoints that previously avoided DNS "no such host" errors for EC2/STS/IAM. Please confirm that the default AWS endpoint resolution now correctly supports EUSC (and any similar) regions, or consider keeping a minimal override for those regions if they’re still in the supported matrix.