docs: clarify local trigger automation#1926
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe pull request adds gated automation-trigger and local-development guidance, including release polling, environment selection, trigger-guide boundaries, optional release outputs, and event-specific limitations. New Go contract tests enforce the documented command order, wording, and lifecycle boundaries. ChangesAutomation and local-development guidance
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Developer
participant AutomationSOP
participant ReleaseAPI
participant Trigger
Developer->>AutomationSOP: implement or update handler
AutomationSOP->>ReleaseAPI: +release-create
AutomationSOP->>ReleaseAPI: poll +release-get
ReleaseAPI-->>AutomationSOP: finished, failed, or timeout
AutomationSOP->>Trigger: enable only after completion and authorization
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 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 Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@0561d88bc489668f59f2e4e253be599f3520ce7d🧩 Skill updatenpx skills add zhmushan/cli#feat/trigger-guide-local-flow -y -g |
Summary
Clarify the safe local full-stack trigger workflow from configuration through verified runtime behavior. The guidance separates configuration, enable-only, test-only, publish-without-start, and changed-handler release paths, with explicit state restoration and operation-scoped authorization.
Changes
Test Plan
make buildmake unit-testgo vet ./...gofmt -l .go mod tidyleavesgo.modandgo.sumunchangedgolangci-lintchecke2e-liveis skipped by the repository workflow)phase=dispatch,status=succeed, the exact trigger name, and the unique test case payloadSkill quality waiver
skills/lark-apps/SKILL.mdremains above the 4000-token default body budget.The repository currently has no
quality-waiverlabel, so the waiver is recorded explicitly here for reviewer tracking.Related Issues
Summary by CodeRabbit