Skip to content

fix(gap-6): Louvain community labels → ENRICH return channel after GDS job completion#84

Open
cryptoxdog wants to merge 1 commit into
base/pre-gap-fixesfrom
fix/gap6-community-export
Open

fix(gap-6): Louvain community labels → ENRICH return channel after GDS job completion#84
cryptoxdog wants to merge 1 commit into
base/pre-gap-fixesfrom
fix/gap6-community-export

Conversation

@cryptoxdog

Copy link
Copy Markdown
Collaborator

Gap 6

File: engine/graph/community_export.py

Exports Louvain community labels from Neo4j back to enrichment pipeline so community_id is available as known_field in Pass N+1.

  • Queries Neo4j for all nodes with community_id IS NOT NULL (limit 10k per run)
  • Builds GraphInferenceEnvelope with confidence=0.95 (Louvain is deterministic)
  • Submits to GraphToEnrichReturnChannel singleton
  • Returns {status, exported, packet_id}

Wire-up: attach to GDS scheduler job completion hook after Louvain runs.

Depends on: GAP-2 (GraphToEnrichReturnChannel)

@coderabbitai

coderabbitai Bot commented Mar 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 887c6ca4-5c7c-4dcc-9ff1-88a50e4255c3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/gap6-community-export

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown

PR size is within recommended limits

@sonarqubecloud

Copy link
Copy Markdown

@cryptoxdog

Copy link
Copy Markdown
Collaborator Author

PR #84 Review: fix(gap-6): Louvain community labels → ENRICH return channel after GDS job completion

Author: cryptoxdog
Branch: fix/gap6-community-export
HEAD: 71f1bbe8
Created: 2026-03-31T07:23:18Z
Changes: +99 / -0
Reviewed: 2026-04-21T18:09:31+00:00

Description

Gap 6

File: engine/graph/community_export.py

Exports Louvain community labels from Neo4j back to enrichment pipeline so community_id is available as known_field in Pass N+1.

  • Queries Neo4j for all nodes with community_id IS NOT NULL (limit 10k per run)
  • Builds GraphInferenceEnvelope with confidence=0.95 (Louvain is deterministic)
  • Submits to GraphToEnrichReturnChannel singleton
  • Returns {status, exported, packet_id}

Wire-up: attach to GDS scheduler job completion hook after Louvain runs.

Depends on: GAP-2 (GraphToEnrichReturnChannel)

Commits

71f1bbe8 fix(gap-6): Louvain community labels → ENRICH return channel after GD…

Changed Files

🐍 Python (1 files)

  • engine/graph/community_export.py

Automated Analysis

Diff Findings

✅ No issues found in diff analysis

Test Coverage

Files without corresponding test changes:

  • engine/graph/community_export.py

Local Lint

Skipped (repo not checked out locally or linters not found).

Summary

LOOKS GOOD — No automated issues found. Ready for human review.


Automated PR review • 2026-04-21 18:09

@cryptoxdog

Copy link
Copy Markdown
Collaborator Author

Automated PR patrol review — 2026-04-22 UTC

Patrol note only; not a human approval. This PR has been open for 538.6h with no review.

  • CI status: FAILURE
  • Review decision: NONE
  • Draft: False
  • Files changed: 1 (python:1)
  • Heuristic scan: error_handling=1

Top findings:

  • engine/graph/community_export.py:61 — Broad except Exception

Suggested next action: fix failing CI, then request review .

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