Repository navigation
refactor(line): reuse outbound send options - #131675
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 28, 2026 08:45
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Maintainer-requested cleanup of the LINE plugin's outbound delivery path. The same account/configuration options were repeated across text, batch, Flex, template, location, and quick-reply sends, making routine maintenance unnecessarily repetitive.
Why This Change Was Made
Keep one operation-local options object in the existing payload owner and reuse it for those sends. Media calls still construct their own objects by adding their existing media fields. The production callees only read these shared options; no new helper, public API, configuration, or fallback is introduced.
This is separate from the crash-reconciliation work in #124517, which overlaps these call sites and adds per-push state. Any such state must remain per-send when that work is reconciled; this cleanup only shares the options already invariant within the current payload operation.
User Impact
No user-visible behavior change. Recipient/account selection, native message shapes, delivery order, quick-reply placement, media safety, receipt collection, and partial-delivery behavior are unchanged.
Production LOC: +12/-69 (net -57). Tests: +0/-0.
Evidence
Validated commit
e52a134357e865e7edb5cc938fa1ef33435ba12aon parent871b18dff5039484e86c76d282699a8defcb1654:channel.sendPayload.test.ts,send.test.ts,row-overflow-delivery.loopback.test.ts, andchannel.rich-messages.test.tsunderextensions/line/src/, with one Vitest worker.@line/[email protected]contracts were inspected separately.node scripts/run-tsgo.mjs -p extensions/line/tsconfig.json.git diff --checkpass. The standard lint wrapper refreshed stale generated SDK declarations after the base update; no source or dependency workaround was needed.Focused test command:
Scoped checks: