fix(feishu): tolerate missing webhook defaults in older plugin-sdk#31639
Merged
Takhoffman merged 1 commit intoopenclaw:mainfrom Mar 2, 2026
Merged
Conversation
Contributor
Greptile SummaryThis PR fixes a module-load crash in the Feishu plugin that occurs in mixed-version environments where older Key changes:
Impact:
Confidence Score: 5/5
Last reviewed commit: 985cb54 |
985cb54 to
5ba0224
Compare
Contributor
|
PR #31639 - fix(feishu): tolerate missing webhook defaults in older plugin-sdk (#31639) Merged via squash.
Thanks @liuxiaopai-ai! |
hanqizheng
pushed a commit
to hanqizheng/openclaw
that referenced
this pull request
Mar 2, 2026
…penclaw#31639) thanks @liuxiaopai-ai Verified: - pnpm test extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec vitest run extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec oxfmt --check extensions/feishu/src/monitor.state.ts extensions/feishu/src/monitor.state.defaults.test.ts CHANGELOG.md - CI note: non-required check "check" failed on unrelated TS errors outside this PR scope. Co-authored-by: liuxiaopai-ai <73659136+liuxiaopai-ai@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
obviyus
pushed a commit
that referenced
this pull request
Mar 2, 2026
…31639) thanks @liuxiaopai-ai Verified: - pnpm test extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec vitest run extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec oxfmt --check extensions/feishu/src/monitor.state.ts extensions/feishu/src/monitor.state.defaults.test.ts CHANGELOG.md - CI note: non-required check "check" failed on unrelated TS errors outside this PR scope. Co-authored-by: liuxiaopai-ai <73659136+liuxiaopai-ai@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
Linux2010
pushed a commit
to Linux2010/openclaw
that referenced
this pull request
Mar 2, 2026
…penclaw#31639) thanks @liuxiaopai-ai Verified: - pnpm test extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec vitest run extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec oxfmt --check extensions/feishu/src/monitor.state.ts extensions/feishu/src/monitor.state.defaults.test.ts CHANGELOG.md - CI note: non-required check "check" failed on unrelated TS errors outside this PR scope. Co-authored-by: liuxiaopai-ai <73659136+liuxiaopai-ai@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
4 tasks
execute008
pushed a commit
to execute008/openclaw
that referenced
this pull request
Mar 2, 2026
…penclaw#31639) thanks @liuxiaopai-ai Verified: - pnpm test extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec vitest run extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec oxfmt --check extensions/feishu/src/monitor.state.ts extensions/feishu/src/monitor.state.defaults.test.ts CHANGELOG.md - CI note: non-required check "check" failed on unrelated TS errors outside this PR scope. Co-authored-by: liuxiaopai-ai <73659136+liuxiaopai-ai@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
dawi369
pushed a commit
to dawi369/davis
that referenced
this pull request
Mar 3, 2026
…penclaw#31639) thanks @liuxiaopai-ai Verified: - pnpm test extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec vitest run extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec oxfmt --check extensions/feishu/src/monitor.state.ts extensions/feishu/src/monitor.state.defaults.test.ts CHANGELOG.md - CI note: non-required check "check" failed on unrelated TS errors outside this PR scope. Co-authored-by: liuxiaopai-ai <73659136+liuxiaopai-ai@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
OWALabuy
pushed a commit
to kcinzgg/openclaw
that referenced
this pull request
Mar 4, 2026
…penclaw#31639) thanks @liuxiaopai-ai Verified: - pnpm test extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec vitest run extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec oxfmt --check extensions/feishu/src/monitor.state.ts extensions/feishu/src/monitor.state.defaults.test.ts CHANGELOG.md - CI note: non-required check "check" failed on unrelated TS errors outside this PR scope. Co-authored-by: liuxiaopai-ai <73659136+liuxiaopai-ai@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…penclaw#31639) thanks @liuxiaopai-ai Verified: - pnpm test extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec vitest run extensions/feishu/src/monitor.state.defaults.test.ts - pnpm exec oxfmt --check extensions/feishu/src/monitor.state.ts extensions/feishu/src/monitor.state.defaults.test.ts CHANGELOG.md - CI note: non-required check "check" failed on unrelated TS errors outside this PR scope. Co-authored-by: liuxiaopai-ai <73659136+liuxiaopai-ai@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
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.
Summary
WEBHOOK_RATE_LIMIT_DEFAULTS.windowMsandWEBHOOK_ANOMALY_COUNTER_DEFAULTS.*at module load, which can beundefinedin mixed-version installs.TypeError: Cannot read properties of undefined (reading 'windowMs').Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
openclaw/plugin-sdkdoes not expose webhook default constants.Security Impact (required)
No)No)No)No)No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
Expected
Actual
Evidence
Human Verification (required)
pnpm test extensions/feishu/src/monitor.state.defaults.test.tspnpm exec oxfmt --check extensions/feishu/src/monitor.state.ts extensions/feishu/src/monitor.state.defaults.test.ts CHANGELOG.mdCompatibility / Migration
Yes)No)No)Failure Recovery (if this breaks)
985cb5446.extensions/feishu/src/monitor.state.tsextensions/feishu/src/monitor.state.defaults.test.tsRisks and Mitigations