suirindo commented on PR #77877: URL: https://github.com/apache/airflow/pull/77877#issuecomment-7334154542
Could we reset `_timed_out` on each `__enter__`, before arming the timer? I ran the current `TimeoutPosix` class with signal registration and `setitimer` mocked. After a timed-out block it logs once, but re-entering the same instance for a block that exits normally adds a second “Process timed out” record. A fresh instance in the same normal block logs nothing. A sequential reuse test would pin this without putting the logging back in the signal handler. _AI-assisted review; verification scope is described above._ -- 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]
