Skip to content

Commit ca8a9ee

Browse files
sfvishalguptaclaude
andcommitted
fix(catalog): disable auto-discovery to prevent GitHub API rate limit errors
Disabled githubOrg and github catalog providers that were causing 403 Forbidden errors due to GitHub API rate limit exhaustion. Static catalog locations remain functional. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b6697d4 commit ca8a9ee

1 file changed

Lines changed: 24 additions & 23 deletions

File tree

app-config.yaml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -150,29 +150,30 @@ jenkins:
150150
apiKey: ${JENKINS_API_TOKEN1}
151151

152152
catalog:
153-
providers:
154-
githubOrg:
155-
- id: production
156-
githubUrl: 'https://github.com'
157-
orgs: ['sourcefuse']
158-
schedule:
159-
initialDelay: { seconds: 30 }
160-
frequency: { hours: 3 } # Reduced from 1 hour to 3 hours to save API calls
161-
timeout: { minutes: 15 }
162-
github:
163-
# the provider ID can be any camelCase string
164-
providerId:
165-
organization: 'sourcefuse' # string
166-
catalogPath: '/catalog-info.yaml' # string
167-
filters:
168-
branch: 'main' # string
169-
repository: '^(?!biz-book-api$).*' # Exclude biz-book-api (404 repo)
170-
schedule: # optional; same options as in TaskScheduleDefinition
171-
# supports cron, ISO duration, "human duration" as used in code
172-
initialDelay: { seconds: 30 }
173-
frequency: { hours: 3 } # Reduced to save API rate limit
174-
# supports ISO duration, "human duration" as used in code
175-
timeout: { minutes: 15 }
153+
# Auto-discovery providers disabled to prevent GitHub API rate limit issues
154+
# providers:
155+
# githubOrg:
156+
# - id: production
157+
# githubUrl: 'https://github.com'
158+
# orgs: ['sourcefuse']
159+
# schedule:
160+
# initialDelay: { seconds: 30 }
161+
# frequency: { hours: 3 } # Reduced from 1 hour to 3 hours to save API calls
162+
# timeout: { minutes: 15 }
163+
# github:
164+
# # the provider ID can be any camelCase string
165+
# providerId:
166+
# organization: 'sourcefuse' # string
167+
# catalogPath: '/catalog-info.yaml' # string
168+
# filters:
169+
# branch: 'main' # string
170+
# repository: '^(?!biz-book-api$).*' # Exclude biz-book-api (404 repo)
171+
# schedule: # optional; same options as in TaskScheduleDefinition
172+
# # supports cron, ISO duration, "human duration" as used in code
173+
# initialDelay: { seconds: 30 }
174+
# frequency: { hours: 3 } # Reduced to save API rate limit
175+
# # supports ISO duration, "human duration" as used in code
176+
# timeout: { minutes: 15 }
176177

177178
rules:
178179
- allow: [Component, System, API, Group, User, Resource, Location]

0 commit comments

Comments
 (0)