HTTP Forgejo client: paginated list-issues for production sweeps #6

Open
opened 2026-09-02 07:53:30 +00:00 by larandar · 1 comment
Owner

Proposal

ADR-0002 §6: the Slice 1 sweep uses the in-memory client; production sweeps need the HTTP list-issues endpoint.

Design

Extend currycomb-forgejo-client with authenticated, paginated issue listing over watched repositories. Effector remains the only credential holder — this client reads with its own read token and never writes (ADR-0002 §8 unchanged).

Tasks

  • list-issues with state filter and page pagination against a capture double
  • wire run_sweep to the HTTP client behind config (in-memory stays the test path)

Requirement scenario

GIVEN a capture of a 2-page Forgejo response set, WHEN the sweep lists issues, THEN every issue id appears exactly once and a mid-page failure retries without duplicating reconciliations.

## Proposal ADR-0002 §6: the Slice 1 sweep uses the in-memory client; production sweeps need the HTTP list-issues endpoint. ## Design Extend `currycomb-forgejo-client` with authenticated, paginated issue listing over watched repositories. Effector remains the only credential holder — this client reads with its own read token and never writes (ADR-0002 §8 unchanged). ## Tasks - [ ] list-issues with state filter and page pagination against a capture double - [ ] wire `run_sweep` to the HTTP client behind config (in-memory stays the test path) ## Requirement scenario GIVEN a capture of a 2-page Forgejo response set, WHEN the sweep lists issues, THEN every issue id appears exactly once and a mid-page failure retries without duplicating reconciliations.
Author
Owner

HTTP Forgejo client: paginated list-issues for production sweeps

State: open · Labels: Kind/Feature · Comments: 0

Rendered by CurryComb slice 1 projection v1. The body will be replaced by rule-derived content in Slice 3.

<!-- currycomb:refinement:v1 repo=Ting/CurryComb issue=6 --> # HTTP Forgejo client: paginated list-issues for production sweeps State: `open` · Labels: Kind/Feature · Comments: 0 _Rendered by CurryComb slice 1 projection v1. The body will be replaced by rule-derived content in Slice 3._
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Ting/CurryComb#6
No description provided.