perf: harden renovate gitea api timeouts
Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 30s
CICD / Build and Push CICD Image (push) Has started running
CICD / Build CICD Image Failure Postmortem (push) Has been cancelled
CICD / Backend Tests (push) Has been cancelled
CICD / Pre-commit Checks (push) Has been cancelled
CICD / Frontend Tests (push) Has been cancelled
CICD / Backend Doctests (push) Has been cancelled
CICD / Frontend Dependency Audit (push) Has been cancelled
CICD / Backend Dependency Audit (push) Has been cancelled
CICD / CICD Tests Complete (push) Has been cancelled
CICD / Build Backend Base Image (push) Has been cancelled
CICD / Build Frontend Base Image (push) Has been cancelled
CICD / Build Integration Tester Image (push) Has been cancelled
CICD / Build E2E Tester Image (push) Has been cancelled
CICD / Build Backend Main Image (push) Has been cancelled
CICD / Build Frontend Main Image (push) Has been cancelled
CICD / Production Images Complete (push) Has been cancelled
CICD / Production Image Failures Postmortem (push) Has been cancelled
CICD / Source Lanes Failure Postmortem (push) Has been cancelled
CICD / Runtime Black-Box Integration Tests (push) Has been cancelled
CICD / Integration Tests Failure Postmortem (push) Has been cancelled
CICD / End-to-End Tests (push) Has been cancelled
CICD / E2E Tests Failure Postmortem (push) Has been cancelled

This commit is contained in:
copilotcoder
2026-07-14 08:46:08 -04:00
parent b5991ac1ae
commit 484bfbf74f
2 changed files with 17 additions and 16 deletions

View File

@@ -290,7 +290,7 @@ jobs:
SELECTED_TOKEN_SOURCE="${SELECTED_TOKEN_RESULT%%:*}"
SELECTED_TOKEN="${SELECTED_TOKEN_RESULT#*:}"
export RENOVATE_TOKEN="${SELECTED_TOKEN}"
RENOVATE_HOST_RULES_PAYLOAD="[{\"matchHost\":\"${ENDPOINT_AUTHORITY}\",\"token\":\"${SELECTED_TOKEN}\",\"authType\":\"Token-Only\"},{\"matchHost\":\"registry.npmjs.org\",\"timeout\":90000,\"concurrentRequestLimit\":1},{\"matchHost\":\"pypi.org\",\"timeout\":90000,\"concurrentRequestLimit\":2},{\"matchHost\":\"files.pythonhosted.org\",\"timeout\":90000,\"concurrentRequestLimit\":2},{\"matchHost\":\"mcr.microsoft.com\",\"timeout\":90000,\"concurrentRequestLimit\":2}]"
RENOVATE_HOST_RULES_PAYLOAD="[{\"matchHost\":\"${ENDPOINT_AUTHORITY}\",\"token\":\"${SELECTED_TOKEN}\",\"authType\":\"Token-Only\",\"timeout\":180000,\"concurrentRequestLimit\":2},{\"matchHost\":\"registry.npmjs.org\",\"timeout\":90000,\"concurrentRequestLimit\":1},{\"matchHost\":\"pypi.org\",\"timeout\":90000,\"concurrentRequestLimit\":2},{\"matchHost\":\"files.pythonhosted.org\",\"timeout\":90000,\"concurrentRequestLimit\":2},{\"matchHost\":\"mcr.microsoft.com\",\"timeout\":90000,\"concurrentRequestLimit\":2}]"
# Authenticate GitHub datasource calls to avoid anonymous GraphQL rate limiting.
if [ -n "${RENOVATE_GITHUB_COM_TOKEN:-}" ]; then

View File

@@ -11,6 +11,7 @@
"prConcurrentLimit": 5,
"branchConcurrentLimit": 10,
"prHourlyLimit": 2,
"configMigration": false,
"enabledManagers": [
"docker-compose",
"dockerfile",
@@ -22,12 +23,12 @@
{
"description": "Automerge non-major updates for high-confidence packages",
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"matchPackagePatterns": [
"^@types/",
"^eslint",
"^prettier",
"^ruff",
"^pytest"
"matchPackageNames": [
"/^@types//",
"/^eslint/",
"/^prettier/",
"/^ruff/",
"/^pytest/"
],
"automerge": true,
"automergeType": "branch"
@@ -59,13 +60,13 @@
"description": "Group Frontend dev tools updates",
"matchManagers": ["npm"],
"matchDepTypes": ["devDependencies"],
"matchPackagePatterns": [
"^@typescript-eslint/",
"^eslint",
"^prettier",
"^vite",
"^vitest",
"^playwright"
"matchPackageNames": [
"/^@typescript-eslint//",
"/^eslint/",
"/^prettier/",
"/^vite/",
"/^vitest/",
"/^playwright/"
],
"groupName": "Frontend dev tools",
"schedule": ["before 9am on monday"]
@@ -81,8 +82,8 @@
},
{
"description": "Security updates - high priority",
"matchPackagePatterns": [".*"],
"vulnerabilityAlerts": true,
"matchPackageNames": ["/.*/"],
"vulnerabilityAlerts": { "enabled": true },
"prPriority": 10,
"automerge": false,
"labels": ["security"],