Repository navigation
feat(crawler): checkpoint store, watch pipeline, maintainer & script … - #235
Merged
ALLEN-AYODEJI merged 1 commit intoOct 20, 2026
Merged
Conversation
…monitors Implements four crawler infrastructure issues in one batch: - DepRadarOrg#95 CheckpointStore (src/crawler/checkpoint.rs): reads/writes checkpoints.json keyed by crawler name, atomic temp-file+rename writes, missing file treated as empty store. - DepRadarOrg#96 watch pipeline (src/pipeline.rs, src/bin/depradar.rs): PackageSource trait, FakeCrawler, watch_packages loop emitting JSON-line findings at or above the 40-point confidence threshold; new 'depradar watch --registry npm|pypi|crates' subcommand. - DepRadarOrg#97 MaintainerChanged detector (src/monitor/maintainers.rs): persists package→version→maintainer-set, emits MaintainerChanged finding when a new version adds a previously unseen maintainer. - DepRadarOrg#98 Install-script watcher (src/monitor/scripts.rs): persists package→version→scripts map, emits InstallScriptAdded for any preinstall/install/postinstall hook that is new or changed. All modules include unit tests. PROGRESS.md updated with entries for each issue. Help snapshot updated for the new 'watch' subcommand. Closes DepRadarOrg#95 Closes DepRadarOrg#96 Closes DepRadarOrg#97 Closes DepRadarOrg#98
|
@Blackdavid1 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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…monitors
Implements four crawler infrastructure issues in one batch:
[crawler] Persist crawl checkpoints to disk #95 CheckpointStore (src/crawler/checkpoint.rs): reads/writes checkpoints.json keyed by crawler name, atomic temp-file+rename writes, missing file treated as empty store.
[crawler] Pipe crawled packages into the typosquat scorer #96 watch pipeline (src/pipeline.rs, src/bin/depradar.rs): PackageSource trait, FakeCrawler, watch_packages loop emitting JSON-line findings at or above the 40-point confidence threshold; new 'depradar watch --registry npm|pypi|crates' subcommand.
[crawler] Detect maintainer changes on popular packages #97 MaintainerChanged detector (src/monitor/maintainers.rs): persists package→version→maintainer-set, emits MaintainerChanged finding when a new version adds a previously unseen maintainer.
[crawler] Watch popular packages for newly added install scripts #98 Install-script watcher (src/monitor/scripts.rs): persists package→version→scripts map, emits InstallScriptAdded for any preinstall/install/postinstall hook that is new or changed.
All modules include unit tests. PROGRESS.md updated with entries for each issue. Help snapshot updated for the new 'watch' subcommand.
Closes #95
Closes #96
Closes #97
Closes #98
Description
Related Issues
Closes #
Type of Change
Testing Done
Checklist
cargo fmt --allandcargo clippy --workspace --all-targets -- -D warningsare cleancargo test --workspace --lockedpassescontracts/changedSee CONTRIBUTING.md for the full guidelines.