Skip to content

Conversation

@joelanford
Copy link
Collaborator

@joelanford joelanford commented Aug 5, 2025

Somewhat rough first iteration of status plumbing. Follow-ups will include:

  1. More thought on status condition types and reasons, and when to set them (also adding them as constants in the api package)
  2. Possibly more iteration on the setup code and the Applier API.

Signed-off-by: Joe Lanford [email protected]

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@joelanford joelanford force-pushed the poc-boxcutter-joe-pt2 branch from fdbc909 to 0f37aa8 Compare August 7, 2025 18:31
@joelanford joelanford force-pushed the poc-boxcutter-joe-pt2 branch 2 times, most recently from 37d9200 to b0b7f9e Compare August 8, 2025 16:49
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Comment on lines +165 to +168
// TODO: jlanford's IDE says that "StateNeedsUpgrade" condition is always true, but
// it isn't immediately obvious why that is. Perhaps len(existingRevisions) is
// always greater than 0 (seems unlikely), or shouldSkipPreflight always returns
// true (and we continue) when state == StateNeedsInstall?
Copy link

Choose a reason for hiding this comment

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

My recollection is that the preflight code does the exact same thing for both Install() and Upgrade(), so I wonder if that's it?

@tmshort
Copy link

tmshort commented Aug 12, 2025

I general, looks good. Have you tried running the CI tests on it?

@joelanford joelanford marked this pull request as ready for review August 19, 2025 14:29
This change accommodates the possibility of a revision that is currently
rolling out, which is possible for appliers that perform rollouts
asynchronously.

Signed-off-by: Joe Lanford <[email protected]>
Signed-off-by: Joe Lanford <[email protected]>
@joelanford joelanford force-pushed the poc-boxcutter-joe-pt2 branch 2 times, most recently from 407007d to ba4136f Compare August 20, 2025 03:12
@joelanford joelanford force-pushed the poc-boxcutter-joe-pt2 branch from ba4136f to 7090da9 Compare August 20, 2025 11:50
@thetechnick thetechnick merged commit ae9d77c into thetechnick:poc-boxcutter Aug 20, 2025
15 of 16 checks passed
@joelanford joelanford deleted the poc-boxcutter-joe-pt2 branch August 20, 2025 17:13
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.

4 participants