Skip to content

fix(base): improve table shortcut behavior & guidance (pre-Jul 17 snapshot)#1940

Draft
huarenmin13 wants to merge 4 commits into
larksuite:mainfrom
huarenmin13:agent/pr1803-before-jul17-updates
Draft

fix(base): improve table shortcut behavior & guidance (pre-Jul 17 snapshot)#1940
huarenmin13 wants to merge 4 commits into
larksuite:mainfrom
huarenmin13:agent/pr1803-before-jul17-updates

Conversation

@huarenmin13

Copy link
Copy Markdown

Summary

Alternative snapshot of #1803 before the Jul 17 follow-up series. This branch points to 746299219e1716faa7e0ce24cb0a7ff06532eb6f, the first parent of ddd5e037c48cda94901f766125ce140ea745a8b1.

This PR was created from a new branch and does not modify #1803 or its table-review-fixes-pr branch.

Intentionally excluded commits

  • ddd5e03 fix(base): address review feedback and sync main
  • 340ca05 fix(base): preserve projection error parameters
  • 995a5e7 test(base): align projection error coverage
  • fe8c22b test(base): reduce review test duplication
  • b42b5e3 fix(base): report only supplied projection flags
  • 87252ce fix(base): enforce record projection contracts
  • 00bbfc0 test(base): drop live E2E follow-up
  • 0d80e70 fix(base): preserve projection error parameters for flag-like field names

Diff scope at creation

Compared with larksuite/cli@main (05285bb):

  • 4 PR commits
  • 14 changed files
  • 666 additions, 29 deletions

Validation

huarenmin13 and others added 4 commits July 9, 2026 22:57
1. assert typed validation and API metadata in error-path tests
2. share field readback result decoration while preserving returned-type precedence
3. cover the review fixes with package, race, E2E, vet, and lint gates

```ai-signature
改动范围: shortcuts/base/field_ops.go、base_execute_test.go、base_shortcuts_test.go,限定为评论指出的结果元数据去重和错误测试强化。
思考过程: CodeRabbit 的共享 helper 建议基于旧实现,当前 update 必须优先读取同次 PUT 返回 type,因此只抽取 metadata decorator;validation 与 API error 分别断言真实分类和参数边界。
改动原因: 闭环 PR1803 中两条 inline 评论及两组 nitpick,避免消息子串测试遗漏错误契约回归,同时不改变任何 CLI 请求或返回语义。
Break Change: 否
```

Co-authored-by: BASE Infra Harness <ai@base-infra-harness.noreply.local>
AI-SHA256: c642bc0139c334862c4e354bcc5ed4239c6484dd5d0dd95ffde54f29d0d66cf4
@coderabbitai

coderabbitai Bot commented Jul 17, 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

Run ID: 5ee2cb4a-37e1-45c7-b464-2eba872a6e1c

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

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 domain/base PR touches the base domain size/M Single-domain feat or fix with limited business impact labels Jul 17, 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 size/M Single-domain feat or fix with limited business impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant