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

Change LastFinished to LastUpdated, timestamp every plan status change #1365

Merged
merged 1 commit into from
Feb 28, 2020

Conversation

yankcrime
Copy link
Member

@yankcrime yankcrime commented Feb 26, 2020

What this PR does / why we need it:
Timestamp any changes to the status of a particular plan in order to help human operators with troubleshooting and debugging a KUDO Operator.

Update the CLI so that this is displayed for a given plan, if set.

This is a breaking change as it renames (and repurposes) LastFinished. For further context, see the discussion on Slack here.

It's an alternative take on #1360

Fixes #1323

@yankcrime yankcrime force-pushed the plan_status_last_updated branch 2 times, most recently from 9607bd6 to 9a81c1e Compare February 26, 2020 14:21
@yankcrime yankcrime marked this pull request as ready for review February 26, 2020 14:38
@ANeumann82 ANeumann82 added the release/breaking-change This PR contains breaking changes and is marked in the release notes label Feb 28, 2020
…tus change

Timestamp any changes to the status of a particular plan in order to
help human operators with troubleshooting and debugging a KUDO Operator.
This is a breaking change as it renames (repurposes) `LastFinished`.

Update the CLI so that this is displayed for a given plan, if set.

Signed-off-by: Nick Jones <nick@dischord.org>
Copy link
Member

@kensipe kensipe left a comment

Choose a reason for hiding this comment

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

/lgtm

this seems like a consumer breaking change... likely not an issue but worth noting!

@kensipe
Copy link
Member

kensipe commented Feb 28, 2020

breaking change already on the label! nice!

@ANeumann82
Copy link
Member

breaking change already on the label! nice!

And it even get's automatically added to the Release-Draft in the correct section when the PR lands :)

@kensipe kensipe merged commit f0eec84 into kudobuilder:master Feb 28, 2020
zen-dog added a commit that referenced this pull request Mar 2, 2020
Summary:
this is a minor followup to #1365, which keeps the `UpdateInstanceStatus` method deterministic, making it testable.

Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
@yankcrime yankcrime deleted the plan_status_last_updated branch March 10, 2020 10:08
runyontr pushed a commit that referenced this pull request Mar 11, 2020
…tus change (#1365)

Timestamp any changes to the status of a particular plan in order to
help human operators with troubleshooting and debugging a KUDO Operator.
This is a breaking change as it renames (repurposes) `LastFinished`.

Update the CLI so that this is displayed for a given plan, if set.

Signed-off-by: Nick Jones <nick@dischord.org>
Signed-off-by: Thomas Runyon <runyontr@gmail.com>
runyontr pushed a commit that referenced this pull request Mar 11, 2020
Summary:
this is a minor followup to #1365, which keeps the `UpdateInstanceStatus` method deterministic, making it testable.

Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
Signed-off-by: Thomas Runyon <runyontr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/breaking-change This PR contains breaking changes and is marked in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plan Status should include a timestamp
4 participants