Skip to content

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

Open
prathshenoy wants to merge 1 commit into
refactor/stovepipe-issue-eventsfrom
feat/stovepipe-issue-history-api
Open

prathshenoy wants to merge 1 commit into
refactor/stovepipe-issue-eventsfrom
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 selected by per-request results 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

This branch has not been deployed

No deployments
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