Uh oh!
There was an error while loading. Please reload this page.
docs: define common MLOps template contract - #164
Conversation
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR adds MLOps CI profile, environment, tracker, and extension composition requirements to ChangesMLOps contract
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Summary
Defines and documents the shared contract for MLOps templates and extensions so that new AI/ML capabilities follow consistent conventions across the catalog.
This extends the existing
docs/MLOPS_CONTRACT.mdwith explicit guidance for:It also links the MLOps contract directly from
docs/AUTHORING.mdso contributors can discover these requirements from the main template-authoring documentation.Changes
CI profile compatibility
Documented the expected behavior of MLOps templates and extensions across the layered CI model:
The contract also specifies that default CI must remain:
Shared environment variables
Added shared configuration conventions for common MLOps concerns, including:
MODEL_NAMEMLFLOW_TRACKING_URIThe contract requires stable naming for equivalent settings across templates, safe local defaults where possible, and explicit handling of secrets and extension-specific configuration.
MLFLOW_TRACKING_URIremains the canonical tracking URI for the shared MLflow integration rather than introducing a duplicate generic tracker variable.Extension composition
Added rules defining when MLOps extensions can safely compose and when
incompatibleWithshould be used.The contract now covers:
incompatibleWithdeclarationsConcrete AI/ML incompatibility pairs remain represented through the existing compatibility guidance and registry metadata rather than being duplicated in the MLOps contract.
Authoring documentation
Updated
docs/AUTHORING.mdto referencedocs/MLOPS_CONTRACT.mddirectly from the AI/ML authoring section.Validation
python scripts/ci/validate-registry.pyregistry ok (6 templates, 18 extensions)git diff --checkNo runtime or generated-template behavior is changed by this PR; the changes define and document the shared contract for future MLOps template and extension work.
Closes#151
Summary by CodeRabbit