sergehuber opened a new pull request, #779:
URL: https://github.com/apache/unomi/pull/779

   ## Summary
   
   Fixes a reliability gap where saving an import/export configuration could 
silently fail to create the corresponding Camel route, leaving the 
import/export permanently inactive with no error shown to the user.
   
   - Add `requeueForRefresh()` to `ImportExportConfigurationService` so the 
timer re-schedules a failed config for the next tick, capped at 5 attempts
   - `updateProfileImportReaderRoute()` now throws instead of silently 
returning when the config cannot be loaded, allowing the catch block to trigger 
the re-queue
   - Add `initialDelay=0` to the Camel file endpoint so the route polls 
immediately on start instead of waiting the default 1 second
   - Harden `ProfileImportActorsIT`: gate on route start via `keepTrying`, 
force `refreshIndex(Profile.class)` before each ES search attempt
   
   ## Test plan
   
   - [ ] Existing import/export integration tests pass 
(`ProfileImportActorsIT`, `ProfileImportSurfersIT`, `ProfileExportIT`)
   - [ ] Manually save an import configuration and verify the route starts 
within 2 seconds
   - [ ] Verify that a transient route creation failure is retried on the next 
timer tick (check logs for retry messages)
   - [ ] Verify that after 5 failed attempts the error is logged and no further 
retries occur
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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