Skip to content

feat(stovepipe): Store terminal build ID - #752

Merged
prathshenoy merged 1 commit into
mainfrom
prath.shenoy/stovepipe-terminal-build-marker
Sep 30, 2026
Merged

prathshenoy merged 1 commit into
mainfrom
prath.shenoy/stovepipe-terminal-build-marker

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

What:

  • Store the build ID that establishes a request's terminal state.

Why:

  • Make the terminal build direct request state for downstream resolution.

Test Plan

  • Add unit tests.

Revert Plan

  • Revert this PR. No downstream consumer needs the terminal build identity currently.

Issues

Stack

  1. @ feat(stovepipe): Store terminal build ID #752
  2. feat(stovepipe): Persist terminal build ID #754
  3. feat(stovepipe): Record terminal build history #756
  4. feat(stovepipe): Pass terminal build to resolver #757
  5. docs(stovepipe): Document terminal build IDs #758

@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch from e0577da to 3c70ced Compare September 29, 2026 00:58
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch from 3c70ced to 14250bc Compare September 29, 2026 01:18
prathshenoy added a commit that referenced this pull request Sep 29, 2026
Summary:
**What**:
- Add BuildStore.GetTerminalBuild to retrieve the build that established a request's terminal state.

**Why**:
- Let downstream consumers find the selected build without adding a reverse reference to Request.
- This PR builds on #752, which marks and uniquely selects the terminal build.

Test Plan:
- [x] Add unit tests.

Revert Plan:
- Revert this PR if the terminal-build marker model is not adopted, because this lookup depends on that marker to identify a build.

Jira Issues: None
@prathshenoy
prathshenoy added this pull request to stack #755 September 29, 2026 01:24
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch from 14250bc to 3c70ced Compare September 29, 2026 01:28
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch from 3c70ced to 8e5cd60 Compare September 29, 2026 01:30
@prathshenoy
prathshenoy marked this pull request as ready for review September 29, 2026 13:34
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch from 8e5cd60 to d358f0b Compare September 29, 2026 17:15
@prathshenoy prathshenoy changed the title feat(stovepipe): Mark the terminal outcome build feat(stovepipe): Mark request-terminating build Sep 29, 2026
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch 2 times, most recently from d7d54e4 to 4ab6eaf Compare September 29, 2026 17:27
Comment thread stovepipe/extension/storage/mysql/schema/build.sql Outdated
Comment thread stovepipe/extension/storage/mysql/schema/build.sql
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch from 4ab6eaf to 2ddf455 Compare September 29, 2026 22:22
@prathshenoy prathshenoy changed the title feat(stovepipe): Mark request-terminating build feat(stovepipe): Store terminal build ID Sep 29, 2026
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch from 2ddf455 to ab6f957 Compare September 29, 2026 22:28
**What**:
- Add the terminal build identity to each completed request.
- Persist the identity with the request lifecycle state.

**Why**:
- Make the selected build directly available to request consumers.
- Keep the schema change additive and migration-compatible.
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-terminal-build-marker branch from ab6f957 to e04151e Compare September 29, 2026 22:30
@prathshenoy
prathshenoy added this pull request to the merge queue Sep 30, 2026
Merged via the queue into main with commit df3bfea Sep 30, 2026
16 checks passed
@behinddwalls
behinddwalls deleted the prath.shenoy/stovepipe-terminal-build-marker branch September 30, 2026 00:10

This branch was successfully deployed

1 active deployment
stack-rebase — e04151e0 Deployed Sep 30, 2026 by prathshenoy via Rebase Stack #542
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