Skip to content

feat: add parent snapshot data to the snapshot status#108

Merged
MartinBasti merged 1 commit into
konflux-ci:mainfrom
14rcole:add-parent-snapshot-data
Jun 3, 2026
Merged

feat: add parent snapshot data to the snapshot status#108
MartinBasti merged 1 commit into
konflux-ci:mainfrom
14rcole:add-parent-snapshot-data

Conversation

@14rcole

@14rcole 14rcole commented May 29, 2026

Copy link
Copy Markdown
Contributor

Some ComponentGroups are composed of other ComponentGroups. When a child ComponentGroup has a snapshot created, the integration service's snapshot controller will create snapshots for all parents as well. The new status field tracks which parent ComponentGroups have had snapshots created and what those snaphots are called. This prevents the integration service's snapshot controller from creating duplicate parent snaphots.

@14rcole 14rcole force-pushed the add-parent-snapshot-data branch 2 times, most recently from 70ec0aa to 3bc1798 Compare May 29, 2026 17:37
@codecov-commenter

codecov-commenter commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 43 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (56f27e8) to head (6b09e1d).
⚠️ Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
api/v1alpha1/zz_generated.deepcopy.go 0.00% 43 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #108   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          6       6           
  Lines        470     505   +35     
=====================================
- Misses       470     505   +35     
Flag Coverage Δ
unit-tests 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kasemAlem

Copy link
Copy Markdown
Contributor

@14rcole according to OWNERS we are not part of reviewers or owners thus our approvals are not relevant
should we change this is we to maintain it ?

Some ComponentGroups are composed of other ComponentGroups. When a child
ComponentGroup has a snapshot created, the integration service's
snapshot controller will create snapshots for all parents as well. The
new status field tracks which parent ComponentGroups have had snapshots
created and what those snaphots are called. This prevents the
integration service's snapshot controller from creating duplicate parent
snaphots.

Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
@14rcole 14rcole force-pushed the add-parent-snapshot-data branch from 3bc1798 to 6b09e1d Compare June 2, 2026 14:18
@14rcole

14rcole commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

@kasemAlem Good point, I can open a PR for that. In the meantime, I'll just tag the build team

@14rcole

14rcole commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

@konflux-ci/build-maintainers can you approve this?

@MartinBasti MartinBasti merged commit dd8c9b1 into konflux-ci:main Jun 3, 2026
3 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.

5 participants