Skip to content

feat(build): add required owner_team field to template entries#832

Open
Aydin-ab wants to merge 2 commits into
mainfrom
add-owner-team-field
Open

feat(build): add required owner_team field to template entries#832
Aydin-ab wants to merge 2 commits into
mainfrom
add-owner-team-field

Conversation

@Aydin-ab

@Aydin-ab Aydin-ab commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Adds an owner_team field to every BUILD.yaml template entry so each template records its owning team, deduced from content.

What changed

  • ci/validate_build_yaml.pyowner_team required + enum-validated (ray-serve | ray-data | llm | ray-train | general) on every entry; schema errors now name the entry (e.g. job-intro.owner_team: …) instead of a positional index.
  • BUILD.yaml — backfilled all 56 entries. Distribution: ray-train 17, ray-data/llm/general 10 each, ray-serve 9.
  • /template skill — field + deduction rule/tie-break in schemas/build-yaml-schema.yaml, with pointers from SKILL.md, workflows/create-template.md, references/conventions.md.

Why

No ownership metadata existed. general covers platform / Ray Core / onboarding templates (intros, multi-library surveys, pure Ray Core) that have no single-library owner.

Notes

  • Multi-library templates get a single opinionated call (center of gravity; LLM wins when fundamentally an LLM template). Coin-flips worth a second look: object-detection-video-processing → ray-train, audio-dataset-curation-llm-judge → llm.
  • rayapp build all (premerge build job) parses BUILD.yaml but couldn't run on macOS; Go YAML ignores unknown keys by default, so it should tolerate owner_team — CI is the definitive check.

Testing

  • pre-commit green (incl. check-build-yaml).
  • Verified the validator rejects missing and invalid owner_team values.

https://claude.ai/code/session_01EHmdjcZkcUaczQSFQD848V

Templates had no ownership metadata. Add owner_team (single enum value,
deduced from each template's content) to every BUILD.yaml entry so each
template records its owning team; `general` covers platform/Ray Core/
onboarding content with no single-library owner. Required + enum-validated
in check-build-yaml.

Claude-Session: https://claude.ai/code/session_01EHmdjcZkcUaczQSFQD848V
Signed-off-by: Aydin Abiar <aydin@anyscale.com>
@Aydin-ab Aydin-ab requested a review from a team as a code owner July 1, 2026 19:03
@Aydin-ab Aydin-ab requested a review from elliot-barn July 2, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant