Skip to content

fix(graph): finalize empty community lifecycle and batch selection - #171

Merged
yuzushi-dev merged 2 commits into
mainfrom
fix/community-empty-lifecycle
Oct 2, 2026
Merged

yuzushi-dev merged 2 commits into
mainfrom
fix/community-empty-lifecycle

Conversation

@yuzushi-dev

Copy link
Copy Markdown
Owner

An empty community could stay stale after the summarizer returned without updating its lifecycle. Mark it empty only in an atomic write scoped to the same tenant and generation, after locking the node and rechecking entity memberships and child communities. Existing summaries and vectors are preserved.

A terminal empty community with a null summary is excluded from subsequent batches. Empty communities marked stale again remain eligible, as do legacy records without a status. The guarded write matches the already deployed fix; the batch-selection follow-up is new and is not deployed yet.

Validation: 32 focused community tests, regression red/green, full make lint, diff and secret checks passed. Eight synthetic selector cases executed on actual Neo4j via read-only UNWIND, without graph writes. Final independent GPT-5.5 review found no blocker, major or minor issue after resolving the initial null-summary finding.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T09:43:36.250833Z c9b1933 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@yuzushi-dev
yuzushi-dev merged commit 0b3ec38 into main Oct 2, 2026
5 checks passed
@yuzushi-dev
yuzushi-dev deleted the fix/community-empty-lifecycle branch October 2, 2026 09:49
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