Skip to content

feat(stovepipe): Add issue history API - #1108

Merged
prathshenoy merged 1 commit into
mainfrom
feat/stovepipe-issue-history-api
Nov 25, 2026
Merged

prathshenoy merged 1 commit into
mainfrom
feat/stovepipe-issue-history-api

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What:

  • Expose paginated retained issue events across a queue, optionally filtered to one task/unit, within a request-acceptance window.

Why:

  • Make the history already collected for an issue browsable across requests. Existing lookups show current open issues or the results of one request, leaving openings, repeat reports, closures, and reopenings inaccessible as a single history. Coverage depends on retained request projections; missing projections can omit events.
  • Provide the backend read path needed by the dependent history view without changing issue recording or requiring a database migration.

Test Plan

  • Add unit tests.

Revert Plan

  • Revert the dependent UI first, then revert this PR. Retained history is unchanged and no schema migration is required.

Issue Links

@mnoah1

mnoah1 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Could we list recent requests through RequestAcceptanceStore, get the selected issue’s build ID from RequestIssueSummary, then read the original log events using the (queue, task, unit, build) key prefix? That avoids sorting by a non-key timestamp or adding another projection. We’d need to make the request window and missing-projection coverage clear.

@prathshenoy
prathshenoy marked this pull request as draft November 19, 2026 23:04
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch 2 times, most recently from 488dfab to 3c5858d Compare November 24, 2026 23:27
@prathshenoy
prathshenoy removed this pull request from stack #1112 November 24, 2026 23:28
@prathshenoy
prathshenoy changed the base branch from main to feat/stovepipe-issue-history-storage November 24, 2026 23:28
@prathshenoy
prathshenoy added this pull request to stack #1135 November 24, 2026 23:28
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch from 3c5858d to 5f92822 Compare November 25, 2026 00:52
@prathshenoy
prathshenoy removed this pull request from stack #1135 November 25, 2026 00:52
@prathshenoy
prathshenoy changed the base branch from feat/stovepipe-issue-history-storage to refactor/stovepipe-issue-events November 25, 2026 00:52
@prathshenoy
prathshenoy added this pull request to stack #1137 November 25, 2026 00:52
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch from 5f92822 to ac5c01f Compare November 25, 2026 00:57
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch from ac5c01f to bcfcf1d Compare November 25, 2026 01:44
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch from bcfcf1d to 76b92a6 Compare November 25, 2026 01:51
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch 6 times, most recently from a98d8bf to 8d4b794 Compare November 25, 2026 03:56
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch from 8d4b794 to 3070854 Compare November 25, 2026 04:35
@prathshenoy
prathshenoy marked this pull request as ready for review November 25, 2026 04:40
Comment thread api/stovepipe/proto/stovepipe.proto Resolved
Base automatically changed from refactor/stovepipe-issue-events to main November 25, 2026 15:31
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch 4 times, most recently from 89e11cf to e052932 Compare November 25, 2026 16:56
@prathshenoy
prathshenoy force-pushed the feat/stovepipe-issue-history-api branch from e052932 to 23a753e Compare November 25, 2026 17:06
@prathshenoy
prathshenoy added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 4a125c1 Nov 25, 2026
23 checks passed
@prathshenoy
prathshenoy deleted the feat/stovepipe-issue-history-api branch November 25, 2026 18:09
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