Skip to content

Conversation

@joejstuart
Copy link
Contributor

  • Refactored ApplicationSnapshot VSA generation to use the per-image VSA generation logic
  • Simplified snapshot-level VSA flow by reusing component-level signing implementation
  • Added support for signing ApplicationSnapshot VSAs using the same key and process as per-image VSAs
  • Removed legacy snapshot-specific logic that is now redundant

https://issues.redhat.com/browse/EC-1359

Co-authored-by: OpenAI GPT-4.1 [email protected]

@joejstuart joejstuart force-pushed the appsnapshot-refactor branch from 08e99a5 to 390caf3 Compare July 7, 2025 23:50
@joejstuart joejstuart marked this pull request as draft July 14, 2025 13:20
@joejstuart joejstuart marked this pull request as ready for review July 14, 2025 14:34
Copy link
Contributor

@st3penta st3penta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as i understand it, the logic makes sense

Comment on lines 86 to 89
func (g *SnapshotVSAGenerator) GeneratePredicate(ctx context.Context) (Report, error) {
log.Infof("Generating application snapshot VSA predicate with %d components", len(g.Report.Components))

return g.Report, nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a mock?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's being used in the Report. I did rename the receiver variable though to s.

…n and enable signing

- Refactored ApplicationSnapshot VSA generation to use the per-image VSA generation logic
- Simplified snapshot-level VSA flow by reusing component-level signing implementation
- Added support for signing ApplicationSnapshot VSAs using the same key and process as per-image VSAs
- Removed legacy snapshot-specific logic that is now redundant

Co-authored-by: OpenAI GPT-4.1 <[email protected]>
@joejstuart joejstuart force-pushed the appsnapshot-refactor branch from 390caf3 to e3a15cd Compare July 22, 2025 18:34
@joejstuart joejstuart merged commit c4f5a2a into conforma:main Jul 22, 2025
11 checks passed
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