Currently we use execution-date when generating the command to send via executor in https://github.com/apache/airflow/blob/9c94b72d440b18a9e42123d20d48b951712038f9/airflow/models/taskinstance.py#L420-L436

We should replace the execution_date in their to run_id instead and handle the corresponding changes needs on the executor and worker.
tests/jobs/test_local_task_job.py
return None if not job1.terminating else -9
        
        mock_return_code.side_effect = dummy_return_code
        settings.engine.dispose()
        with timeout(30):
            job1.run()  
        ti.refresh_from_db()
        assert success_callback_called.value == 1
        assert "State of this instance has been externally set to success. "
        "Terminating instance." in caplog.text
    @patch('airflow.utils.process_utils.subprocess.check_call')
    def test_task_sigkill_calls_on_failure_callback(self, _check_call, caplog, dag_maker):
        """
        Test that ensures that when a task is killed with sigkill
        on_failure_callback gets executed
        """
        
        
        failure_callback_called = Value('i', 0)
        def failure_callback(context):
            with failure_callback_called.get_lock():
                failure_callback_called.value += 1
            assert context['dag_run'].dag_id == 'test_send_sigkill'
        def task_function(ti):