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

Make git pushing more resilient #4199

Open
premun opened this issue Nov 29, 2024 · 0 comments
Open

Make git pushing more resilient #4199

premun opened this issue Nov 29, 2024 · 0 comments

Comments

@premun
Copy link
Member

premun commented Nov 29, 2024

Context

When pushing codeflow branches at the end of an update, the push might fail for whatever reason:

  • Transient problem
  • Auth?
  • Non-fast forward?

In those cases, the work item might fail and we never learn about it.
It would be nice if we started tracking the push event as a custom event / metric just like we do for git clone and other operations.
We could then alert when pushes fail and learn about those.

Goals

  • Make pushing more resilient (at least a basic retry?) or make the work item retry when push fails for retriable reasons.
  • Emit dedicated telemetry when pushing.
  • Make sure we learn about the failures through Grafana alerts (similar to Handle failed code flow updates #4198).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant