Skip to content

[BUG] [Feedgen] ServiceStream has no cursor and swallows enroll-handler errors #103

Description

@Ashex

What is the bug?

stratos-feedgen/src/subscription/service-stream.ts:227-256
The service-level stream connects with no cursor, so enrollments during any disconnect gap are never replayed. handleMessage also catches failures inside
onEnroll (the DB upsert + pool.addActor) and only logs them. seedFromStore runs once at startup, so there's no later reconciliation — an actor enrolling during
a reconnect window stays unindexed until a full restart.

Do you have any additional context?

Fix: thread a cursor and/or add periodic reseed; don't drop enroll events on error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions