Skip to content

Fix ci: run ci port confict,pull network timeout - #16979

Merged
JinHai-CN merged 3 commits into
infiniflow:mainfrom
myf-bee:fix-ci-port-confict
Jul 16, 2026
Merged

JinHai-CN merged 3 commits into
infiniflow:mainfrom
myf-bee:fix-ci-port-confict

Conversation

@myf-bee

@myf-bee myf-bee commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  1. fix ci port confict
  2. fix pull image network timeout

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 16, 2026
@coderabbitai

coderabbitai Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f39296f8-5562-4670-93fc-972d5a0dbf5f

📥 Commits

Reviewing files that changed from the base of the PR and between 198815a and ad22111.

📒 Files selected for processing (1)
  • .github/workflows/sep-tests.yml

📝 Walkthrough

Walkthrough

The CI workflow updates Infinity and Elasticsearch test jobs to derive runner offsets and coordinate host-port reservations through Docker network mutexes. Cleanup now removes the Docker reservation network, and Ubuntu image pulls are disabled.

Changes

CI port coordination

Layer / File(s) Summary
Runner setup and Docker build preparation
.github/workflows/sep-tests.yml
Both jobs comment out the Ubuntu image pull and derive RUNNER_NUM from runner identity or workflow ID when needed.
Docker-backed port reservation lifecycle
.github/workflows/sep-tests.yml
Port availability is checked through Docker-published ports, reservations use Docker networks as mutexes, and cleanup removes the recorded reservation network.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant GitHubActionsJob
  participant DockerDaemon
  participant TestContainers
  GitHubActionsJob->>GitHubActionsJob: Derive RUNNER_NUM
  GitHubActionsJob->>DockerDaemon: Inspect published ports
  DockerDaemon-->>GitHubActionsJob: Return occupied ports
  GitHubActionsJob->>DockerDaemon: Create reservation network
  DockerDaemon-->>GitHubActionsJob: Confirm mutex
  GitHubActionsJob->>TestContainers: Start tests with reserved ports
  GitHubActionsJob->>DockerDaemon: Remove reservation network
Loading

Possibly related PRs

Suggested labels: ci

Suggested reviewers: chuenchen309

Poem

I’m a rabbit with ports in a row,
Docker networks lock them below.
Runners find their right place,
Tests hop through the race,
Then cleanup makes reservations go.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the main CI port conflict and image pull timeout fixes, even though it is wordy and misspelled.
Description check ✅ Passed The description includes the required Summary section and clearly states the two CI issues being fixed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN
JinHai-CN merged commit 92ae4f6 into infiniflow:main Jul 16, 2026
6 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Jul 20, 2026
@myf-bee
myf-bee deleted the fix-ci-port-confict branch August 5, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants