Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 14:45 UTC
fix(docs): restore data sync and toolkit route availability (#4242)
This PR: - restores `Docs - Update Data` by requesting only GitHub App permissions granted to the installation and using `github.token` for same-repository issues - makes the support-knowledge token and every dependent verification step non-fatal, while closing the data-sync failure issue after recovery - keeps toolkit pages snapshot-first, then resolves one validated production slug without exposing custom, disabled, or excluded toolkits - bounds live lookups with a 15-second timeout, one-hour positive revalidation, a bounded 60-second negative cache, and concurrent request coalescing - monitors a known toolkit as HTTP 200 and an invalid toolkit as HTTP 404, and runs workflow contract tests for workflow-only edits - records ownership, rollback, deployment, and deferred `/llms.mdx` parity in the docs decision log Related: #4204 ## Validation - `bun run test`: 505 passed - `bun run types:check`: passed - `bun run lint:links`: passed - `bun run lint`: passed with pre-existing warnings only - exact-head [`Docs - Update Data` run 32850296811](https://github.com/ComposioHQ/composio/actions/runs/32850296811) passed token creation, generation, PR update, and recovery tracking at `0fb5438c3b7f1d61af357a7d80a9ec36e393cd94` - the generated-data update remains open for review: [GitHub PR #4189](https://github.com/ComposioHQ/composio/pull/4189) · [Glen review](https://app.tryglen.com/ComposioHQ/composio/pull/4189) - exact-head [`Docs Health Check` run 32850304920](https://github.com/ComposioHQ/composio/actions/runs/32850304920) confirmed the new toolkit probes as 200 and 404; the workflow still failed on the existing `/api/knowledge-search` hybrid-mode assertion - exact-head [`Docs - Tests` run 32849568061](https://github.com/ComposioHQ/composio/actions/runs/32849568061) passed static tests, semantic-artifact verification, the production build, and integration tests - `bun run check:kb-semantic` passes with a refreshed 876-record artifact - the local live-miss integration assertion was skipped because no local production API key is configured; hosted `COMPOSIO_API_KEY` presence is confirmed, but its production read scope is not ## Post-deploy monitoring - Owner/window: Docs and SDK maintainers, first production deployment through 24 hours - Healthy: snapshot toolkit 200, production-only native toolkit 200, invalid/custom/disabled toolkit 404, and no recurring data-sync failure issue - Watch: Vercel logs for `[Toolkits] Production toolkit lookup failed`, GitHub Actions for token HTTP 422 or `docs-data-sync-failure`, and health-check status drift - Roll back: set `COMPOSIO_TOOLKIT_LIVE_FALLBACK=0` and create a new Vercel deployment, or revert the route fallback and deploy that revision --- [](https://github.com/EveryInc/compound-engineering-plugin) 
No changes.