Code review fix for PR #27 #31

Closed
opened 2026-04-03 13:29:39 +02:00 by shoko · 0 comments
Owner

Review Feedback from han

PR #27: feat(adapter): implement JSON file storage adapter for issue #9

Requested Changes

1. Unit tests for adapter

Add unit tests to verify the JSON file storage adapter works correctly.

2. Duplicate tracking check

Investigate if the same bounty can be tracked multiple times. If yes, determine where the deduplication logic should be handled (in the adapter, service layer, or elsewhere).

3. Data directory reorganization

Store both rooms and tracking data under the data folder instead of separate directories:

  • Rooms: ~/.jigaido/data/room/<room_id>.json
  • Tracking: ~/.jigaido/data/tracking/<room_id>_<user_id>.json

This makes migration easier and keeps data organized together.

## Review Feedback from han **PR #27**: feat(adapter): implement JSON file storage adapter for issue #9 ### Requested Changes **1. Unit tests for adapter** Add unit tests to verify the JSON file storage adapter works correctly. **2. Duplicate tracking check** Investigate if the same bounty can be tracked multiple times. If yes, determine where the deduplication logic should be handled (in the adapter, service layer, or elsewhere). **3. Data directory reorganization** Store both rooms and tracking data under the `data` folder instead of separate directories: - Rooms: `~/.jigaido/data/room/<room_id>.json` - Tracking: `~/.jigaido/data/tracking/<room_id>_<user_id>.json` This makes migration easier and keeps data organized together.
shoko added the need-user-approval label 2026-04-03 13:29:39 +02:00
shoko closed this issue 2026-04-03 14:25:45 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/jigaido#31