Skip to content

fix(pd): raise the RLIMIT_MEMLOCK soft limit to the hard limit at server start #1619

fix(pd): raise the RLIMIT_MEMLOCK soft limit to the hard limit at server start

fix(pd): raise the RLIMIT_MEMLOCK soft limit to the hard limit at server start #1619

name: PR Welcome Comment

Check warning on line 1 in .github/workflows/pr-welcome-comment.yaml

View workflow run for this annotation

GitHub Actions / PR Welcome Comment

Workflow execution policy warning (evaluate mode)

On December 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request_target:
branches: [main]
types: [opened, reopened]
permissions:
issues: write
pull-requests: write
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
const body = [
"### 🏷️ CI Guide",
"",
"**Runs automatically on every eligible PR before approval:**",
"- ✅ Pre Checkin: Black, Ruff, catalog schema validation, non-GPU unit tests",
"",
"**Heavy model tests:**",
"- ✅ Gate checks are published on every PR so required checks do not stay missing",
"- ✅ Expensive jobs run only after the PR is approved, or when a matching `ci:*` label is present",
"- ✅ Pre Checkin must pass before approved heavy jobs continue",
"- ✅ Without a matching label, expensive jobs also require a relevant path",
"- ✅ A matching `ci:*` label is an explicit request and can open the gate even when paths would otherwise skip it",
"",
"**Path scope:**",
"- Native ATOM, vLLM, and SGLang use ignore lists: docs/markdown and unrelated plugin or Mesh paths are skipped",
"- ATOMesh uses an include list: Mesh code, ATOMesh scripts/workflows/catalogs, OpenAI entrypoints, and Slurm helpers",
"- Relevant path alone does not start expensive jobs; approval still opens the automatic path-scoped gate",
"",
"| Label | Tests |",
"|-------|-------|",
"| `ci:full` | Run all heavy PR model tests: native ATOM, vLLM, SGLang, and ATOMesh |",
"| `ci:atom` | Run native ATOM model accuracy tests |",
"| `ci:vllm` | Run ATOM vLLM OOT model accuracy tests |",
"| `ci:sglang` | Run ATOM SGLang model accuracy tests |",
"| `ci:mesh` | Run ATOMesh accuracy/benchmark gates for Mesh-related changes |",
"",
"> Without a matching `ci:*` label, heavy jobs are skipped when the path is not relevant or the PR is not approved.",
`> Add labels via the sidebar or \`gh pr edit ${context.issue.number} --add-label <label>\``,
].join("\n");
try {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body,
});
} catch (error) {
core.warning(`Failed to post CI Guide comment: ${error.message}`);
}