Repository navigation
refactor(plugin-sdk): remove unused lazy fallback - #120974
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 9, 2026 07:15
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Author
|
Merged via squash.
|
steipete
added a commit
that referenced
this pull request
Aug 9, 2026
Propagates the canonical dispatcher step from openclaw/clawsweeper#1083 byte-identically: the acknowledgement step waits 15s after a clean marker check and rechecks immediately before posting, so near-simultaneous opened and ready_for_review runs (draft PR marked ready within seconds, as on #120974) post exactly one receipt ack.
steipete
added a commit
to openclaw/clawsweeper
that referenced
this pull request
Aug 9, 2026
* fix(dispatch): recheck pull request ack marker before posting A PR created as draft and marked ready within seconds fires opened and ready_for_review runs that can both list comments before either acknowledgement is visible, double-posting the receipt ack (observed on openclaw/openclaw#120974). The ack step now waits 15s after a clean first check and rechecks for any existing clawsweeper-pr-ack marker immediately before posting; a superseding ready_for_review event cancels a still-sleeping opened run through the existing concurrency group. * docs: reference dispatcher ack fix PR in changelog
steipete
added a commit
that referenced
this pull request
Aug 9, 2026
Propagates the canonical dispatcher step from openclaw/clawsweeper#1083 byte-identically: the acknowledgement step waits 15s after a clean marker check and rechecks immediately before posting, so near-simultaneous opened and ready_for_review runs (draft PR marked ready within seconds, as on #120974) post exactly one receipt ack.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 10, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 10, 2026
…20990) Propagates the canonical dispatcher step from openclaw/clawsweeper#1083 byte-identically: the acknowledgement step waits 15s after a clean marker check and rechecks immediately before posting, so near-simultaneous opened and ready_for_review runs (draft PR marked ready within seconds, as on openclaw#120974) post exactly one receipt ack.
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.
Related: #120938
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.
What Problem This Solves
The lazy-value primitive added for #120938 retained a two-argument nullish-fallback mode even though no production caller uses it. That left an unnecessary overload, implementation branch, and dedicated test in an internal helper whose callers already supply one non-nullish value or factory.
Why This Change Was Made
Remove the unused fallback overload and implementation so the helper has one memoization contract. Keep the plugin and channel entry constructors, their public types, and their boundary tests unchanged; also clarify the channel entry comment so it describes that constructor's responsibility directly.
User Impact
There is no user-visible behavior, configuration, or public SDK contract change. This is an AI-assisted maintainer simplification follow-up that removes an unused internal mode.
Evidence
node scripts/run-vitest.mjs src/plugin-sdk/lazy-value.test.ts src/plugin-sdk/core.test.ts src/plugin-sdk/channel-entry-contract.test.ts— 3 files, 22 tests passed.oxfmtandgit diff --checkpassed.pnpm buildpassed on Blacksmith Testbox leasetbx_01kzjnf1rhasn6zwdrg00ptj77: https://github.com/openclaw/openclaw/actions/runs/31300364065 (lease stopped successfully).autoreview --mode uncommittedcompleted clean with no accepted/actionable findings.