docs: document docs +fetch comment contract - #2382
Conversation
Add a Tips section to the docs +fetch affordance covering three implicit contracts implemented in #2341 but never surfaced outside shortcuts/doc and the skill reference: comments are always included in the response with no flag to disable it, XML marks commented content inline via a comment-refs attribute, and markdown/im-markdown surface comments only through reference_map.comments. Sync the golden affordance test that previously pinned +fetch to an empty Tips list.
|
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)
Included review availability: Your plan includes up to 10 reviews per rolling hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe change adds Changes+fetch comment references
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This change documents existing Suggested reviewers: 🚥 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 |
PR Quality SummaryCI did not complete successfully. Use the failed check links below to decide whether this PR needs a code change or a rerun. Failed checks
deterministic-gate
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@70ccaf4f853aa2ee52ab727eab62f176b4b96605🧩 Skill updatenpx skills add larksuite/cli#docs/fetch-comment-help-contract -y -g |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2382 +/- ##
=======================================
Coverage 76.42% 76.42%
=======================================
Files 1046 1046
Lines 115260 115260
=======================================
Hits 88082 88082
Misses 20401 20401
Partials 6777 6777 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Add a Tips section to the
docs +fetchaffordance covering three implicit contracts that were implemented in #2341 but never surfaced outsideshortcuts/docand the skill reference: comments are always included in the response with no flag to disable it, XML marks commented content inline via acomment-refsattribute, and markdown/im-markdown surface comments only throughreference_map.comments.Changes
### Tipsunder## +fetchinaffordance/docs.mdcontent_embed_affordance_test.gothat previously pinned+fetchto an empty Tips listTest Plan
make unit-testpassedgo test ./tests/cli_e2e/docs/... -run "TestDocsFetchCommentsFlagIsRemovedFromHelpAndRejected|TestDocsCommandsHideFormatHelpButKeepCompatibility|TestDocsFetchDryRun"passedmake build && ./lark-cli docs +fetch --help— confirms the two new Tips render correctlyRelated Issues
N/A
Summary by CodeRabbit
Documentation
+fetchresponses.Tests
+fetchdocumentation tips are present.