Repository navigation
fix(schema): add oci copy entries - #11009
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughAdds ChangesOCI copy schema validation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
Greptile SummaryThis PR adds the previously missing
Confidence Score: 5/5Safe to merge — the change is purely additive (new schema properties, new test cases) with no modifications to runtime logic. The schema constraints faithfully replicate every check in No files require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "fix(schema): reject oci dot path compone..." | Re-trigger Greptile |
39fe399 to
e94819b
Compare
Summary
[[oci.copy]]entries to the published mise configuration schemahostandimageand reject unknown fields.or..componentsWhy
mise supports and documents OCI copy layers at runtime, but the published schema omitted
[oci].copy. Strict schema validators therefore rejected valid[[oci.copy]]configuration.Impact
Editors and strict TOML validators can now accept OCI copy entries and catch the same malformed values rejected by mise at runtime.
Validation
mise run render:schemamise run test:e2e config/test_schema_tombimise run lint-fixSummary by CodeRabbit
New Features
oci.copyconfiguration entries to enable independent OCI layer copy instructions, each requiringhostandimage.Bug Fixes
oci.copy, rejecting missing or extra fields.imagepath rules to require an absolute, non-root path and disallow./..path components.Tests
tombi lintfails for invalidoci.copyconfigurations.