Skip to content

fix: skill reload poll loop delays first pull by full interval#46

Merged
StoneHanaMori merged 1 commit into
mainfrom
worktree-multi-user-nacos-fix
May 28, 2026
Merged

fix: skill reload poll loop delays first pull by full interval#46
StoneHanaMori merged 1 commit into
mainfrom
worktree-multi-user-nacos-fix

Conversation

@StoneHanaMori
Copy link
Copy Markdown
Collaborator

Summary

  • Fix _skill_reload_poll_loop to pull immediately on first iteration instead of waiting 30s
  • When skill_reload_mode=poll, a second team member's proxy would wait a full interval before pulling any shared skills from Nacos, causing the first request to run without skill injection
  • Add multi-user Nacos pull test suite (6 tests)

Test plan

  • pytest tests/test_multiuser_nacos_pull.py — 6 tests pass
  • pytest tests/test_session_upload_trigger.py — existing poll mode tests unchanged
  • pytest tests/test_nacos_skill_hub.py — existing Nacos tests unchanged

The skill reload poll loop waited for the full interval (30s default)
before making its first pull. A second user starting their proxy with
skill_reload_mode=poll would wait 30s before getting any shared skills.
Now the first iteration pulls immediately, then follows the normal
interval schedule.
@StoneHanaMori StoneHanaMori merged commit 1f96ec8 into main May 28, 2026
1 check passed
@StoneHanaMori StoneHanaMori deleted the worktree-multi-user-nacos-fix branch May 28, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant