Skip to content

[VideoGenX] name video owners in CODEOWNERS / [VideoGenX] 在 CODEOWNERS 中写明视频相关路径的负责人 - #5221

Closed
edwingao28 wants to merge 1 commit into
mainfrom
chore/vgx-codeowners
Closed

edwingao28 wants to merge 1 commit into
mainfrom
chore/vgx-codeowners

Conversation

@edwingao28

Copy link
Copy Markdown
Collaborator

Summary

video-generation/SUBMITTING.md step 7 says a video change gets one eligible CODEOWNER and then a core maintainer. .github/CODEOWNERS does not back that up for video paths, because the last matching pattern wins:

  • video-generation/ (39 tracked files) matches video-generation/ @functionstackx after * @SemiAnalysisAI/core, so it has 1 owner and the core team does not own it.
  • 8 video harness files match only *, so they have no video owner.
  • The 6 recipe files under a100-bf16/ match no recipe pattern. h100-*, h200-*, b200-* and b300-* all have one, so A100 is the only NVIDIA SKU in the recipe trees whose recipes skip the NVIDIA owner list.

Changes, all in .github/CODEOWNERS:

  • video-generation/: owners become @functionstackx @edwingao28 @SemiAnalysisAI/core.
  • inferencex-e2e/infx/srt_slurm/video.py, inferencex-e2e/infx/bench/video.py, inferencex-e2e/infx/results/video*.py, inferencex-e2e/configs/srt-recipes/video.yaml, .github/workflows/test-video-harness.yml, .github/workflows/video-quality.yml, inferencex-e2e/docs/video-generation.md: new entries owned by @edwingao28 @SemiAnalysisAI/core.
  • /inferencex-e2e/benchmarks/*_node/srt-slurm-recipes/**/a100-*/: new pattern with the same owners as the h100-* line.

Owners before and after, resolved with last-match-wins:

Path Before After
video-generation/README.md (any file in the directory) @functionstackx @functionstackx @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/infx/srt_slurm/video.py @SemiAnalysisAI/core @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/infx/bench/video.py @SemiAnalysisAI/core @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/infx/results/video.py @SemiAnalysisAI/core @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/infx/results/video_artifacts.py @SemiAnalysisAI/core @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/configs/srt-recipes/video.yaml @SemiAnalysisAI/core @edwingao28 @SemiAnalysisAI/core
.github/workflows/test-video-harness.yml @SemiAnalysisAI/core @edwingao28 @SemiAnalysisAI/core
.github/workflows/video-quality.yml @SemiAnalysisAI/core @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/docs/video-generation.md @SemiAnalysisAI/core @edwingao28 @SemiAnalysisAI/core
.../srt-slurm-recipes/h3/sglang/a100-bf16/video/agg-tp2.yaml @SemiAnalysisAI/core NVIDIA list + @SemiAnalysisAI/core
.../srt-slurm-recipes/dsv41flash/sglang/h100-fp4-mtp/agentic.yaml NVIDIA list + @SemiAnalysisAI/core unchanged
.../srt-slurm-recipes/dsr1/sglang/mi355x-fp4/8k1k/disagg-variants.yaml AMD list + @SemiAnalysisAI/core unchanged
inferencex-e2e/configs/nvidia-master.yaml NVIDIA list + @SemiAnalysisAI/core unchanged
inferencex-e2e/configs/amd-master.yaml AMD list unchanged
README.md @SemiAnalysisAI/core unchanged

NVIDIA list = @ankur-singh @kedarpotdar-nv @wzhao18 @nvpohanh @RohitNagraj. AMD list = @billishyahao @chunfangamd @seungrokj @1am9trash @zijiecode.

Across all 1258 tracked files, 53 gain owners (39 under video-generation/, the 8 harness files, the 6 A100 recipe files) and 0 lose one.

Testing

No test reads this file, and none was added. The table above comes from resolving every tracked path against the old and the new file with last-match-wins. python -m infx.matrix.changed --base 1f8cf90 reports 0 of 219 config keys changed, so there is no perf-changelog.yaml entry and no sweep label.

Limits

  • This PR names owners only. It does not make code-owner review required; that needs a ruleset change by a repository admin.
  • This changes who GitHub requests for review and who counts as a code owner. It blocks nothing until code-owner review is required in the branch ruleset. No repository setting is touched here.
  • Video recipes under h100-*, h200-*, b200-*, b300-* and mi355x-* keep their vendor list plus core and get no video owner. A later video pattern over those trees would replace the vendor lists, so it is left out.
  • Video test files under inferencex-e2e/infx/tests/ and the shared workflows (run-sweep.yml, benchmark-tmpl.yml, merge-ingest.yml) stay with core only.

Related PRs

None required. Independent of the other open VideoGenX branches.

PR checklist and change type

Type of Change

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe): review ownership in .github/CODEOWNERS

Checklist

  • 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 (not applicable: no entry)
  • Before merging via reuse, a maintainer with write access to the repository has commented /use <run_id> (not applicable: no entry, no sweep)

- video-generation/: add edwingao28 and the core team next to
  functionstackx. The last matching pattern wins, so this directory had
  one owner and core did not own it.
- Video harness paths that fell to core only (infx/srt_slurm/video.py,
  infx/bench/video.py, infx/results/video*.py,
  configs/srt-recipes/video.yaml, test-video-harness.yml,
  video-quality.yml, docs/video-generation.md): add edwingao28 next to
  core.
- a100-* recipe directories: add a pattern with the same owners as the
  h100-* line. No pattern matched them, so they fell to core only.

No path loses an owner.

中文:在 CODEOWNERS 中写明视频相关路径的负责人。video-generation/ 在
functionstackx 之外加入 edwingao28 和 core 团队(最后匹配的规则生效,
此前该目录只有一位负责人,core 并不负责);此前只归 core 的视频 harness
路径加入 edwingao28;a100-* recipe 目录新增规则,负责人与 h100-* 一行
相同。没有任何路径失去原有负责人。

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

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment thread .github/CODEOWNERS
Comment on lines +33 to +40
video-generation/ @functionstackx @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/infx/srt_slurm/video.py @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/infx/bench/video.py @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/infx/results/video*.py @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/configs/srt-recipes/video.yaml @edwingao28 @SemiAnalysisAI/core
.github/workflows/test-video-harness.yml @edwingao28 @SemiAnalysisAI/core
.github/workflows/video-quality.yml @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/docs/video-generation.md @edwingao28 @SemiAnalysisAI/core

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.

🔴 If @ edwingao28 lacks write access, the sign-off scope check will fail on every PR after merge, not only video ones. GitHub flags owners without write access as CODEOWNERS errors. signoff_scope.py:29-30 raises on any entry in /codeowners/errors. Fix: before merging, confirm @ edwingao28 has write access (or use a team that does), and check the /codeowners/errors API on the PR head returns none.

Why this was flagged

This only applies if @ edwingao28 is not a collaborator with write permission. That could not be checked from here: the account has many merged commits, but merged PRs can come from forks. The diff adds @ edwingao28 on .github/CODEOWNERS lines 33-40. GitHub's CODEOWNERS validation reports an owner without write access as an error ('Unknown owner ... make sure @ user exists and has write access'). .github/workflows/codeowner-signoff-verify.yml:69 runs infx.workflows.signoff_scope. Its required_owners() calls /codeowners/errors on the base branch tip and raises RuntimeError("The base CODEOWNERS file has errors; cannot determine sign-off scope") when any error exists (inferencex-e2e/infx/workflows/signoff_scope.py:28-30). After merge, the sign-off scope job would therefore fail for every PR in the repo, not just ones touching video paths. On the base branch every listed owner already validates, so the job does not fail there. Nothing in the diff or the repo checks owner permissions before merge.

Verification: This happens only if @ edwingao28 does not have write access to SemiAnalysisAI/InferenceX. inferencex-e2e/infx/workflows/signoff_scope.py:28-30 reads /codeowners/errors for the base branch tip and raises a RuntimeError on any error. Once this merges, the scope step in .github/workflows/codeowner-signoff-verify.yml fails, so every CODEOWNER sign-off check on any PR fails.

Comment thread .github/CODEOWNERS
inferencex-e2e/configs/srt-recipes/video.yaml @edwingao28 @SemiAnalysisAI/core
.github/workflows/test-video-harness.yml @edwingao28 @SemiAnalysisAI/core
.github/workflows/video-quality.yml @edwingao28 @SemiAnalysisAI/core
inferencex-e2e/docs/video-generation.md @edwingao28 @SemiAnalysisAI/core

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) Vendor owners who sign off a normal video SKU PR now get a Check 0 FAIL; an AMD video row becomes unpassable by anyone. Video SKU PRs edit this doc alongside vendor recipes, master configs and MODELS.md (#5114, #4971). The sign-off prompt requires the signer to own every specific changed path. No non-core person is in both the vendor list and @ edwingao28 @ SemiAnalysisAI/core. Fix: keep one sign-off reachable for these PRs. Either leave inferencex-e2e/docs/video-generation.md on the catch-all, or relax Check 0 in .github/codeowner-signoff-verify-prompt.md so a signer who owns any specific changed path passes.

Why this was flagged

The trigger is a video SKU PR shaped like df62322 (#5114). It changes h100-bf16 recipes, inferencex-e2e/configs/nvidia-master.yaml, inferencex-e2e/docs/MODELS.md and inferencex-e2e/docs/video-generation.md. The vendor owner posts the checklist, and codeowner-signoff-verify.yml runs Check 0 (.github/codeowner-signoff-verify-prompt.md:79-93). That check says a path with a specific owner line must have the signer among that line's owners. On the base branch, video-generation.md matched only * @ SemiAnalysisAI/core, so @ ankur-singh passed. After the new rule at .github/CODEOWNERS:40, the doc needs @ edwingao28 or core. That makes @ ankur-singh fail, and @ edwingao28 fails on the recipes and nvidia-master.yaml, so only a core member can pass. The MI355X form is worse. inferencex-e2e/configs/amd-master.yaml:4 lists no core team, so no single signer can own every path. Verification is advisory, but the verdict comment now posts FAIL on the vendor sign-off the process asks for.

Verification: The diff adds inferencex-e2e/docs/video-generation.md @ edwingao28 @ SemiAnalysisAI/core at CODEOWNERS:40. On the base this file matched only * @ SemiAnalysisAI/core. Check 0 in .github/codeowner-signoff-verify-prompt.md FAILs when "the signer is not a CODEOWNER for a SPECIFIC (non-catch-all) changed path".

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