Repository navigation
bundle: add deployment history buffer telemetry - #7232
Open
shreyas-goenka wants to merge 15 commits into
Open
shreyas-goenka wants to merge 15 commits into
shreyas-goenka wants to merge 15 commits into
Conversation
Contributor
|
Commit: Regression test reportSelected 2 changed tests (limit=20, 0 not selected) 2 tests: regression=2 unreleased=0 coverage=0 failing=0
TestAccept/bundle/dms/multiple-resources/DMS=true: branch ✅ | main (119ba53) ❌ | latest (v1.24.0) ❌main (119ba53): latest (v1.24.0): same output as main (119ba53) TestAccept/bundle/dms/operation-upload-fails-once/DMS=true: branch ✅ | main (119ba53) ❌ | latest (v1.24.0) ❌main (119ba53): latest (v1.24.0): |
Collaborator
✅ Integration test reportCommit: 406655c
Top 4 slowest tests (at least 2 minutes):
|
shreyas-goenka
force-pushed
the
shreyas-goenka_data/shreyas-goenka/deployment-history-buffer-telemetry
branch
from
November 6, 2026 09:54
7af90d6 to
136fefb
Compare
pietern
approved these changes
Nov 6, 2026
| RecordingAttemptSuccessCount int | ||
| OperationRecordingSuccessCount int | ||
| OperationRecordingFailureCount int | ||
| OperationRecordingPendingCount int |
Contributor
There was a problem hiding this comment.
Please include a brief comment about each of these.
| bestEffort: options.BestEffort, | ||
| drainTimeout: time.Duration(options.OperationCount) * historyDrainTimeoutPerOperation, | ||
| pending: make(map[string]OperationUpdate), | ||
| drainTimeout: time.Duration(options.StagedOperationCount) * historyDrainTimeoutPerOperation, |
Contributor
There was a problem hiding this comment.
Unchanged in this PR. Question: how is this timeout used? It is dependent on the total number of operations, so do you assume sequential execution?
Contributor
Author
There was a problem hiding this comment.
Yes, and yes.
The operation upload is a single threaded worker. The plan is to add a batch operation API to make this much faster.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Adds telemetry to measure performance regression and failure rates for uploading operations.
Why
Helps us understand the perf impact of uploading operations and draining the buffer.