feat!: rename run to function - #34
Conversation
BREAKING CHANGE: `microlink.run()` and `microlink run` are gone. Use `microlink.function()` / `microlink function`. Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (9)
💤 Files with no reviewable changes (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PR removes the ChangesRemove
Priority: ➖ Normal — Schedule the SDK and CLI rename because removing the public `run` API is a breaking change for consumers using `microlink.run()` or `microlink run`. Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The rename removes the run SDK and CLI interfaces while retaining function behavior and documenting the new name. No merge-blocking current-head risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Coverage Report for CI Build 34236854592Warning No base build found for commit Coverage: 77.928%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
Summary
runCLI command and SDK method;functionis the only name.Test plan
pnpm --filter microlink.io testmicrolink function https://example.com --file ./fn.jsworksmicrolink runreports an unknown commandMade with Cursor
Summary by CodeRabbit
function; therunclient method and alias are no longer supported.microlink.function(...).runCLI command no longer invokes the function product or supports function-specific file execution.