Repository navigation
feat(prober): implement the §12 port-drift prober (BullMQ + nmap) - #79
Merged
Merged
Conversation
The prober/ folder only had deploy scaffolding — no app — so deploys had nothing to build (npm ci failed). This adds the actual worker: - prober/ standalone workspace (package.json + lockfile + tsconfig + src): a BullMQ Worker that dials OUT to Redis, pulls jobs off the "prober" queue, runs bounded `nmap -sT -Pn --top-ports 100` TCP-connect scans, and returns the open-port set as the job return value (no DB on the droplet). Defensive host validation blocks internal ranges. - lib/prober.ts: shared PROBER_QUEUE + PortScanJob/PortScanResult contract for the Railway producer/result-handler side. Builds clean; the deploy-prober Action can now npm ci + build + run it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
vu1nz Security Review0 finding(s) in PR #? No security issues found. |
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.
Implements the actual prober app (uptime-monitoring-prd.md §12) —
prober/previously had only deploy scaffolding, sodeploy-proberhad nothing to build. Adds a standalone BullMQ worker that runs boundednmap -sT -Pn --top-ports 100scans and returns the open-port set, plus the sharedlib/prober.tscontract. Builds clean.🤖 Generated with Claude Code