Skip to content

feat: add whiteboard node shortcuts - #2065

Draft
zkh-bytedance wants to merge 8 commits into
mainfrom
feat/whiteboard-node-shortcuts
Draft

feat: add whiteboard node shortcuts#2065
zkh-bytedance wants to merge 8 commits into
mainfrom
feat/whiteboard-node-shortcuts

Conversation

@zkh-bytedance

Copy link
Copy Markdown
Collaborator

Summary

Changes

  • Change 1
  • Change 2

Test Plan

  • Unit tests pass
  • Manual local verification confirms the lark-cli <domain> <command> flow works as expected

Related Issues

  • None

@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8373a4db-e0f1-4270-aaaf-5bb7b0ae1ca2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/whiteboard-node-shortcuts

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.

@github-actions github-actions Bot added the size/L Large or sensitive change across domains or core paths label Jul 27, 2026
@zkh-bytedance
zkh-bytedance force-pushed the feat/whiteboard-node-shortcuts branch from 34d7949 to 3fa0ff3 Compare July 27, 2026 09:24
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.73222% with 58 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.72%. Comparing base (3b66d47) to head (818d794).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
shortcuts/whiteboard/whiteboard_node_create.go 71.42% 14 Missing and 6 partials ⚠️
shortcuts/whiteboard/whiteboard_node_update.go 72.22% 14 Missing and 6 partials ⚠️
shortcuts/whiteboard/whiteboard_node_delete.go 73.91% 7 Missing and 5 partials ⚠️
shortcuts/whiteboard/whiteboard_node_common.go 87.50% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2065      +/-   ##
==========================================
+ Coverage   75.70%   75.72%   +0.01%     
==========================================
  Files         944      948       +4     
  Lines      100288   100594     +306     
==========================================
+ Hits        75926    76175     +249     
- Misses      18565    18604      +39     
- Partials     5797     5815      +18     

☔ View full report in Codecov by Harness.
📢 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 force-pushed the feat/whiteboard-node-shortcuts branch 5 times, most recently from 899ebf6 to 94ab65a Compare August 3, 2026 03:32
@zkh-bytedance
zkh-bytedance force-pushed the feat/whiteboard-node-shortcuts branch 2 times, most recently from da26323 to bd9d05d Compare August 4, 2026 07:44
@github-actions github-actions Bot added size/XL Architecture-level or global-impact change and removed size/L Large or sensitive change across domains or core paths labels Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

PR Quality Summary

CI did not complete successfully. Use the failed check links below to decide whether this PR needs a code change or a rerun.

Failed checks

  • sidecar-integration — failure — details
  • coverage — failure — details
  • unit-test — failure — details
  • lint — failure — details
  • deterministic-gate — failure — details
  • results — failure — details

deterministic-gate

  • example_dry_runskills/lark-whiteboard/references/lark-whiteboard-export.md:32 — example dry-run exited with code 2: { "ok": false, "identity": "<identity>", "error": { "type": "validation", "subtype": "invalid_argument", "message": "--as <identity> is not supported, this command only supports: user, bot", "param": "--as" } } — Action: update the example so it can run locally with --dry-run, or mark placeholders explicitly
  • example_dry_runskills/lark-whiteboard/references/lark-whiteboard-export.md:42 — example dry-run exited with code 2: { "ok": false, "identity": "<identity>", "error": { "type": "validation", "subtype": "invalid_argument", "message": "--as <identity> is not supported, this command only supports: user, bot", "param": "--as" } } — Action: update the example so it can run locally with --dry-run, or mark placeholders explicitly
  • example_dry_runskills/lark-whiteboard/references/lark-whiteboard-export.md:51 — example dry-run exited with code 2: { "ok": false, "identity": "<identity>", "error": { "type": "validation", "subtype": "invalid_argument", "message": "--as <identity> is not supported, this command only supports: user, bot", "param": "--as" } } — Action: update the example so it can run locally with --dry-run, or mark placeholders explicitly
  • example_dry_runskills/lark-whiteboard/references/lark-whiteboard-export.md:61 — example dry-run exited with code 2: { "ok": false, "identity": "<identity>", "error": { "type": "validation", "subtype": "invalid_argument", "message": "--as <identity> is not supported, this command only supports: user, bot", "param": "--as" } } — Action: update the example so it can run locally with --dry-run, or mark placeholders explicitly

@zkh-bytedance
zkh-bytedance force-pushed the feat/whiteboard-node-shortcuts branch from 8e72e26 to ad2eb43 Compare August 6, 2026 11:22
zkh-bytedance and others added 6 commits August 6, 2026 21:49
Add whiteboard node create, update, and delete shortcuts with focused dry-run and unit coverage. Document the new node-level operations in the embedded lark-whiteboard skill and split node shortcut unit tests by command for maintainability.

Co-authored-by: TRAE CLI <noreply@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>
Co-authored-by: TRAE CLI <noreply@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>
Preserve arbitrary JSON number values and use the shared typed API path for every node write.

Reject malformed success responses and add dry-run plus live workflow coverage.

Co-authored-by: TRAE CLI <noreply@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>
Co-authored-by: TRAE CLI <noreply@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>
@zkh-bytedance
zkh-bytedance force-pushed the feat/whiteboard-node-shortcuts branch from 3cf7605 to 75860f0 Compare August 6, 2026 13:55
Co-authored-by: TRAE CLI <traecli@bytedance.com>
@zkh-bytedance
zkh-bytedance force-pushed the feat/whiteboard-node-shortcuts branch 5 times, most recently from 238d7cd to 1fa2ba2 Compare August 6, 2026 18:53
Co-authored-by: TRAE CLI <traecli@bytedance.com>
@zkh-bytedance
zkh-bytedance force-pushed the feat/whiteboard-node-shortcuts branch from 1fa2ba2 to 57c6ad6 Compare August 6, 2026 19:01
@github-actions github-actions Bot added domain/base PR touches the base domain domain/task PR touches the task domain labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain/base PR touches the base domain domain/task PR touches the task domain size/XL Architecture-level or global-impact change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant