Building AI-powered GitHub issue triage with the Copilot SDK
… The SDK requires explicit cleanup: disconnect then stop . I skipped a disconnect call once and spent two hours chasing a memory leak. Use try/finally every time. Cache the results . Once you have a summary, store it on the issue object. …