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/models/test_taskinstance.py
with dag_maker(
            'test_dag',
            end_date=DEFAULT_DATE + datetime.timedelta(days=10),
        ) as dag:
            op = DummyOperator(task_id='dummy_op', dag=dag)
        dag.fileloc = os.path.join(TEST_DAGS_FOLDER, 'x.py')
        ti = TI(task=op, execution_date=DEFAULT_DATE)
        assert ti.command_as_list() == [
            'airflow',
            'tasks',
            'run',
            dag.dag_id,
            op.task_id,
            DEFAULT_DATE.isoformat(),
            '--subdir',
            'DAGS_FOLDER/x.py',
        ]
    def test_generate_command_default_param(self):