Skip to content

perf(test): add scanner leak detection harness#30

Open
israelolrunfemi wants to merge 1 commit into
wraith-protocol:developfrom
israelolrunfemi:perf/scan-leak-detection-harness
Open

perf(test): add scanner leak detection harness#30
israelolrunfemi wants to merge 1 commit into
wraith-protocol:developfrom
israelolrunfemi:perf/scan-leak-detection-harness

Conversation

@israelolrunfemi
Copy link
Copy Markdown

Close: #26

  • add RSS slope-based leak regression test
  • capture heap snapshots during scan loop
  • add profiling scripts and nightly CI workflow
  • document heap snapshot debugging workflow

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@israelolrunfemi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@truthixify truthixify changed the base branch from main to develop June 1, 2026 15:28
@truthixify
Copy link
Copy Markdown
Contributor

The leak harness itself is exactly what issue #26 asked for: v8 heap snapshots over iterations, RSS slope detection, the leak-scan.yml CI workflow, and the docs/scan-leak-debugging.md companion. Keep this work intact.

Blocker is the base. This PR was opened against an older main and the current diff would undo:

Could you rebase onto develop?

git fetch origin
git rebase origin/develop
# resolve in:
#   CONTRIBUTING.md (keep develop's version)
#   src/chains/stellar/* (keep develop's JSDoc + range-scan APIs)
#   test/chains/stellar/announcements.test.ts (keep develop's version)
# add your leak-harness files (test/leak/*, docs/scan-leak-debugging.md, .github/workflows/leak-scan.yml)
git push --force-with-lease

Thanks @israelolrunfemi, the harness is real and we want it in.

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.

Long-running scan memory profiling + leak detection

2 participants