Remove dead lib/aethyr/event_sourcing/ directory #37
Labels
No labels
Blocked
Duplicate
MoSCoW/Could Have
MoSCoW/Must Have
MoSCoW/Should Have
Points/1
Points/13
Points/2
Points/21
Points/3
Points/5
Points/8
Priority/Backlog
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
State/Completed
State/In progress
State/In review
State/Paused
State/Unverified
State/Verified
State/Wont Do
Type/Bug
Type/Epic
Type/Feature
Type/Legendary
Type/Task
Type/Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference: aethyr/Aethyr#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Metadata
refactor(event-sourcing): remove duplicate event sourcing directoryfeature/m1-v12-remove-duplicate-esBackground
lib/aethyr/event_sourcing/containsconfiguration.rbandimmudb_event_store.rbwhich are never required by any code. They are a duplicate implementation that was superseded by the consolidation work.Expected Behavior
The
lib/aethyr/event_sourcing/directory and its contents are removed. Onlylib/aethyr/core/event_sourcing/remains.Acceptance Criteria
lib/aethyr/event_sourcing/configuration.rbdeletedlib/aethyr/event_sourcing/immudb_event_store.rbdeletedlib/aethyr/event_sourcing/directory deletedlib/aethyr/event_store_stats.rbupdated if it references the removed filesAethyr::EventSourcing::ConfigurationorAethyr::EventSourcing::ImmudbEventStoreSubtasks
lib/aethyr/event_sourcing/directorybundle exec rake unit, fix any errorsDefinition of Done
This issue is complete when all subtasks are done, commit created on the specified branch, PR submitted and merged.
Implementation Notes
Changes Made
Deleted
lib/aethyr/event_sourcing/directory — removedconfiguration.rb(168 lines) andimmudb_event_store.rb(414 lines), the duplicate implementations superseded bylib/aethyr/core/event_sourcing/.Deleted
tests/unit/event_sourcing_configuration.feature(128 lines) — this feature file exclusively testedAethyr::EventSourcing::Configuration, the removed duplicate class.Deleted
tests/unit/step_definitions/event_sourcing_configuration_steps.rb(255 lines) — step definitions for the above feature.Updated
tests/unit/immudb_event_store.feature— removed the first 194 lines of scenarios that testedAethyr::EventSourcing::ImmudbEventStore(the duplicate). Retained all 52 core scenarios testingAethyr::Core::EventSourcing::ImmudbEventStore.Updated
tests/unit/step_definitions/immudb_event_store_steps.rb— removed ~736 lines of duplicate-class-specific code (Prometheus stubs, Sequent stubs, mock builders, and step definitions). Retained all core event store step definitions and infrastructure.Verification
lib/aethyr/event_store_stats.rbwas inspected and does not reference the removed files/classes (only referencesevent_sourcing_enabledconfig key).Aethyr::EventSourcing::Configuration,Aethyr::EventSourcing::ImmudbEventStore,aethyr/event_sourcing/configuration, andaethyr/event_sourcing/immudb_event_storereturns zero results.lib/aethyr/core/event_sourcing/is untouched.Test Results
Summary