Skip to content

feat: re-enable insert/delete event publishing - #54

Closed
Rezenders wants to merge 1 commit into
typedb2from
fix/u3-reenable-events
Closed

Rezenders wants to merge 1 commit into
typedb2from
fix/u3-reenable-events

Conversation

@Rezenders

Copy link
Copy Markdown
Member

Summary

  • Re-enables @insert_data_event_ decorator on insert_database
  • Re-enables @delete_data_event_ decorator on delete_from_database
  • Removes @pytest.mark.skip(reason='Events deactivated') from test_ros_typedb_insert_event and test_ros_typedb_delete_event

The event infrastructure (decorator functions, monkey-patches in init_typedb_interface, publisher creation, publish_data_event method) was never removed — only the two decorator applications were commented out in commit 3ea6012 ("🔥 not publishing events anymore", Nov 2023) with no explanation. All that was needed was to restore those two lines.

Test plan

  • test_ros_typedb_insert_event must pass (previously skipped)
  • test_ros_typedb_delete_event must pass (previously skipped)
  • All other existing tests continue to pass

🤖 Generated with Claude Code

The @insert_data_event_ and @delete_data_event_ decorators on
insert_database and delete_from_database were commented out in Nov 2023
with no documented reason. The full event infrastructure is wired:
decorator functions, monkey-patches in init_typedb_interface, and the
event publisher all remain in place. Re-enabling requires only these
two lines.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Rezenders
Rezenders force-pushed the fix/u3-reenable-events branch from 868014a to 6191947 Compare June 14, 2026 18:37
@Rezenders Rezenders closed this Jun 28, 2026
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