Skip to content

whiteboard +update as "write" risk#775

Merged
syh-cpdsss merged 1 commit into
mainfrom
feat/whiteboard_dev
May 7, 2026
Merged

whiteboard +update as "write" risk#775
syh-cpdsss merged 1 commit into
mainfrom
feat/whiteboard_dev

Conversation

@syh-cpdsss

@syh-cpdsss syh-cpdsss commented May 7, 2026

Copy link
Copy Markdown
Collaborator

change whiteboard +update shortcut to "write" risk, remove the --yes flag requirement.

Summary by CodeRabbit

  • Updates

    • Adjusted risk classification for whiteboard update commands from high-risk to standard write operations.
  • Documentation

    • Updated command-line examples with revised flag usage patterns for whiteboard update operations.

Change-Id: Iacc4d349b44337813392d75f4f0ec67718074efc
@coderabbitai

coderabbitai Bot commented May 7, 2026

Copy link
Copy Markdown

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4eb6cdda-4ef1-4c71-9d1a-98afa2c4aee9

📥 Commits

Reviewing files that changed from the base of the PR and between 88d4e3b and 1b5736a.

📒 Files selected for processing (4)
  • shortcuts/whiteboard/whiteboard_update.go
  • skills/lark-whiteboard/references/lark-whiteboard-update.md
  • skills/lark-whiteboard/routes/dsl.md
  • skills/lark-whiteboard/routes/mermaid.md

📝 Walkthrough

Walkthrough

This PR reduces the risk classification for whiteboard update shortcut commands from high-risk-write to write and updates documentation examples to reflect a revised CLI invocation pattern that removes the --yes confirmation flag while retaining --as user and stdin/raw input handling.

Changes

Whiteboard Update Risk and CLI Pattern Updates

Layer / File(s) Summary
Risk Level Definition
shortcuts/whiteboard/whiteboard_update.go
Risk field changed from "high-risk-write" to "write" for both WhiteboardUpdate and WhiteboardUpdateOld exported shortcut definitions.
CLI Usage Documentation
skills/lark-whiteboard/references/lark-whiteboard-update.md, skills/lark-whiteboard/routes/dsl.md, skills/lark-whiteboard/routes/mermaid.md
Four command-line examples in reference guide updated to remove --yes flag and retain --as user. DSL and Mermaid route documentation updated to show stdin/raw input handling with idempotent token and user options.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

size/M

Suggested reviewers

  • zhangzq0
  • zl-bytedance

Poem

A shortcut once feared now writes with grace,
Risk levels drop as documentation keeps pace,
The --yes flag fades, --as user remains,
Safe updates flow through stdin's lanes,
🐰 Confidence restored, the whiteboard's terrain!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description lacks required template sections including Summary, Changes, Test Plan, and Related Issues that are specified in the repository template. Fill out the complete PR description template with sections for Summary, Changes, Test Plan, and Related Issues to provide comprehensive context.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically summarizes the main change: updating whiteboard +update shortcut from high-risk-write to write risk.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/whiteboard_dev

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the size/M Single-domain feat or fix with limited business impact label May 7, 2026
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

🚀 PR Preview Install Guide

🧰 CLI update

npm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@1b5736a24f4d56a6c7aa382206ba45f3eb9ce02a

🧩 Skill update

npx skills add larksuite/cli#feat/whiteboard_dev -y -g

@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.40%. Comparing base (88d4e3b) to head (1b5736a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #775   +/-   ##
=======================================
  Coverage   65.40%   65.40%           
=======================================
  Files         508      508           
  Lines       46795    46795           
=======================================
  Hits        30605    30605           
  Misses      13548    13548           
  Partials     2642     2642           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zkh-bytedance
zkh-bytedance requested a review from ZKHelloworld May 7, 2026 14:53
@syh-cpdsss
syh-cpdsss merged commit 9075788 into main May 7, 2026
22 checks passed
@syh-cpdsss
syh-cpdsss deleted the feat/whiteboard_dev branch May 7, 2026 14:53
@liangshuo-1 liangshuo-1 mentioned this pull request May 8, 2026
2 tasks
tuxedomm pushed a commit to zhumiaoxin/cli that referenced this pull request Jun 6, 2026
Change-Id: Iacc4d349b44337813392d75f4f0ec67718074efc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Single-domain feat or fix with limited business impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants