Skip to content

Develop to main#52

Open
sujata-m wants to merge 2 commits into
mainfrom
develop
Open

Develop to main#52
sujata-m wants to merge 2 commits into
mainfrom
develop

Conversation

@sujata-m
Copy link
Copy Markdown
Contributor

@sujata-m sujata-m commented Jun 1, 2026

Summary

  • Adds parent-side proactive lock renewal for in-flight Azure topic messages while callback workers are still running.
  • Registers messages with AutoLockRenewer before starting callback execution.
  • Tracks in-flight callback tasks and releases tracking during settlement.
  • Cancels process workers only after the message lock has actually expired, preventing duplicate long-running processing after lock loss.
  • Adds configurable process fallback behavior with TOPIC_CALLBACK_PROCESS_FALLBACK_MODE.
  • Bumps package version to 0.0.26.
  • Adds unit coverage for proactive renewal, lock-loss handling, fallback behavior, and in-flight cleanup.

Testing

  • python -m pytest
  • 273 passed, 1 existing warning.

sujata-m and others added 2 commits June 1, 2026 19:14
**Summary**
- Adds parent-side proactive lock renewal for in-flight Azure topic messages while callback workers are still running.
- Registers messages with `AutoLockRenewer` before starting callback execution.
- Tracks in-flight callback tasks and releases tracking during settlement.
- Cancels process workers only after the message lock has actually expired, preventing duplicate long-running processing after lock loss.
- Adds configurable process fallback behavior with `TOPIC_CALLBACK_PROCESS_FALLBACK_MODE`.
- Bumps package version to `0.0.26`.
- Adds unit coverage for proactive renewal, lock-loss handling, fallback behavior, and in-flight cleanup.

**Testing**
- `python -m pytest`
- `273 passed`, `1` existing warning.
Fix Service Bus lock renewal for long-running topic callbacks
@sujata-m sujata-m deployed to Production June 1, 2026 13:50 — with GitHub Actions Active
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.

2 participants