Skip to content

fix: Dantry 에러 노이즈 필터링 강화 및 state_unsafe_mutation 수정#351

Merged
sdk-kr merged 1 commit into
mainfrom
fix/dantry-noise-reduction
Mar 7, 2026
Merged

fix: Dantry 에러 노이즈 필터링 강화 및 state_unsafe_mutation 수정#351
sdk-kr merged 1 commit into
mainfrom
fix/dantry-noise-reduction

Conversation

@sdk-kr
Copy link
Copy Markdown
Contributor

@sdk-kr sdk-kr commented Mar 7, 2026

Summary

  • hooks.client.ts: IGNORED_PATTERNS 9개 추가 (affiliateDomainData, getBack, __gCrWeb, Blocked a frame, querySelectorAll, getAttribute, .regional, popover, parentNode) + shouldIgnore에 빈 rejection 필터 ('(unknown)', 'Rejected')
  • header.svelte, comment-form.svelte, headline-rotator.svelte: $effect 내 state mutation을 untrack()으로 감싸서 state_unsafe_mutation 에러 방지

Expected Impact

  • 노이즈 ~1.35M/주 제거 (PHP 레거시, 브라우저 확장, 외부 스크립트)
  • state_unsafe_mutation 67.3K/주 → 0 목표
  • 전체: 1.5M/주 → 100K/주 이하 목표

Test plan

  • pnpm build 성공
  • 배포 후 Dantry 에러 급감 확인

- hooks.client.ts: IGNORED_PATTERNS 9개 추가 (PHP레거시, 브라우저확장, 외부스크립트)
- hooks.client.ts: shouldIgnore에 빈 rejection 필터 추가 ('(unknown)', 'Rejected')
- header.svelte, comment-form.svelte, headline-rotator.svelte: $effect 내 mutation을 untrack()으로 감싸서 state_unsafe_mutation 방지
@sdk-kr sdk-kr merged commit e368d6d into main Mar 7, 2026
8 of 12 checks passed
@sdk-kr sdk-kr deleted the fix/dantry-noise-reduction branch March 7, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant