-
Notifications
You must be signed in to change notification settings - Fork 41
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
[update-engine] a few improvements to event buffers #4164
[update-engine] a few improvements to event buffers #4164
Conversation
Created using spr 1.3.4
Created using spr 1.3.4 [skip ci]
Created using spr 1.3.4 [skip ci]
e4b53b7
to
aaa8c55
Compare
@@ -744,47 +784,83 @@ impl<'buf, S: StepSpec> EventBufferSteps<'buf, S> { | |||
pub struct EventBufferStepData<S: StepSpec> { | |||
step_info: StepInfo<NestedSpec>, | |||
sort_key: StepSortKey, | |||
// XXX: nest_level and total_steps are common to each execution, but are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think ideally I would tie them together if they always exist together and get mutated together, but I wouldn't hold the PR for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They always exist together but are immutable properties.
Co-authored-by: Andrew J. Stone <[email protected]>
Created using spr 1.3.4 [skip ci]
d8312dd
to
9ce8012
Compare
updated -- we're going to use this in the line-based displayer.
Depends on #4163.