Skip to content

Development#45

Merged
Doble-2 merged 8 commits into
mainfrom
development
Jun 16, 2026
Merged

Development#45
Doble-2 merged 8 commits into
mainfrom
development

Conversation

@Doble-2

@Doble-2 Doble-2 commented Jun 16, 2026

Copy link
Copy Markdown
Owner

No description provided.

angel and others added 8 commits June 14, 2026 19:16
…egatives

- Sherlock runner: log errors at DEBUG, return (profiles, error_count)
- Site-list runner: log errors at DEBUG, return (profiles, error_count)
- identity_pipeline safe_scan: log errors at DEBUG, remove # pragma: no cover
- PipelineResult gains scan_errors field for aggregate error count
- Pipeline emits warning when errors occurred: 'N scanner(s) returned errors'
- 7 new tests: error counting, safe_scan fallback path coverage

Closes #34
…ent engine, and tools

New test files:
- test_hunt_pipeline.py: hunt() orchestration, expansion loop, sherlock/site-list/breach integration, deduplication (6 tests)
- test_osint_scanners.py: 6 scanners (X, GitLab, GitHub, Reddit, Keybase, Telegram) with mocked HTTP, positive/negative matches (12 tests)
- test_agent_engine_loop.py: AgentEngine.run() with mocked LLM, max steps, forced report, error handling, callbacks (5 tests)
- test_agent_tools_execution.py: execute_tool() dispatch for all 5 tools + edge cases (14 tests)
- test_resources_loader.py: load_sherlock_data cached/download/failure, get_default_list_path (7 tests)
- test_profile_enricher.py: enrichment, skip logic, error handling (5 tests)
- test_sherlock_runner_integration.py: status_code/message errorType, NSFW filtering, progress callback (6 tests)

Total: 184 → 238 tests (+54), zero regressions.

Closes #32
test: add comprehensive test coverage for core pipeline, scanners, ag…
On development branch, run_sherlock_username returns (list, error_count)
tuple instead of just a list. Updated all sherlock tests to use
isinstance(result, tuple) guard for compatibility with both branches.
fix: handle tuple return from run_sherlock_username (#34 compat)
Use inspect.getsource(hunt) to detect whether the pipeline does
tuple unpacking (development) or profiles.extend() (main), and
set the mock return value accordingly.
fix: auto-detect sherlock return format for main/development compat
@Doble-2 Doble-2 merged commit b74ee54 into main Jun 16, 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.

1 participant