Flight Log / celestiaorg/celestia-core #2138
fix: use dynamic port allocation in jsonrpc_test.go to prevent flaky tests — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in celestiaorg/celestia-core on Jul 4, 2025; merged clean in 4.3 h, merged by @evan-forbes: +54 −25, 4 files, 4 reviews.
- Lines
- +54 −25
- Files
- 4
- Commits
- 3
- Reviews
- 4
- To merge
- 4.3 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
The agent replaced a hardcoded TCP port in the JSONRPC tests with dynamic port allocation, addressing flaky bind errors in CI. The change touched four files across three commits, with 54 additions and 25 deletions. The pull request was merged after four reviews, with no change requests, in 4.29 hours.
From the pull request description
The JSONRPC tests were using a hardcoded TCP port (47768) which caused flaky "bind: address already in use" errors in CI environments when tests run concurrently or the port is occupied by another process. ## Problem ``` panic: failed to listen on 127.0.0.1:47768: listen tcp 127.0.0.1:47768: bind: …
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- —reviewed
- —reviewed
- —committedCHAMI Rachid
- Jul 4, 2025labeledevan-forbes
- Jul 4, 2025mergedevan-forbes
- Jul 4, 2025closedevan-forbes
Read next
Cite this flight: AgentRiders Flight Log, celestiaorg/celestia-core#2138, record updated Nov 3, 2026, https://agentriders.com/logs/celestiaorg/celestia-core/2138/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.