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

Makefile: Update Cockpit lib to e3eae5b36d5280c853b3b08e85c0e1ca #396

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 24, 2024

That version fixes format_bytes() to show a "B" unit for small numbers, so drop our hack.

@github-actions github-actions bot added the bot label Apr 24, 2024
@github-actions github-actions bot changed the title [no-test] Makefile: Update Cockpit lib to e3eae5b36d5280c853b3b08e85c0e1ca Makefile: Update Cockpit lib to e3eae5b36d5280c853b3b08e85c0e1ca Apr 24, 2024
@github-actions github-actions bot force-pushed the cockpit-lib-update-cockpit-lib-20240424-052709 branch from 1b7caf2 to 11a05c6 Compare April 24, 2024 05:27
@martinpitt
Copy link
Member

martinpitt commented Apr 24, 2024

I triggered this manually to pick up the format_bytes() fix -- I'll drop our manual "B" unit appending, but let's see if the tests even catch this. They should:

        b.wait_text("#description-list-size dd", "7 B")

I expect this to fail with "7 B B" now. It fails as expected in a local run (although in an earlier "0 B" check):

wait_js_cond(ph_text_is("#description-list-size dd","0 B")): Uncaught (in promise) Error: actual text: 0 B B

It fails the same wy in CI.

That version fixes `format_bytes()` to show a "B" unit for small
numbers, so drop our hack.

Closes #396
@martinpitt martinpitt force-pushed the cockpit-lib-update-cockpit-lib-20240424-052709 branch from 11a05c6 to 4634ec3 Compare April 24, 2024 05:44
@martinpitt martinpitt requested a review from jelly April 24, 2024 05:45
Copy link
Member

@jelly jelly left a comment

Choose a reason for hiding this comment

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

The Cockpit API cleanup was worth it!

@jelly jelly merged commit b7b263d into main Apr 24, 2024
13 checks passed
@jelly jelly deleted the cockpit-lib-update-cockpit-lib-20240424-052709 branch April 24, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants