Skip to content

feat: implement Soroban incremental scan engine (#508)#555

Merged
mijinummi merged 1 commit into
MDTechLabs:mainfrom
Alqku:feat/incremental-scan-engine-508
Jun 26, 2026
Merged

feat: implement Soroban incremental scan engine (#508)#555
mijinummi merged 1 commit into
MDTechLabs:mainfrom
Alqku:feat/incremental-scan-engine-508

Conversation

@Alqku

@Alqku Alqku commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Closes #508

Changes

  • src/scanning/incremental/stellar/incremental-scan-engine.ts: SHA-256 hash-based change detection, cache reuse, invalidate() and clearCache() helpers
  • src/scanning/incremental/stellar/index.ts: public exports
  • tests/incremental-analysis.spec.ts: 8 tests covering all acceptance criteria

Test results

All 8 tests pass. Scan times reduced for unchanged files (cache hit rate reported per run).

- Hash-based change detection to skip unchanged files
- Cache with invalidate() and clearCache() helpers
- Returns cacheHitRate and durationMs metrics
- 8 tests covering all acceptance criteria
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

@Alqku 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

@mijinummi mijinummi merged commit 27b39b9 into MDTechLabs:main Jun 26, 2026
7 checks passed
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.

Implement Soroban Incremental Scan Engine

2 participants