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
_, task = create_dummy_dag('test_localtaskjob_double_trigger')
        ti_run = TaskInstance(task=task, execution_date=DEFAULT_DATE)
        ti_run.refresh_from_db()
        job1 = LocalTaskJob(task_instance=ti_run, executor=SequentialExecutor())
        time_start = time.time()
        
        
        
        
        mock_return_code.side_effect = [None, 0, None]
        with timeout(10):
            job1.run()
        assert mock_return_code.call_count == 3
        time_end = time.time()
        assert self.mock_base_job_sleep.call_count == 1
        assert job1.state == State.SUCCESS
        
        
        #
        
        assert time_end - time_start < job1.heartrate
        assert "Task exited with return code 0" in caplog.text
    def test_mark_failure_on_failure_callback(self, caplog, dag_maker):