Repository navigation
Ignore rate_limiter_test and socket_options_test binaries - #628
Merged
Merged
Conversation
rate_limiter_test (#519) and socket_options_test (#541) were added to check_PROGRAMS without matching .gitignore entries, so after `make check` both binaries show up as untracked files. List them next to the other three check programs; the five entries now match check_PROGRAMS in Makefile.am. Also ignore the genhtml report directory that `make code-coverage-capture` writes (memtier_benchmark-<version>-coverage/). The .info file and the gcov artifacts were already covered by *.info / *.gc*. Fixes #623 Co-Authored-By: Claude Opus 5.5 <[email protected]>
fcostaoliveira
force-pushed
the
fix/gitignore-test-binaries-623
branch
from
October 14, 2026 09:30
615372e to
acbe27c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
After
make check,git statusshows two untracked files on master (013cb85):Root cause
rate_limiter_test(9572e2e, #519) andsocket_options_test(76b2b8f, #541) were added tocheck_PROGRAMSinMakefile.amwithout matching.gitignoreentries. The other three check programs (prometheus_metrics_test,hdr_histogram_test,cluster_transaction_test) are already listed.Fix
/rate_limiter_testand/socket_options_testto the unit-test block. The block now lists all fivecheck_PROGRAMS.*.log,*.trs,test-suite.log,tests/unit/.dirstampand.depswere already ignored.*.gcno,*.gcdaand*.infowere already ignored.make code-coverage-capture(memtier_benchmark-<version>-coverage/, fromCODE_COVERAGE_OUTPUT_DIRECTORYinm4/ax_code_coverage.m4) was not ignored. This PR adds/memtier_benchmark-*-coverage/.Test evidence
Clean build with
autoreconf -ivf && ./configure && make -j8 && make check(5/5 pass):git status --shortlists?? rate_limiter_testand?? socket_options_test.git status --shortis empty.I could not run the coverage capture locally because
configure --enable-code-coveragerejects the local lcov 2.x, the same limitation noted in ci.yml. I checked the new pattern withgit check-ignore -v memtier_benchmark-2.5.2-coverage/index.html, which matches.gitignore:61.Fixes #623
Affected versions
master only (repository hygiene, no runtime impact).
rate_limiter_testcame with 9572e2e (#519) andsocket_options_testwith 76b2b8f (#541).git tag --containsreturns no tag for either commit, so no release, 2.5.2 included, is affected.🤖 Generated with Claude Code
Note
Low Risk
Repository hygiene only; no runtime or build logic changes.
Overview
Updates
.gitignoreso local build and coverage artifacts stop showing up as untracked aftermake checkand coverage runs.Adds root-level ignores for
rate_limiter_testandsocket_options_test, matching the other Automakecheck_PROGRAMSbinaries. Also ignoresmemtier_benchmark-*-coverage/, the genhtml output directory from code-coverage capture.Reviewed by Cursor Bugbot for commit acbe27c. Bugbot is set up for automated code reviews on this repo. Configure here.