Skip to content

fix: make shared plugin runtime installs idempotent - #804

Open
linw1995 wants to merge 7 commits into
mainfrom
build/snp-645-runtime
Open

fix: make shared plugin runtime installs idempotent#804
linw1995 wants to merge 7 commits into
mainfrom
build/snp-645-runtime

Conversation

@linw1995

Copy link
Copy Markdown
Contributor

Description

Ensure tenant installation tasks are created independently from shared runtime state, and make local and serverless runtime installation converge safely under concurrent requests. Runtime locks now use owner-aware leases as an advisory optimization while idempotent runtime operations remain authoritative.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Performance improvement
  • Other

Essential Checklist

Testing

  • I have tested the changes locally and confirmed they work as expected
  • I have added unit tests where necessary and they pass successfully

Bug Fix (if applicable)

  • I have used GitHub syntax to close the related issue (e.g., Fixes #123 or Closes #123)

Additional Information

This change does not require a database migration.

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working go Pull requests that update go code labels Aug 13, 2026
@dosubot

dosubot Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

📄 Knowledge review

✏️ Suggested updates

2 page suggestions need review.

Page Library Status
cache /dify-plugin-daemon/blob/main/docs/claude/cache.md dify-plugin-daemon ⬆️ Pushed to this PR
cache /dify-plugin-daemon/blob/main/docs/claude/cache.md dify-plugin-sdks ⬆️ Pushed to this PR

Leave Feedback Ask Dosu about dify-plugin-daemon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working go Pull requests that update go code size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant