Story: ListDataSource for Pre-fetched Content #11

Closed
opened 2026-03-18 06:26:03 +00:00 by david · 1 comment
Owner

As a user
I want pre-fetched content to render like live content
So that testing and caching work seamlessly

Acceptance Criteria:

  • ListDataSource wraps arbitrary items as a DataSource
  • Pipeline treats ListDataSource same as live sources
  • Enables testing pipeline without network calls

Technical Tasks (from commit 6fc3cbc):

  • Create ListDataSource class in engine/data_sources/sources.py
  • Update app.py to use ListDataSource for pre-fetched items
  • Remove deprecated ItemsStage (was bootstrap for pre-fetched items)
  • Add tests for ListDataSource
**As a** user **I want** pre-fetched content to render like live content **So that** testing and caching work seamlessly **Acceptance Criteria:** - [ ] ListDataSource wraps arbitrary items as a DataSource - [ ] Pipeline treats ListDataSource same as live sources - [ ] Enables testing pipeline without network calls --- **Technical Tasks (from commit 6fc3cbc):** - Create ListDataSource class in `engine/data_sources/sources.py` - Update app.py to use ListDataSource for pre-fetched items - Remove deprecated ItemsStage (was bootstrap for pre-fetched items) - Add tests for ListDataSource
Author
Owner
**ADR:** [ADR-003: DataSource Abstraction](https://git.notsosm.art/david/Mainline.wiki/ADR-003-DataSource-Abstraction)
david closed this issue 2026-03-18 06:53:29 +00:00
david reopened this issue 2026-03-18 06:54:07 +00:00
david added this to the Mainline project 2026-03-18 07:12:12 +00:00
david added the status:feature-complete label 2026-03-18 07:15:14 +00:00
david added the status:tested label 2026-03-18 07:48:53 +00:00
david moved this to Tested in Mainline on 2026-03-18 07:53:23 +00:00
david added the epic:#3 label 2026-03-18 07:55:35 +00:00
david added the epic:Data Source label 2026-03-18 07:59:09 +00:00
david closed this issue 2026-03-18 22:03:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: klubhaus/sideline#11