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

Fix C code to satisfy sanitizers #10473

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

alexanderlaw
Copy link

@alexanderlaw alexanderlaw commented Jan 22, 2025

No description provided.

@alexanderlaw
Copy link
Author

alexanderlaw commented Jan 22, 2025

Before enabling sanitizers, fix existing C code to avoid runtime failures during testing.

The code in CopyXLogRecordToWAL is not neon-specific, but the usage is (see neondatabase/postgres#554 (comment)).

This pull request supersedes neondatabase/postgres#554, where a change in postgres code was discussed, and replaces a part of #10401 (as of 2025-01-22), where a change in walproposer, in particular, was approved.

Copy link

github-actions bot commented Jan 22, 2025

7403 tests run: 7015 passed, 1 failed, 387 skipped (full report)


Failures on Postgres 15

# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_metrics_normal_work[release-pg15]"
Flaky tests (4)

Postgres 17

Postgres 16

Postgres 15

Postgres 14

Test coverage report is not available

The comment gets automatically updated with the latest test results
e7cc860 at 2025-01-27T15:33:06.497Z :recycle:

@alexanderlaw alexanderlaw force-pushed the fix-C-code-to-satisfy-sanitizers branch 2 times, most recently from 8cc36e2 to cc18b86 Compare January 24, 2025 08:45
@alexanderlaw alexanderlaw force-pushed the fix-C-code-to-satisfy-sanitizers branch from cc18b86 to be6af82 Compare January 27, 2025 07:34
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.

2 participants