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

Improve: add deployment timestamp in webhook #4591

Closed

Conversation

GotoRen
Copy link
Contributor

@GotoRen GotoRen commented Sep 4, 2023

What this PR does / why we need it:

Including in PipeCD webhook the timestamp when an existing resource was changed by piped.


PipeCD gets the deployment status by reportDeploymentCompleted. At this time, a timestamp (CompletedAt) of when the status was obtained is included in PipeCD webhook.

We can know precisely the timing of the deployment by obtaining the timestamp when receiving the apply result of the manifests.

Which issue(s) this PR fixes:

Fixes #4584

Does this PR introduce a user-facing change?:

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

@GotoRen GotoRen force-pushed the improve-deploy-timestamp-notification branch from b7463f7 to cf26856 Compare September 4, 2023 03:56
@kentakozuka
Copy link
Member

@GotoRen Sorry for being so late to review!
It is not clear to me why this change solves the issue. In order to know the exact time of deployment completion, should we change here instead?
When s.notifier.Notify is called, CompletedAt is not updated as this value.

Copy link
Contributor

github-actions bot commented Dec 2, 2023

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Dec 2, 2023
Copy link
Contributor

github-actions bot commented Dec 9, 2023

This PR was closed because it has been stalled for 7 days with no activity. Feel free to reopen if still applicable.

@github-actions github-actions bot closed this Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Including more precise deployment timestamps in webhook
2 participants