Skip to content

docs: allow approved community-engine branch images / docs: 允许经批准的社区引擎分支镜像 - #5106

Merged
functionstackx merged 2 commits into
mainfrom
docs/community-engine-branch-images
Nov 17, 2026
Merged

functionstackx merged 2 commits into
mainfrom
docs/community-engine-branch-images

Conversation

@functionstackx

@functionstackx functionstackx commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Coding agents can produce engine optimizations faster than human CODEOWNERS can review and merge them. This change lets qualifying optimizations reach the AgentX dashboard before their upstream PRs merge.

MODELS.md permits official upstream images built from non-main branches when:

  • The engine is community-based, such as SGLang, vLLM, or TokenSpeed.
  • The respective upstream community maintainers explicitly approve the branch/image for the submission: Inferact for vLLM, RadixArk for SGLang, and LightSeek for TokenSpeed.
  • The upstream PRs merge in a timely manner after submission, followed by migration to a main-branch image.

Submissions must link the upstream PRs, maintainer approval, and image build/source provenance. Timeliness remains case-by-case rather than a new fixed deadline. The CODEOWNER checklist and verifier are updated together so they do not reject a qualifying image solely because its PRs have not merged.

Official upstream publication, run-as-shipped restrictions, engine-submission ordering, precision rules, and eval requirements remain unchanged. The existing temporary model-enablement exception is preserved. This PR changes policy documentation and review guidance only; it changes no benchmark recipes or results.

AI model disclosure
  • Model/version: GPT-6 Astra.
  • Role: Edited the policy and corresponding review guidance and prepared this PR. No delegated agents.
PR checklist and change type

Type of Change

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe)

Checklist

  • I have completed the AI model disclosure and kept it current
  • I have tested my changes locally
  • I have updated documentation if necessary
  • If python -m infx.matrix.changed --base origin/main lists affected config keys, I have appended one new entry covering them to the physical end of inferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entries
  • If this PR appends an inferencex-e2e/perf-changelog.yaml entry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs): full-sweep-fail-fast (recommended), full-sweep-enabled, or non-canary-full-sweep-enabled. Optional modifiers all-evals, evals-only, and agentx-fast require a primary label; the last two block reuse while applied.
  • Before merging via reuse, a maintainer with write access to the repository has commented /use <run_id> (or the legacy /reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.
中文

编码 agent 产出引擎优化的速度可能超过人工 CODEOWNER 审查和合并的速度。本次修改允许符合条件的优化在上游 PR 合并前进入 AgentX 仪表盘。

MODELS.md 允许使用基于非主分支构建的官方上游镜像,前提是:

  • 引擎由社区维护,例如 SGLang、vLLM 或 TokenSpeed。
  • 相应的上游社区维护者明确批准本次提交使用该分支及其官方镜像:vLLM 对应 Inferact,SGLang 对应 RadixArk,TokenSpeed 对应 LightSeek。
  • 相关上游 PR 必须在提交后及时合并到主分支,随后将提交迁移到主分支镜像。

提交必须提供上游 PR、维护者批准及镜像构建和源码溯源链接。是否及时合并由上游维护者结合具体情况判断,不新增固定期限。同步更新 CODEOWNER 检查清单和自动验证指引,避免仅因上游 PR 尚未合并而拒绝符合条件的镜像。

官方上游发布、按镜像原样运行、引擎提交顺序、精度和评测要求均保持不变。新模型临时使用模型支持分支的现有例外也予以保留。本 PR 仅修改政策文档和审查指引,不修改基准配置或结果。

AI 模型:GPT-6 Astra,负责修改政策及对应审查指引并准备本 PR,未委派其他 agent。改动类型:文档更新。

Created with Perplexity

@claude claude 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.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment on lines +388 to +395
- Allow official upstream non-default-branch images for community-based engines
such as SGLang, vLLM, and TokenSpeed when the respective upstream community
maintainers explicitly approve the branch/image for the submission and the
upstream PRs must merge in a timely manner after submission, followed by migration
to a main-branch image. Verify the linked upstream PRs, maintainer approval, and
image build/source provenance in the sign-off's additional detail section.
Pending upstream merges alone do not fail this exception; do not claim they have
already merged. Assess timeliness case by case with the upstream maintainers.

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.

🟡 (optional) Non-main branch images can pass sign-off verification forever, including after upstream rejects the PRs. The exception text says only that pending merges do not fail. It never says when the exception stops applying. Fix: state in MODELS.md, the checklist and (c) that the exception FAILs when the linked upstream PRs are closed without merging. It must also FAIL when a later submission keeps the branch image after those PRs merged. Add these as plain facts the verifier can check, with no fixed day count. A 'timely' check alone cannot be done by an automated verifier.

Why this was flagged

An established vLLM or SGLang entry ships on a non-default-branch image with a maintainer-approval link and upstream PR links. Later, the upstream PRs are closed without merging, or they merge but nobody migrates the image. Then another PR touches that config, or bumps the image to another build of the same branch. Lines 394-395 say "Pending upstream merges alone do not fail this exception" and "Assess timeliness case by case with the upstream maintainers". No line gives a FAIL condition for closed-unmerged PRs or for a missed migration. The automated verifier also cannot consult upstream maintainers. So Check 6 (c) passes, and a non-main image stays on the official dashboard indefinitely. MODELS.md:18 says the exception "is not permission to maintain a permanent out-of-tree fork". On the base branch, line 398 FAILed any non-default-branch image for an established model.

Verification: nit. The base file at .github/codeowner-signoff-verify-prompt.md (c) failed every non-default-branch image for an established model. The revised FAIL bullet (lines 398-401) fails only "without meeting this exception", and the timeliness wording covers merging, not migration. Compare Check 3(b) (lines 249-255).

@functionstackx
functionstackx merged commit 8daf7a2 into main Nov 17, 2026
10 checks passed
@functionstackx
functionstackx deleted the docs/community-engine-branch-images branch November 17, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant