ci: remove EloqStore fd limit override and bump data_substrate - #483
Conversation
WalkthroughThe PR removes the EloqStore open-files limit from runtime configuration, adds GDB-based live and core backtrace collection to CI failure diagnostics, makes core-pattern setup tolerant of permission failures, and advances the ChangesCI diagnostics and runtime configuration
Substrate revision
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant CI as CI failure handler
participant GDB as gdb
participant Live as Eloq processes
participant Core as Core files
CI->>GDB: ensure availability
CI->>Live: discover running processes
GDB->>Live: collect thread backtraces
CI->>Core: locate newest core files
GDB->>Core: identify program and print backtraces
Possibly related PRs
Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
.github/scripts/common.sh (1)
629-648: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueConsider
pgrepoverps | grepper static analysis hint.Static analysis flags parsing
ps -efwithgrep(SC2009);pgrep -aavoids the extra process and self-match filtering. Purely cosmetic here since output is just printed for diagnostics.♻️ Proposed refactor
- ps -ef | grep -E 'eloqdoc|dss_server|launch_sv|host_manager|minio' | grep -v grep || true + pgrep -a -f 'eloqdoc|dss_server|launch_sv|host_manager|minio' || true🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.github/scripts/common.sh around lines 629 - 648, Update dump_ci_failure_logs to replace the ps -ef piped through grep process listing with pgrep -a using the existing eloqdoc, dss_server, launch_sv, host_manager, and minio patterns. Preserve the current diagnostic output and non-failing behavior when no matching processes are found.Source: Linters/SAST tools
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/scripts/common.sh:
- Around line 544-574: Update find_binary_for_core so fallback candidates are
considered only when the requested base name is not among the known candidate
names, and exclude any name already searched. Preserve exact-name lookup first,
and return the symbol-less path rather than associating a core with an unrelated
binary.
In `@src/mongo/db/modules/eloq/data_substrate`:
- Line 1: Update the data_substrate submodule gitlink to an existing, resolvable
commit SHA representing the intended dependency version, replacing the invalid
9125a4cc... revision. Keep the src/mongo/db/modules/eloq/SConscript dependency
path unchanged.
---
Nitpick comments:
In @.github/scripts/common.sh:
- Around line 629-648: Update dump_ci_failure_logs to replace the ps -ef piped
through grep process listing with pgrep -a using the existing eloqdoc,
dss_server, launch_sv, host_manager, and minio patterns. Preserve the current
diagnostic output and non-failing behavior when no matching processes are found.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: d62373a1-de30-470d-8bf3-b3077e237e15
📒 Files selected for processing (4)
.github/artifact/ELOQDSS_ELOQSTORE/data_substrate.cnf.github/scripts/common.sh.github/scripts/gh_ci_entry.shsrc/mongo/db/modules/eloq/data_substrate
💤 Files with no reviewable changes (1)
- .github/artifact/ELOQDSS_ELOQSTORE/data_substrate.cnf
What
eloq_store_open_files_limit=512.data_substrateto4ef1ca4f58.Why
Validation
bash -n .github/scripts/common.shgit diff --checkSummary by CodeRabbit
Bug Fixes
CI and Diagnostics
Maintenance