Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
ci(docs): monitor toolkit routes
jkomyno26bc3d08a1dc
diff --git a/.github/workflows/docs.health-check.yml b/.github/workflows/docs.health-check.ymlindex bf6a392df..5c22976a1 100644--- a/.github/workflows/docs.health-check.yml+++ b/.github/workflows/docs.health-check.yml@@ -26,6 +26,11 @@ jobs:local label="$1"local url="$2"shift 2+ local expected_status=""+ if [[ "${1:-}" =~ ^[0-9]{3}$ ]]; then+ expected_status="$1"+ shift+ fiCHECKED=$((CHECKED + 1))local attempt=0local STATUS="000"@@ -35,14 +40,23 @@ jobs:elseSTATUS="000"fi- if [ "$STATUS" -ge 400 2>/dev/null ] || [ "$STATUS" = "000" ]; then- attempt=$((attempt + 1))- [ "$attempt" -lt 2 ] && sleep 3- else+ if [ -n "$expected_status" ]; then+ [ "$STATUS" = "$expected_status" ] && break+ elif [ "$STATUS" != "000" ] && [ "$STATUS" -lt 400 ]; thenbreakfi+ attempt=$((attempt + 1))+ [ "$attempt" -lt 2 ] && sleep 3done- if [ "$STATUS" -ge 400 2>/dev/null ] || [ "$STATUS" = "000" ]; then+ if [ -n "$expected_status" ]; then+ if [ "$STATUS" != "$expected_status" ]; then+ echo "FAIL: ${label} → ${STATUS} (expected ${expected_status})"+ echo "${label} → ${STATUS} (expected ${expected_status})" >> "$FAIL_FILE"+ FAIL_COUNT=$((FAIL_COUNT + 1))+ else+ echo " OK: ${label} → ${STATUS}"+ fi+ elif [ "$STATUS" = "000" ] || [ "$STATUS" -ge 400 ]; thenecho "FAIL: ${label} → ${STATUS}"echo "${label} → ${STATUS}" >> "$FAIL_FILE"FAIL_COUNT=$((FAIL_COUNT + 1))@@ -97,6 +111,9 @@ jobs:check_url "/docs/configuring-sessions" "${BASE_URL}/docs/configuring-sessions"check_url "/cookbooks" "${BASE_URL}/cookbooks"check_url "/toolkits" "${BASE_URL}/toolkits"+ check_url "/toolkits/github" "${BASE_URL}/toolkits/github" 200+ check_url "/toolkits/__definitely-not-a-toolkit__" \+ "${BASE_URL}/toolkits/__definitely-not-a-toolkit__" 404check_url "/reference" "${BASE_URL}/reference"# Public support knowledge