rfellows opened a new pull request, #10357:
URL: https://github.com/apache/nifi/pull/10357

   # Summary
   
   [NIFI-15028](https://issues.apache.org/jira/browse/NIFI-15028)
   
   **Fix parameter context update polling cancellation and improve test 
quality**
   
   ### 🎯 **Problem Solved:**
   Fixed critical issue where parameter context update polling would continue 
indefinitely when users cancelled the edit dialog, causing unnecessary backend 
requests and potential resource leaks.
   
   ### 🔧 **Key Changes:**
   
   #### **1. Parameter Context Edit Dialog Polling Fix**
   - **Added event-driven cancellation**: `cancelUpdateRequest` EventEmitter in 
edit component
   - **Enhanced effects**: Subscribe to cancellation events and dispatch stop 
polling action
   
   #### **2. Property-to-Parameter Conversion Fix**
   - **Fixed broken cancellation**: Corrected parameter helper service to 
properly dispatch stop polling action and subscribe to the observable
   
   #### **3. Test Quality Improvements**
   - **Added comprehensive tests**: Created SIFERS-pattern tests for new 
polling cancellation functionality
   - **Enhanced component tests**: Added validation for new 
`cancelUpdateRequest` EventEmitter
   
   ### 🎯 **What's Changed:**
   - ✅ **Polling cleanup**: Parameter context update polling now stops 
immediately when dialog is cancelled
   - ✅ **Backend optimization**: Prevents unnecessary continued polling and 
properly deletes update requests
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to