Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: mark the live_update_v2 flag as obsolete #5626

Merged
merged 1 commit into from
Mar 25, 2022
Merged

Conversation

nicks
Copy link
Member

@nicks nicks commented Mar 24, 2022

Hello @landism, @milas,

Please review the following commits I made in branch nicks/liveupdateflag:

6280325 (2022-03-24 15:28:47 -0400)
feature: mark the live_update_v2 flag as obsolete

Code review reminders, by giving a LGTM you attest that:

  • Commits are adequately tested
  • Code is easy to understand and conforms to style guides
  • Incomplete code is marked with TODOs
  • Code is suitably instrumented with logging and metrics

@nicks nicks requested review from landism and milas March 24, 2022 19:29
@nicks
Copy link
Member Author

nicks commented Mar 24, 2022

i'll wait to merge until after today's release

@nicks nicks force-pushed the nicks/liveupdateflag branch from 6280325 to 2651a5f Compare March 24, 2022 20:12
@nicks
Copy link
Member Author

nicks commented Mar 24, 2022

this actually revealed a real bug!

when the new live-updater is running, and the Dockerfile changes, we sometimes don't realize that we have to rebuild a new image. but this has been a bug for a while so will just file it separately.

@nicks
Copy link
Member Author

nicks commented Mar 24, 2022

oh wait, scratch that, i misunderstood what the test was telling me.

@nicks nicks force-pushed the nicks/liveupdateflag branch from 2651a5f to 0aeab5f Compare March 24, 2022 20:24
@@ -908,24 +907,6 @@ k8s_yaml('snack.yaml')
// (i.e. check that we called BuildAndDeploy with no pre-existing state)
assert.False(t, call.oneImageState().HasLastResult())

var manifest model.Manifest
Copy link
Member Author

Choose a reason for hiding this comment

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

this test had a weird dependency on BuildController handling the live-update, so i just removed the part of the test that required this.

@nicks nicks merged commit 6beda50 into master Mar 25, 2022
@nicks nicks deleted the nicks/liveupdateflag branch March 25, 2022 15:30
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