Skip to content

fix issue #869 workflow enable --with-libnuma and --enable-injection-points - #892

Merged
gaoxueyu merged 1 commit into
IvorySQL:masterfrom
OreoYang:workflow_enable_numa_and_injection_points
Sep 22, 2025
Merged

gaoxueyu merged 1 commit into
IvorySQL:masterfrom
OreoYang:workflow_enable_numa_and_injection_points

Conversation

@OreoYang

@OreoYang OreoYang commented Sep 19, 2025 •

Copy link
Copy Markdown
Contributor

enable workflow with

  1. --with-libnuma
  2. --enable-injection-points

Summary by CodeRabbit

  • Chores
    • Continuous integration updated to install required system libraries and enable NUMA-aware builds with instrumentation across Linux pipelines, improving consistency and environment parity.
  • Tests
    • Regression workflows now execute against the enhanced build configuration, increasing coverage and helping surface NUMA-related issues earlier.

@coderabbitai

coderabbitai Bot commented Sep 19, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

CI workflows updated to install libnuma-dev and to pass --with-libnuma and --enable-injection-points to configure across multiple Linux GitHub Actions jobs. Existing --with-icu usage retained. No code or API changes.

Changes

Cohort / File(s) Summary of Changes
GitHub Actions workflows
.github/workflows/build.yml, .github/workflows/contrib_regression.yml, .github/workflows/oracle_pg_regression.yml, .github/workflows/oracle_regression.yml, .github/workflows/pg_regression.yml
Add system dependency libnuma-dev to apt-get install; extend Linux configure step to include --with-libnuma and --enable-injection-points alongside existing --with-icu.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I nibbled on configs in the CI glade,
Sprinkled libnuma like parsley shade.
Two flags hopped in: injection points, NUMA too—
Our builds now burrow cleanly through.
Thump-thump! The pipelines happily run,
A hare’s small tweak, and tests are done. 🥕✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title names the primary change—enabling --with-libnuma and --enable-injection-points—and references fixing issue #869, which directly matches the workflow edits (adding libnuma-dev and those configure flags across CI YAMLs), so it communicates the main intent to reviewers; it is slightly informal and could use clearer punctuation/capitalization but is not misleading.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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 and usage tips.

@OreoYang OreoYang changed the title fix issue #869 with-libnuma enable-injection-points fix issue #869 workflow enable --with-libnuma and --enable-injection-points Sep 19, 2025

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (4)
.github/workflows/pg_regression.yml (1)

31-33: Use HTTPS for cpanm download

The pipeline fetches cpanm over HTTP, which is a supply‑chain risk. Switch to HTTPS and fail fast on transport errors.

Apply:

-        curl -L -o cpanm http://cpanmin.us && chmod +x cpanm && \
+        curl -fsSL -o cpanm https://cpanmin.us && chmod +x cpanm && \
.github/workflows/contrib_regression.yml (1)

26-27: Secure cpanm retrieval

Fetch cpanm via HTTPS with strict curl flags.

-        curl -L -o cpanm http://cpanmin.us && chmod +x cpanm && \
+        curl -fsSL -o cpanm https://cpanmin.us && chmod +x cpanm && \
.github/workflows/oracle_regression.yml (1)

31-33: Harden cpanm download

Switch to HTTPS and strict curl flags.

-        curl -L -o cpanm http://cpanmin.us && chmod +x cpanm && \
+        curl -fsSL -o cpanm https://cpanmin.us && chmod +x cpanm && \
.github/workflows/oracle_pg_regression.yml (1)

31-33: Secure cpanm acquisition

Use HTTPS and fail‑fast flags.

-        curl -L -o cpanm http://cpanmin.us && chmod +x cpanm && \
+        curl -fsSL -o cpanm https://cpanmin.us && chmod +x cpanm && \
🧹 Nitpick comments (5)
.github/workflows/pg_regression.yml (1)

18-18: Nit: fix step name typo

Consider renaming “dependancy” → “dependency”.

-    - name: dependancy
+    - name: dependency
.github/workflows/contrib_regression.yml (1)

15-15: Nit: step name typo

“dependancy” → “dependency”.

-    - name: dependancy
+    - name: dependency
.github/workflows/oracle_regression.yml (1)

18-18: Nit: step name

Rename to “dependency”.

-    - name: dependancy
+    - name: dependency
.github/workflows/oracle_pg_regression.yml (1)

18-18: Nit: typo

“dependancy” → “dependency”.

-    - name: dependancy
+    - name: dependency
.github/workflows/build.yml (1)

17-17: Optional: bump checkout action

Consider upgrading actions/checkout from v3 to v4 for performance and security updates.

-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0ca347d and 359e212.

📒 Files selected for processing (5)
  • .github/workflows/build.yml (2 hunks)
  • .github/workflows/contrib_regression.yml (2 hunks)
  • .github/workflows/oracle_pg_regression.yml (2 hunks)
  • .github/workflows/oracle_regression.yml (2 hunks)
  • .github/workflows/pg_regression.yml (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: oracle_pg_regression (ubuntu-latest)
  • GitHub Check: meson_build (ubuntu-latest)
  • GitHub Check: build (ubuntu-latest)
  • GitHub Check: oracle_regression (ubuntu-latest)
  • GitHub Check: contrib_regression
  • GitHub Check: pg_regression (ubuntu-latest)
🔇 Additional comments (5)
.github/workflows/contrib_regression.yml (1)

23-23: NUMA + injection points — aligned with other jobs

Change aligns with the other workflows. Please verify these flags exist for all targeted branches to prevent configure breakage.

Use the same grep script shared in pg_regression to confirm availability.

Also applies to: 34-34

.github/workflows/oracle_regression.yml (1)

27-27: NUMA + injection points — OK

Looks good. As above, ensure both options are recognized on all targeted branches.

Run the repository grep to confirm presence of injection-points/libnuma knobs before merging.

Also applies to: 40-40

.github/workflows/oracle_pg_regression.yml (1)

27-27: NUMA + injection points — consistent change

Approved. Please verify configure supports both flags across all branches targeted by this workflow.

Use the same ripgrep check shared earlier.

Also applies to: 40-40

.github/workflows/build.yml (1)

27-27: Build job flags — LGTM

  • Adding libnuma-dev and enabling --with-libnuma/--enable-injection-points matches the PR objective.
  • Since this job targets ubuntu-latest, confirm the options exist for all branches this workflow runs on to avoid configure failures.

Reuse the earlier ripgrep snippet to verify option presence.

Also applies to: 36-36

.github/workflows/pg_regression.yml (1)

27-27: NUMA + injection points enabled — looks good

  • Adding libnuma-dev and passing --with-libnuma/--enable-injection-points is consistent with the PR goal. Please confirm these flags are supported on all targeted branches (master, IVORY_REL_4_STABLE, IVORYSQL_REL_1_STABLE) to avoid configure failures.

You can quickly verify presence of the flags in the tree:

Also applies to: 40-40

@bigplaice

Copy link
Copy Markdown
Collaborator

no comments.

@gaoxueyu
gaoxueyu merged commit c174b2b into IvorySQL:master Sep 22, 2025
@OreoYang
OreoYang deleted the workflow_enable_numa_and_injection_points branch October 9, 2025 06:30
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.

4 participants