Preserve null package cleanup cron expression - #1408
Conversation
Preserve null package cleanup cron expression(#1408)
|
Hi @omribz156 , Thank you for your contribution. Our CI pipeline issues have been resolved, and we are now accepting contributions again. If you are still interested in submitting this change, please rebase your branch on master and update the CHANGELOG. We look forward to reviewing your pull request. |
8d611c0 to
a60c29c
Compare
|
Rebased on current master and retained the CHANGELOG entry. The source behavior is already present on master, so this PR now contains only that release note. Please let me know whether you prefer to merge the changelog-only follow-up or close it as already implemented. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe changelog adds a 12.11.5 entry for preserving omitted ChangesCron expression consistency
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The change preserves omitted package-cleanup cron expressions while retaining explicit values, with no actionable merge-blocking risk remaining after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
cron_expressionwhen Artifactory returns an empty string for package cleanup policies.Fixes #1406.
Verification
go test ./pkg/artifactory/resource/configuration -run 'TestPackageCleanupPolicyFromAPIModel' -count=1go test ./pkg/artifactory/resource/configuration -run '^$' -count=1go test ./pkg/artifactory/provider -run TestProviderSDKV2 -count=1git diff --checkImplemented with Codex assistance; I kept the patch focused and manually reviewed the final diff.
Summary by CodeRabbit
null.