Skip to content

feat(stovepipe): implement List controller and pagination - #785

Merged
mnoah1 merged 1 commit into
mainfrom
mnoah1/stovepipe-list-query-readability
Oct 6, 2026
Merged

mnoah1 merged 1 commit into
mainfrom
mnoah1/stovepipe-list-query-readability

Conversation

@mnoah1

@mnoah1 mnoah1 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Implements the controller layer for Stovepipe’s List API:

  • Adds domain request/result types and a transport-independent List controller.
  • Validates queue, time bounds, and page size; continuation tokens preserve the window and ordering cursor.
  • Reads acceptance mappings, then loads current request summaries. Inconsistent records fail the page without partial results.

Test Plan

All 22 Stovepipe and service unit targets pass. make fmt gazelle lint check-tidy check-gazelle passes.

Revert Plan

Revert this commit; no schema changes or exposed RPC behavior are introduced here.

API Changes

Add the internal List request/result types and transport-independent controller.

@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-list-query-readability branch from d383c1f to 04b2167 Compare October 6, 2026 18:54
@mnoah1 mnoah1 changed the title refactor(stovepipe): clarify acceptance listing steps feat(stovepipe): implement List controller and pagination Oct 6, 2026
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-list-query-readability branch from 04b2167 to 9022492 Compare October 6, 2026 18:56
@mnoah1
mnoah1 added this pull request to stack #783 October 6, 2026 18:58
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-list-query-readability branch 4 times, most recently from fbffa7a to df0321c Compare October 6, 2026 20:50
Base automatically changed from mnoah1/stovepipe-list-acceptance-mapping to main October 6, 2026 20:51
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-list-query-readability branch from df0321c to 6975278 Compare October 6, 2026 20:51
Comment thread stovepipe/controller/list.go
@mnoah1
mnoah1 marked this pull request as ready for review October 6, 2026 21:01
@mnoah1
mnoah1 requested review from a team, behinddwalls and sbalabanov as code owners October 6, 2026 21:01
Summary:
Build on #782 with queue-scoped List behavior: half-open acceptance windows, default page size 50 (maximum 200), versioned continuation tokens, and point reads of current request summaries. Tokens preserve the resolved window and bytewise ordering cursor across pages. Inconsistent mappings fail the page without partial results. RPC/server wiring remains a follow-up.

## Issue Links
None — follow-up to the approved List API RFC (#775); no separate ticket.

Test Plan:
All 22 Stovepipe and service unit targets pass. make fmt gazelle lint check-tidy check-gazelle passes.

Revert Plan:
Revert this commit; no schema changes or exposed RPC behavior are introduced here.

API Changes:
Add the internal List request/result types and transport-independent controller.
mnoah1 added a commit that referenced this pull request Oct 6, 2026
Summary:
Wire the approved List RPC to the controller in #785. Preserve optional time-bound presence, map current request summaries to protobuf, and use the same configured queues as Ingest. Add mapper and handler coverage; end-to-end coverage remains a follow-up.

Test Plan:
All 22 Stovepipe and service unit targets pass. make fmt gazelle lint check-tidy check-gazelle passes.

Revert Plan:
Revert this commit to leave List unimplemented again; existing RPCs and storage are unchanged.

API Changes:
Expose the existing List RPC. No protobuf or schema changes.
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-list-query-readability branch from 6975278 to 7ec48a5 Compare October 6, 2026 21:59
@mnoah1
mnoah1 added this pull request to the merge queue Oct 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 6, 2026
@mnoah1
mnoah1 added this pull request to the merge queue Oct 6, 2026
Merged via the queue into main with commit 3b7b041 Oct 6, 2026
16 checks passed
@mnoah1
mnoah1 deployed to stack-rebase October 6, 2026 22:18 — with GitHub Actions Active
@behinddwalls
behinddwalls deleted the mnoah1/stovepipe-list-query-readability branch October 6, 2026 22:18

This branch was successfully deployed

1 active deployment
stack-rebase — 7ec48a52 Deployed Oct 6, 2026 by mnoah1 via Rebase Stack #568
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.

2 participants