Skip to content

Conversation

@sunshowers
Copy link
Contributor

We're going to do more things in this wrapper in #6399.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
"httpdate",
"itoa",
"pin-project-lite",
"socket2 0.4.10",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This has sadly been flapping between socket 0.4 and socket 0.5 for a long time :(

@sunshowers sunshowers changed the title [reconfigurator] add a test wrapper around realize_blueprint_with_overrides [1/n] [reconfigurator] add a test wrapper around realize_blueprint_with_overrides Aug 27, 2024
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@sunshowers sunshowers enabled auto-merge (squash) August 27, 2024 20:38
@sunshowers sunshowers merged commit c9b3f9e into main Aug 27, 2024
@sunshowers sunshowers deleted the sunshowers/spr/reconfigurator-add-a-test-wrapper-around-realize_blueprint_with_overrides branch August 27, 2024 22:04
sunshowers added a commit that referenced this pull request Aug 30, 2024
… line displayer (#6447)

This was reported by @wfchandler -- not sure why I missed these
originally.

Also move the step index display logic out into its own displayer -- I need
this (including the padded logic) in a couple of spots.

This can be landed separately from #6444.

Some example output from `cargo run --example update-engine-basic -- -s line`:

```
[00:00:00]   Running (1/7) Downloading component: https://www.example.org
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 12.50% ( 131072/1048576 bytes) after 101.22ms
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 25.00% ( 262144/1048576 bytes) after 201.49ms
[00:00:00]     Retry (1/7) Downloading component: https://www.example.org: after 302.77ms (at attempt 1) with message: Simulated failure at 25%
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org:  0.00% (      0/1048576 bytes) after 101.37ms
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 10.00% ( 104857/1048576 bytes) after 201.61ms
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 20.00% ( 209715/1048576 bytes) after 302.86ms
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 30.00% ( 314572/1048576 bytes) after 404.14ms
```
hawkw pushed a commit that referenced this pull request Aug 31, 2024
… line displayer (#6447)

This was reported by @wfchandler -- not sure why I missed these
originally.

Also move the step index display logic out into its own displayer -- I need
this (including the padded logic) in a couple of spots.

This can be landed separately from #6444.

Some example output from `cargo run --example update-engine-basic -- -s line`:

```
[00:00:00]   Running (1/7) Downloading component: https://www.example.org
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 12.50% ( 131072/1048576 bytes) after 101.22ms
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 25.00% ( 262144/1048576 bytes) after 201.49ms
[00:00:00]     Retry (1/7) Downloading component: https://www.example.org: after 302.77ms (at attempt 1) with message: Simulated failure at 25%
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org:  0.00% (      0/1048576 bytes) after 101.37ms
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 10.00% ( 104857/1048576 bytes) after 201.61ms
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 20.00% ( 209715/1048576 bytes) after 302.86ms
[00:00:00]  Progress (1/7) Downloading component: https://www.example.org: 30.00% ( 314572/1048576 bytes) after 404.14ms
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants