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

pageserver: fix buffered-writer on macos build #10019

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

yliang412
Copy link
Contributor

@yliang412 yliang412 commented Dec 4, 2024

Problem

In #9693, we forgot to check macos build. The CI run on main showed that macos build failed with unused variables and dead code.

Summary of changes

  • add allow(dead_code) and allow(unused_variables) to the relevant code that is not used on macos.

pageserver: fix buffered-writer on macos build

Signed-off-by: Yuchen Liang <yuchen@neon.tech>
@yliang412 yliang412 marked this pull request as ready for review December 4, 2024 18:26
@yliang412 yliang412 requested a review from a team as a code owner December 4, 2024 18:26
@yliang412 yliang412 requested a review from jcsp December 4, 2024 18:26
@yliang412 yliang412 added the run-extra-build-macos When placed on a PR, tells the CI to run a build on macOS. No unit tests are run, though. label Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

7040 tests run: 6732 passed, 0 failed, 308 skipped (full report)


Flaky tests (5)

Postgres 17

Postgres 16

Postgres 14

Code coverage* (full report)

  • functions: 31.5% (8320 of 26413 functions)
  • lines: 47.9% (65388 of 136503 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
655d9b8 at 2024-12-04T21:04:40.853Z :recycle:

@yliang412 yliang412 added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit ed2d892 Dec 5, 2024
94 checks passed
@yliang412 yliang412 deleted the yuchen/fix-buffered-writer-macos-build branch December 5, 2024 02:17
awarus pushed a commit that referenced this pull request Dec 5, 2024
## Problem

In #9693, we forgot to check
macos build. The [CI
run](https://github.com/neondatabase/neon/actions/runs/12164541897/job/33926455468)
on main showed that macos build failed with unused variables and dead
code.

## Summary of changes

- add `allow(dead_code)` and `allow(unused_variables)` to the relevant
code that is not used on macos.

Signed-off-by: Yuchen Liang <yuchen@neon.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-extra-build-macos When placed on a PR, tells the CI to run a build on macOS. No unit tests are run, though.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants