sync: multi-branch scanning, discovery strategies, UTF-8 fix, curation improvements

- Add multi-branch scanning to discover skills on non-default branches
- Add popular repos and commits search discovery strategies
- Fix UTF-8 encoding sanitization in skill parser
- Add repo_created_at for threshold-based duplicate tie-breaking
- Add indexer tests and vitest config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
airano
2026-02-22 04:16:35 +03:30
parent 3f599a23fb
commit b05cb21a65
20 changed files with 1314 additions and 64 deletions

View File

@@ -31,18 +31,19 @@ Sentry.init({
// Filter out common non-actionable errors
ignoreErrors: [
// AbortError during navigation is expected browser behavior when
// Next.js RSC prefetch/streaming requests get cancelled mid-flight
"AbortError: BodyStreamBuffer was aborted",
// AbortError during navigation — Next.js RSC prefetch/streaming cancelled mid-flight
"AbortError",
// Network stream errors (Firefox)
"Error in input stream",
// Network fetch failures (Safari / mobile)
"Load failed",
// Browser extension noise (translation/accessibility extensions)
/Object Not Found Matching Id/,
// ResizeObserver loop limit — browser quirk, not actionable
"ResizeObserver",
],
beforeSend(event, hint) {
// Ignore ResizeObserver errors (browser quirk, not actionable)
if (event.exception?.values?.[0]?.value?.includes("ResizeObserver")) {
return null;
}
// Log to console in development for debugging
if (process.env.NODE_ENV === "development") {
console.error("[Sentry]", hint.originalException || hint.syntheticException);