Skip to content

feat(stovepipe): Add project build identity - #747

Draft
prathshenoy wants to merge 2 commits into
prath.shenoy/stovepipe-project-result-buildfrom
prath.shenoy/stovepipe-project-result-input
Draft

prathshenoy wants to merge 2 commits into
prath.shenoy/stovepipe-project-result-buildfrom
prath.shenoy/stovepipe-project-result-input

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Pass the terminal build ID selected by buildsignal to project-result resolvers.
  • Load the terminal request-history entry before recording project facts.
  • Let repository-specific resolvers retrieve artifacts from the build that established the terminal outcome without a request-to-build reverse lookup.

Test Plan

./tool/bazel test //stovepipe/controller/record:go_default_test //stovepipe/core/requestlog:go_default_test //stovepipe/extension/projectresult/noop:go_default_test --test_output=errors

Revert Plan

Revert this commit if project-result resolution cannot load terminal build identity or causes record-stage failures. Reverting restores the prior resolver input and allows terminal requests to continue recording whole-repository facts.

Issues

Stack

  1. feat(stovepipe): Persist terminal build identity #746
  2. @ feat(stovepipe): Add project build identity #747

Summary:
Persist the winning terminal build identity in the terminal request-history entry, atomically with the request outcome, so record can later resolve final artifacts without a Build reverse index.

Test Plan:
./tool/bazel test //stovepipe/controller/buildsignal:go_default_test //stovepipe/core/messagequeue:go_default_test //stovepipe/extension/storage/mysql:go_default_test --test_output=errors

Revert Plan:
Revert this commit to stop persisting terminal build identity.

Jira Issues: None
@prathshenoy
prathshenoy changed the base branch from main to prath.shenoy/stovepipe-project-result-build September 28, 2026 16:24
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-project-result-input branch from 89db583 to 9cc7879 Compare September 28, 2026 16:26
@prathshenoy prathshenoy changed the title feat(stovepipe): Persist terminal build identity feat(stovepipe): Add project build identity Sep 28, 2026
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-project-result-input branch 3 times, most recently from 953ec5d to b4a83be Compare September 28, 2026 16:50
Summary:
- Pass the terminal build ID selected by buildsignal to project-result resolvers.
- Load the terminal request-history entry before recording project facts.
- Let repository-specific resolvers retrieve artifacts from the build that established the terminal outcome without a request-to-build reverse lookup.

Test Plan:
./tool/bazel test //stovepipe/controller/record:go_default_test //stovepipe/core/requestlog:go_default_test //stovepipe/extension/projectresult/noop:go_default_test --test_output=errors

Revert Plan:
Revert this commit if project-result resolution cannot load terminal build identity or causes record-stage failures. Reverting restores the prior resolver input and allows terminal requests to continue recording whole-repository facts.
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-project-result-input branch from b4a83be to 543d05e Compare September 28, 2026 17:51
@prathshenoy
prathshenoy force-pushed the prath.shenoy/stovepipe-project-result-build branch 12 times, most recently from 039cf79 to 55cc960 Compare September 29, 2026 00:58

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.

1 participant