Record the inputs of a build's source fingerprint in its build record (issue 1215)

This commit is contained in:
2026-10-19 11:54:21 +02:00
parent 8da2619920
commit 68088ec782
13 changed files with 204 additions and 16 deletions
+9
View File
@@ -278,6 +278,15 @@ func (s *sourceInputs) inputs() delivery.SourceInputs {
}
}
// resultInputs are the inputs a build's result records; nil for a build with no inputs to speak of.
func resultInputs(s *sourceInputs) *delivery.SourceInputs {
if s == nil {
return nil
}
in := s.inputs()
return &in
}
// fingerprint is the build's source fingerprint, or empty when the source does not pin the build.
func (s *sourceInputs) fingerprint() string {
if s == nil {