LearnNewsExamplesServices
Frontmatter
id9041
titleEnhancement: Add Spider Summary Logs
stateClosed
labels
enhancementai
assigneestobiu
createdAtFeb 7, 2026, 10:15 PM
updatedAtFeb 7, 2026, 10:17 PM
githubUrlhttps://github.com/neomjs/neo/issues/9041
authortobiu
commentsCount1
parentIssue8930
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 7, 2026, 10:17 PM

Enhancement: Add Spider Summary Logs

Closed v12.0.0 enhancementai
tobiu
tobiu commented on Feb 7, 2026, 10:15 PM

Add a final summary log to the Spider execution to clearly indicate the results of the run.

Current Behavior: If no new users are found (e.g., because all repositories were already visited), the Spider exits silently after processing pages, leaving the user unsure if it worked or just found nothing.

Goal: Print a summary at the end of the run:

  • Total new candidates discovered.
  • Total repositories scanned vs skipped (optional but helpful).

Changes:

  • Update apps/devrank/services/Spider.mjs to track cumulative stats in the state object.
  • Output a summary table or message at the end of run().
tobiu added the enhancement label on Feb 7, 2026, 10:15 PM
tobiu added the ai label on Feb 7, 2026, 10:15 PM
tobiu added parent issue #8930 on Feb 7, 2026, 10:15 PM
tobiu assigned to @tobiu on Feb 7, 2026, 10:16 PM
tobiu referenced in commit 54c2747 - "enhancement: Add Spider Summary Logs (#9041)" on Feb 7, 2026, 10:17 PM
tobiu
tobiu Feb 7, 2026, 10:17 PM

Input from Gemini 3 Pro:

✦ Added summary logs to the Spider execution.

Changes

  1. State Tracking: Added totalFound to the spider state.
  2. Summary Log: The run() method now outputs a final summary block indicating the total new candidates discovered, even if the run was silent/empty.

Example Output

--------------------------------------------------
[Spider] Run Complete.
[Spider] Total New Candidates Discovered: 124
--------------------------------------------------

Code committed to dev branch.

tobiu closed this issue on Feb 7, 2026, 10:17 PM