Vamsi-klu opened a new pull request, #62655:
URL: https://github.com/apache/airflow/pull/62655

   ## Summary
   - Move `bundle_cleanup_main()` from a local function inside 
`_run_stale_bundle_cleanup()` to module-level 
`_bundle_cleanup_main(check_interval)`
   - On macOS, multiprocessing uses `spawn` instead of `fork`, and local 
functions cannot be pickled for spawning across processes
   - Follows the existing pattern of `serve_logs` (module-level function used 
with `Process(target=serve_logs)`)
   
   ## Test plan
   - [ ] Verify Celery worker starts without error on macOS
   - [ ] Verify stale bundle cleanup process spawns correctly
   - [ ] Run on both macOS (spawn) and Linux (fork) to confirm compatibility
   
   Closes: #62512
   
   🤖 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